diff options
author | Steven Liu <lq@chinaffmpeg.org> | 2019-07-30 17:05:36 +0800 |
---|---|---|
committer | Steven Liu <lq@chinaffmpeg.org> | 2019-08-01 19:25:29 +0800 |
commit | 46b97c0527ed31bd583ee9ab0453e49291f88180 (patch) | |
tree | 56320251836737d7fd77b94d1a756233bb4e8cdd /tests/fate | |
parent | 42a2edcc1d772d9785f58d49ad29dd0846f923cd (diff) | |
download | ffmpeg-streaming-46b97c0527ed31bd583ee9ab0453e49291f88180.zip ffmpeg-streaming-46b97c0527ed31bd583ee9ab0453e49291f88180.tar.gz |
FATE: add hls single file mode test case
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
Diffstat (limited to 'tests/fate')
-rw-r--r-- | tests/fate/hlsenc.mak | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/fate/hlsenc.mak b/tests/fate/hlsenc.mak index 98d67f9..ff58094 100644 --- a/tests/fate/hlsenc.mak +++ b/tests/fate/hlsenc.mak @@ -52,6 +52,17 @@ FATE_AFILTER-$(call ALLYES, HLS_DEMUXER MPEGTS_MUXER MPEGTS_DEMUXER AEVALSRC_FIL fate-hls-segment-size: tests/data/hls_segment_size.m3u8 fate-hls-segment-size: CMD = framecrc -flags +bitexact -i $(TARGET_PATH)/tests/data/hls_segment_size.m3u8 -vf setpts=N*23 +tests/data/hls_segment_single.m3u8: TAG = GEN +tests/data/hls_segment_single.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data + $(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \ + -f lavfi -i "aevalsrc=cos(2*PI*t)*sin(2*PI*(440+4*t)*t):d=20" -f hls -hls_flags single_file -map 0 \ + -hls_list_size 0 -codec:a mp2fixed -hls_segment_filename $(TARGET_PATH)/tests/data/hls_segment_single.ts \ + $(TARGET_PATH)/tests/data/hls_segment_single.m3u8 2>/dev/null + +FATE_AFILTER-$(call ALLYES, HLS_DEMUXER MPEGTS_MUXER MPEGTS_DEMUXER AEVALSRC_FILTER LAVFI_INDEV MP2FIXED_ENCODER) += fate-hls-segment-single +fate-hls-segment-single: tests/data/hls_segment_single.m3u8 +fate-hls-segment-single: CMD = framecrc -flags +bitexact -i $(TARGET_PATH)/tests/data/hls_segment_single.m3u8 -vf setpts=N*23 + tests/data/hls_init_time.m3u8: TAG = GEN tests/data/hls_init_time.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data $(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \ |