summaryrefslogtreecommitdiffstats
path: root/tests/fate
diff options
context:
space:
mode:
authorSteven Liu <lq@chinaffmpeg.org>2019-07-14 06:39:30 +0800
committerSteven Liu <lq@chinaffmpeg.org>2019-07-15 21:57:43 +0800
commitac22835db947ee1573651e31e66fd84f7ca23fd0 (patch)
tree473f9f38c1da3d74f4658a8aa4d9974075cc9a82 /tests/fate
parent234a5e058d7bc8ffd6ccde43a6aeaa55e87ae7a9 (diff)
downloadffmpeg-streaming-ac22835db947ee1573651e31e66fd84f7ca23fd0.zip
ffmpeg-streaming-ac22835db947ee1573651e31e66fd84f7ca23fd0.tar.gz
fate: add hls fmp4 segment type test case
Tested-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
Diffstat (limited to 'tests/fate')
-rw-r--r--tests/fate/hlsenc.mak12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/fate/hlsenc.mak b/tests/fate/hlsenc.mak
index 2a125cd..98d67f9 100644
--- a/tests/fate/hlsenc.mak
+++ b/tests/fate/hlsenc.mak
@@ -74,3 +74,15 @@ FATE_AFILTER-$(call ALLYES, HLS_DEMUXER MPEGTS_MUXER MPEGTS_DEMUXER AEVALSRC_FIL
fate-hls-list-size: tests/data/hls_list_size.m3u8
fate-hls-list-size: CMD = framecrc -flags +bitexact -i $(TARGET_PATH)/tests/data/hls_list_size.m3u8 -vf setpts=N*23
+tests/data/hls_segment_type_fmp4.m3u8: TAG = GEN
+tests/data/hls_segment_type_fmp4.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
+ $(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
+ -f lavfi -re -i "aevalsrc=cos(2*PI*t)*sin(2*PI*(440+4*t)*t):d=5" -map 0 -codec:a mp2fixed \
+ -hls_segment_type mpegts -hls_fmp4_init_filename now.mp4 -hls_list_size 0 \
+ -hls_time 1 -hls_segment_filename "$(TARGET_PATH)/tests/data/hls_fmp4_%d.m4s" \
+ $(TARGET_PATH)/tests/data/hls_fmp4.m3u8 2>/dev/null
+
+FATE_AFILTER-$(call ALLYES, HLS_DEMUXER MPEGTS_MUXER MPEGTS_DEMUXER AEVALSRC_FILTER LAVFI_INDEV MP2FIXED_ENCODER) += fate-hls-fmp4
+fate-hls-fmp4: tests/data/hls_segment_type_fmp4.m3u8
+fate-hls-fmp4: CMD = framecrc -flags +bitexact -i $(TARGET_PATH)/tests/data/hls_fmp4.m3u8 -vf setpts=N*23
+
OpenPOWER on IntegriCloud