[FFmpeg-devel] [PATCH v2] fate: add hls fmp4 segment type test case
Michael Niedermayer
michael at niedermayer.cc
Sun Jul 14 22:27:48 EEST 2019
On Sun, Jul 14, 2019 at 06:41:28AM +0800, Steven Liu wrote:
> Signed-off-by: Steven Liu <lq at chinaffmpeg.org>
> ---
> tests/fate/hlsenc.mak | 12 +++
> tests/ref/fate/hls-fmp4 | 198 ++++++++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 210 insertions(+)
> create mode 100644 tests/ref/fate/hls-fmp4
>
> diff --git a/tests/fate/hlsenc.mak b/tests/fate/hlsenc.mak
> index 2a125cda3c..98d67f96df 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
tested on linux32/64 x86, mingw32/64 , linux arm and mips qemu
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
During times of universal deceit, telling the truth becomes a
revolutionary act. -- George Orwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190714/bb280f88/attachment.sig>
More information about the ffmpeg-devel
mailing list