diff options
author | Steven Liu <lq@chinaffmpeg.org> | 2019-07-11 09:37:29 +0800 |
---|---|---|
committer | Steven Liu <lq@chinaffmpeg.org> | 2019-07-11 09:37:29 +0800 |
commit | 89ea0c9bfdab744d91c5f43f4a432411d30fa985 (patch) | |
tree | 749c2a4de87017357714fe976c8b3a2ee1bbb00c /tests/fate | |
parent | 1b1b974aace71740fa21bcc0537b1f9d694df7b1 (diff) | |
download | ffmpeg-streaming-89ea0c9bfdab744d91c5f43f4a432411d30fa985.zip ffmpeg-streaming-89ea0c9bfdab744d91c5f43f4a432411d30fa985.tar.gz |
fate: add hls_init_time option fate
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 e81fb54..4d3a615 100644 --- a/tests/fate/hlsenc.mak +++ b/tests/fate/hlsenc.mak @@ -52,3 +52,14 @@ 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_init_time.m3u8: TAG = GEN +tests/data/hls_init_time.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=11" -f hls -hls_init_time 1 -hls_time 3 -map 0 \ + -hls_list_size 5 -codec:a mp2fixed -hls_segment_filename $(TARGET_PATH)/tests/data/hls_init_time_%d.ts \ + $(TARGET_PATH)/tests/data/hls_init_time.m3u8 2>/dev/null + +FATE_AFILTER-$(call ALLYES, HLS_DEMUXER MPEGTS_MUXER MPEGTS_DEMUXER AEVALSRC_FILTER LAVFI_INDEV MP2FIXED_ENCODER) += fate-hls-init-time +fate-hls-init-time: tests/data/hls_init_time.m3u8 +fate-hls-init-time: CMD = framecrc -flags +bitexact -i $(TARGET_PATH)/tests/data/hls_init_time.m3u8 -vf setpts=N*23 + |