This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit dd9a7b946d0dc2d70116eb656d52f9ab5df90a9d
Author:     Romain Beauxis <[email protected]>
AuthorDate: Thu Nov 19 07:51:33 2026 -0600
Commit:     Romain Beauxis <[email protected]>
CommitDate: Mon Nov 23 13:19:43 2026 +0000

    tests/fate/mov: add tests for HE-AAC priming on a core-rate clock
    
    The track clock is the 22050 Hz core rate. In the first file the edit
    list skips 2048 ticks, 4096 output samples. In the second it starts 64
    core ticks into the third packet.
---
 tests/fate/mov.mak                             | 8 ++++++++
 tests/ref/fate/mov-aac-he-core-rate-mid-packet | 1 +
 tests/ref/fate/mov-aac-he-core-rate-priming    | 1 +
 3 files changed, 10 insertions(+)

diff --git a/tests/fate/mov.mak b/tests/fate/mov.mak
index 96ee5f9f14..81b315fdde 100644
--- a/tests/fate/mov.mak
+++ b/tests/fate/mov.mak
@@ -173,6 +173,14 @@ fate-mov-aac-2048-priming-preroll: CMD = run 
ffprobe$(PROGSSUF)$(EXESUF) -show_e
 FATE_MOV_FFPROBE-$(call DEMDEC, MOV, AAC) += 
fate-mov-aac-2048-priming-seek-landing
 fate-mov-aac-2048-priming-seek-landing: CMD = run ffprobe$(PROGSSUF)$(EXESUF) 
-seek_flags preroll -read_intervals 2.3%+\#3 -show_entries 
packet=pts,dts,duration -print_format compact 
$(TARGET_SAMPLES)/mov/aac-2048-priming.mov
 
+# HE-AAC whose track clock is the core rate, half the output rate.
+FATE_MOV_FFPROBE-$(call DEMDEC, MOV, AAC) += fate-mov-aac-he-core-rate-priming
+fate-mov-aac-he-core-rate-priming: CMD = run ffprobe$(PROGSSUF)$(EXESUF) 
-show_entries stream=sample_rate,time_base,initial_padding -print_format 
compact $(TARGET_SAMPLES)/audiomatch/tones_fdkaac_44100_stereo_aac_he.m4a
+
+# The edit starts 64 core ticks into the third packet.
+FATE_MOV_FFPROBE-$(call DEMDEC, MOV, AAC) += 
fate-mov-aac-he-core-rate-mid-packet
+fate-mov-aac-he-core-rate-mid-packet: CMD = run ffprobe$(PROGSSUF)$(EXESUF) 
-read_intervals %+\#3 -show_entries frame=pts,nb_samples -print_format compact 
$(TARGET_SAMPLES)/aac/sbr_edit_end.mp4
+
 # Seeking into the stream must not drop samples to the container's priming.
 FATE_MOV-$(call FRAMECRC, MOV, AAC, PCM_S16LE_ENCODER ARESAMPLE_FILTER 
VOLUME_FILTER) += fate-mov-aac-2048-priming-seek
 fate-mov-aac-2048-priming-seek: CMD = framecrc -ss 2.3 -t 0.15 -i 
$(TARGET_SAMPLES)/mov/aac-2048-priming.mov -af volume=0,aresample -c:a pcm_s16le
diff --git a/tests/ref/fate/mov-aac-he-core-rate-mid-packet 
b/tests/ref/fate/mov-aac-he-core-rate-mid-packet
new file mode 100644
index 0000000000..1728ce1d9a
--- /dev/null
+++ b/tests/ref/fate/mov-aac-he-core-rate-mid-packet
@@ -0,0 +1 @@
+frame|pts=-64|nb_samples=2048
diff --git a/tests/ref/fate/mov-aac-he-core-rate-priming 
b/tests/ref/fate/mov-aac-he-core-rate-priming
new file mode 100644
index 0000000000..8e1fceace2
--- /dev/null
+++ b/tests/ref/fate/mov-aac-he-core-rate-priming
@@ -0,0 +1 @@
+stream|sample_rate=44100|initial_padding=2048|time_base=1/22050

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to