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

Git pushed a commit to branch master
in repository ffmpeg.

commit ff2059afd90c46d7e1b0f92542b204accb408ffb
Author:     Kacper Michajłow <[email protected]>
AuthorDate: Tue Sep 29 23:00:58 2026 +0200
Commit:     Kacper Michajłow <[email protected]>
CommitDate: Wed Sep 30 02:08:40 2026 +0200

    tests/fate/dashenc: add a test for a large init segment
    
    The MPD points the DASH demuxer at an fMP4 init segment of about 50 KB
    with 100 audio tracks, which the HLS muxer writes.
    
    Signed-off-by: Kacper Michajłow <[email protected]>
---
 tests/fate/dashenc.mak                              | 19 +++++++++++++++++++
 tests/ref/fate/{hls-fmp4-big-init => dash-big-init} |  0
 2 files changed, 19 insertions(+)

diff --git a/tests/fate/dashenc.mak b/tests/fate/dashenc.mak
index df9571f0b4..a1c00e7402 100644
--- a/tests/fate/dashenc.mak
+++ b/tests/fate/dashenc.mak
@@ -24,5 +24,24 @@ fate-dash-mpd-timing: tests/data/dash_mpd_timing.mpd
 fate-dash-mpd-timing: CMD = sed -n -e /suggestedPresentationDelay=/p -e 
/availabilityStartTime=/p $(TARGET_PATH)/tests/data/dash_mpd_timing.mpd
 fate-dash-mpd-timing: CMP = diff
 
+tests/data/dash_big_init.mpd: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
+       $(M)$(TARGET_EXEC) $(TARGET_PATH)/$< -nostdin \
+       -filter_complex 
"aevalsrc=cos(2*PI*t)*sin(2*PI*(440+4*t)*t):d=2:s=16000,asplit=100" \
+       -codec:a mp2fixed -b:a 8k -bitexact -f hls -hls_time 1 -hls_list_size 0 
\
+       -hls_segment_type fmp4 -hls_fmp4_init_filename dash_big_init.mp4 \
+       -hls_segment_filename $(TARGET_PATH)/tests/data/dash_big_init_%d.m4s \
+       $(TARGET_PATH)/tests/data/dash_big_init.m3u8 2>/dev/null
+       $(Q)printf '%s\n' \
+       '<MPD xmlns="urn:mpeg:dash:schema:mpd:2011" 
profiles="urn:mpeg:dash:profile:full:2011" type="static" 
mediaPresentationDuration="PT2S" minBufferTime="PT1S">' \
+       '<Period><AdaptationSet mimeType="audio/mp4"><Representation id="0" 
bandwidth="1000000">' \
+       '<SegmentList timescale="16000" duration="16128"><Initialization 
sourceURL="dash_big_init.mp4"/>' \
+       '<SegmentURL media="dash_big_init_0.m4s"/><SegmentURL 
media="dash_big_init_1.m4s"/>' \
+       '</SegmentList></Representation></AdaptationSet></Period></MPD>' > $@
+
+FATE_DASHENC_LAVFI-$(call ALLYES, AEVALSRC_FILTER ASPLIT_FILTER 
ARESAMPLE_FILTER MP2FIXED_ENCODER HLS_MUXER MP4_MUXER DASH_DEMUXER MOV_DEMUXER 
MP3_DECODER FILE_PROTOCOL FRAMECRC_MUXER PIPE_PROTOCOL) += fate-dash-big-init
+fate-dash-big-init: tests/data/dash_big_init.mpd
+fate-dash-big-init: CLEANFILES = tests/data/dash_big_init.mpd 
tests/data/dash_big_init.m3u8 tests/data/dash_big_init.mp4 
tests/data/dash_big_init_*.m4s
+fate-dash-big-init: CMD = framecrc -i 
$(TARGET_PATH)/tests/data/dash_big_init.mpd -map 0:a:99 -c copy
+
 FATE_FFMPEG += $(FATE_DASHENC_LAVFI-yes)
 fate-dashenc: $(FATE_DASHENC_LAVFI-yes)
diff --git a/tests/ref/fate/hls-fmp4-big-init b/tests/ref/fate/dash-big-init
similarity index 100%
copy from tests/ref/fate/hls-fmp4-big-init
copy to tests/ref/fate/dash-big-init

-- 
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