This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 80a4f96c7d6bd08da08d2f32e7cbaf7763838b2a Author: Stefan Breunig <[email protected]> AuthorDate: Sat Apr 25 17:25:19 2026 +0200 Commit: stevenliu <[email protected]> CommitDate: Tue Jun 23 00:04:42 2026 +0000 fate/hls: add byterange tests for iframe_only+single_file playlists --- tests/fate/hlsenc.mak | 28 ++++++++++++++++++++++++++++ tests/ref/fate/hls-iframes-single-fmp4 | 4 ++++ tests/ref/fate/hls-iframes-single-mpegts | 3 +++ 3 files changed, 35 insertions(+) diff --git a/tests/fate/hlsenc.mak b/tests/fate/hlsenc.mak index b71fe219a6..0f9afb22e5 100644 --- a/tests/fate/hlsenc.mak +++ b/tests/fate/hlsenc.mak @@ -224,6 +224,34 @@ fate-hls-start-number: tests/data/hls_start_number.m3u8 fate-hls-start-number: CMD = sed -n -e /^\#EXT-X-MEDIA-SEQUENCE:/p -e /^[^\#]/p $(TARGET_PATH)/tests/data/hls_start_number.m3u8 fate-hls-start-number: CMP = diff +tests/data/hls_iframes_single_mpegts.m3u8: TAG = GEN +tests/data/hls_iframes_single_mpegts.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data + $(M)$(TARGET_EXEC) $(TARGET_PATH)/$< -nostdin \ + -f lavfi -i "testsrc2=size=128x72:rate=1:d=3" -f hls -hls_time 1 -map 0:v \ + -hls_list_size 0 -c:v mpeg2video -g 1 -flags +bitexact \ + -hls_segment_type mpegts -hls_flags iframes_only+single_file \ + -hls_segment_filename /dev/null \ + $(TARGET_PATH)/tests/data/hls_iframes_single_mpegts.m3u8 2>/dev/null + +FATE_HLSENC_LAVFI-$(call ALLYES, TESTSRC2_FILTER LAVFI_INDEV MPEG2VIDEO_ENCODER HLS_MUXER MPEGTS_MUXER FILE_PROTOCOL) += fate-hls-iframes-single-mpegts +fate-hls-iframes-single-mpegts: tests/data/hls_iframes_single_mpegts.m3u8 +fate-hls-iframes-single-mpegts: CMD = sed -n -e /^\#EXT-X-BYTERANGE:/p $(TARGET_PATH)/tests/data/hls_iframes_single_mpegts.m3u8 +fate-hls-iframes-single-mpegts: CMP = diff + +tests/data/hls_iframes_single_fmp4.m3u8: TAG = GEN +tests/data/hls_iframes_single_fmp4.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data + $(M)$(TARGET_EXEC) $(TARGET_PATH)/$< -nostdin \ + -f lavfi -i "testsrc2=size=128x72:rate=1:d=3" -f hls -hls_time 1 -map 0:v \ + -hls_list_size 0 -c:v mpeg2video -g 1 -flags +bitexact -dct int \ + -hls_segment_type fmp4 -hls_flags iframes_only+single_file \ + -hls_segment_filename /dev/null \ + $(TARGET_PATH)/tests/data/hls_iframes_single_fmp4.m3u8 2>/dev/null + +FATE_HLSENC_LAVFI-$(call ALLYES, TESTSRC2_FILTER LAVFI_INDEV MPEG2VIDEO_ENCODER HLS_MUXER MOV_MUXER FILE_PROTOCOL) += fate-hls-iframes-single-fmp4 +fate-hls-iframes-single-fmp4: tests/data/hls_iframes_single_fmp4.m3u8 +fate-hls-iframes-single-fmp4: CMD = sed -n -e /^\#EXT-X-MAP:/p -e /^\#EXT-X-BYTERANGE:/p $(TARGET_PATH)/tests/data/hls_iframes_single_fmp4.m3u8 +fate-hls-iframes-single-fmp4: CMP = diff + FATE_HLSENC_LAVFI-yes := $(if $(call FRAMECRC), $(FATE_HLSENC_LAVFI-yes)) FATE_FFMPEG += $(FATE_HLSENC_LAVFI-yes) diff --git a/tests/ref/fate/hls-iframes-single-fmp4 b/tests/ref/fate/hls-iframes-single-fmp4 new file mode 100644 index 0000000000..4272e91bcc --- /dev/null +++ b/tests/ref/fate/hls-iframes-single-fmp4 @@ -0,0 +1,4 @@ +#EXT-X-MAP:URI="null",BYTERANGE="847@0" +#EXT-X-BYTERANGE:4081@847 +#EXT-X-BYTERANGE:5583@4928 +#EXT-X-BYTERANGE:5729@10511 diff --git a/tests/ref/fate/hls-iframes-single-mpegts b/tests/ref/fate/hls-iframes-single-mpegts new file mode 100644 index 0000000000..61bd280941 --- /dev/null +++ b/tests/ref/fate/hls-iframes-single-mpegts @@ -0,0 +1,3 @@ +#EXT-X-BYTERANGE:4700@0 +#EXT-X-BYTERANGE:6204@4700 +#EXT-X-BYTERANGE:6392@10904 _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
