fate: add tests/fate/hlsenc.mak for hls FATE
[ffmpeg.git] / tests / fate / hlsenc.mak
1 tests/data/live_no_endlist.m3u8: TAG = GEN
2 tests/data/live_no_endlist.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
3         $(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
4         -f lavfi -v verbose -i "aevalsrc=cos(2*PI*t)*sin(2*PI*(440+4*t)*t):d=20" -f hls -hls_time 3 -map 0 \
5         -hls_flags omit_endlist -codec:a mp2fixed -hls_segment_filename $(TARGET_PATH)/tests/data/live_no_endlist_%03d.ts \
6         $(TARGET_PATH)/tests/data/live_no_endlist.m3u8 2>/dev/null
7
8 FATE_AFILTER-$(call ALLYES, HLS_DEMUXER MPEGTS_MUXER MPEGTS_DEMUXER AEVALSRC_FILTER LAVFI_INDEV MP2FIXED_ENCODER) += fate-hls-live-no-endlist
9 fate-hls-live-no-endlist: tests/data/live_no_endlist.m3u8
10 fate-hls-live-no-endlist: SRC = $(TARGET_PATH)/tests/data/live_no_endlist.m3u8
11 fate-hls-live-no-endlist: CMD = md5 -i $(SRC) -af hdcd=process_stereo=false -t 6 -f s24le
12 fate-hls-live-no-endlist: CMP = oneline
13 fate-hls-live-no-endlist: REF = e038bb8e65d4c1745b9b3ed643e607a3
14
15 tests/data/live_last_endlist.m3u8: TAG = GEN
16 tests/data/live_last_endlist.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
17         $(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
18         -f lavfi -v verbose -i "aevalsrc=cos(2*PI*t)*sin(2*PI*(440+4*t)*t):d=20" -f hls -hls_time 3 -map 0 \
19         -codec:a mp2fixed -hls_segment_filename $(TARGET_PATH)/tests/data/live_last_endlist_%03d.ts \
20         $(TARGET_PATH)/tests/data/live_last_endlist.m3u8 2>/dev/null
21
22 FATE_AFILTER-$(call ALLYES, HLS_DEMUXER MPEGTS_MUXER MPEGTS_DEMUXER AEVALSRC_FILTER LAVFI_INDEV MP2FIXED_ENCODER) += fate-hls-live-last-endlist
23 fate-hls-live-last-endlist: tests/data/live_last_endlist.m3u8
24 fate-hls-live-last-endlist: SRC = $(TARGET_PATH)/tests/data/live_last_endlist.m3u8
25 fate-hls-live-last-endlist: CMD = md5 -i $(SRC) -af hdcd=process_stereo=false -t 6 -f s24le
26 fate-hls-live-last-endlist: CMP = oneline
27 fate-hls-live-last-endlist: REF = 2ca8567092dcf01e37bedd50454d1ab7
28
29
30 tests/data/live_endlist.m3u8: TAG = GEN
31 tests/data/live_endlist.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
32         $(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
33         -f lavfi -i "aevalsrc=cos(2*PI*t)*sin(2*PI*(440+4*t)*t):d=20" -f hls -hls_time 3 -map 0 \
34         -hls_list_size 0 -codec:a mp2fixed -hls_segment_filename $(TARGET_PATH)/tests/data/live_endlist_%d.ts \
35         $(TARGET_PATH)/tests/data/live_endlist.m3u8 2>/dev/null
36
37 FATE_AFILTER-$(call ALLYES, HLS_DEMUXER MPEGTS_MUXER MPEGTS_DEMUXER AEVALSRC_FILTER LAVFI_INDEV MP2FIXED_ENCODER) += fate-hls-live-endlist
38 fate-hls-live-endlist: tests/data/live_endlist.m3u8
39 fate-hls-live-endlist: SRC = $(TARGET_PATH)/tests/data/live_endlist.m3u8
40 fate-hls-live-endlist: CMD = md5 -i $(SRC) -af hdcd=process_stereo=false -t 20 -f s24le
41 fate-hls-live-endlist: CMP = oneline
42 fate-hls-live-endlist: REF = e189ce781d9c87882f58e3929455167b
43