avcodec/aac_adtstoasc: propagate new extradata using packet side data
[ffmpeg.git] / tests / fate / avformat.mak
1 FATE_LAVF-$(call ENCDEC,  PCM_S16BE,             AIFF)               += aiff
2 FATE_LAVF-$(call ENCDEC,  PCM_ALAW,              PCM_ALAW)           += alaw
3 FATE_LAVF-$(call ENCDEC,  APNG,                  APNG)               += apng
4 FATE_LAVF-$(call ENCDEC2, MSMPEG4V3,  MP2,       ASF)                += asf
5 FATE_LAVF-$(call ENCDEC,  PCM_S16BE_PLANAR,      AST)                += ast
6 FATE_LAVF-$(call ENCDEC,  PCM_S16BE,             AU)                 += au
7 FATE_LAVF-$(call ENCDEC2, MPEG4,      MP2,       AVI)                += avi
8 FATE_LAVF-$(call ENCDEC,  BMP,                   IMAGE2)             += bmp
9 FATE_LAVF-$(call ENCDEC,  PCM_S16BE,             CAF)                += caf
10 FATE_LAVF-$(call ENCDEC,  DPX,                   IMAGE2)             += dpx
11 FATE_LAVF-$(call ENCDEC2, DVVIDEO,    PCM_S16LE, AVI)                += dv_fmt
12 FATE_LAVF-$(call ENCDEC2, MPEG1VIDEO, MP2,       FFM)                += ffm
13 FATE_LAVF-$(call ENCDEC,  RAWVIDEO,              FILMSTRIP)          += flm
14 FATE_LAVF-$(call ENCDEC,  FLV,                   FLV)                += flv_fmt
15 FATE_LAVF-$(call ENCDEC,  GIF,                   IMAGE2)             += gif
16 FATE_LAVF-$(call ENCDEC2, MPEG2VIDEO, PCM_S16LE, GXF)                += gxf
17 FATE_LAVF-$(call ENCDEC,  PCM_S16LE,             IRCAM)              += ircam
18 FATE_LAVF-$(call ENCDEC,  MJPEG,                 IMAGE2)             += jpg
19 FATE_LAVF-$(call ENCMUX,  TTA,                   MATROSKA_AUDIO)     += mka
20 FATE_LAVF-$(call ENCDEC2, MPEG4,      MP2,       MATROSKA)           += mkv
21 FATE_LAVF-$(call ENCDEC,  ADPCM_YAMAHA,          MMF)                += mmf
22 FATE_LAVF-$(call ENCDEC2, MPEG4,      PCM_ALAW,  MOV)                += mov ismv
23 FATE_LAVF-$(call ENCDEC2, MPEG1VIDEO, MP2,       MPEG1SYSTEM MPEGPS) += mpg
24 FATE_LAVF-$(call ENCDEC,  PCM_MULAW,             PCM_MULAW)          += mulaw
25 FATE_LAVF-$(call ENCDEC2, MPEG2VIDEO, PCM_S16LE, MXF)                += mxf
26 FATE_LAVF-$(call ENCDEC2, MPEG2VIDEO, PCM_S16LE, MXF_D10 MXF)        += mxf_d10
27 FATE_LAVF-$(call ENCDEC2, DNXHD,      PCM_S16LE, MXF_OPATOM MXF)     += mxf_opatom
28 FATE_LAVF-$(call ENCDEC2, DNXHD,      PCM_S16LE, MXF_OPATOM MXF)     += mxf_opatom_audio
29 FATE_LAVF-$(call ENCDEC2, MPEG4,      MP2,       NUT)                += nut
30 FATE_LAVF-$(call ENCDEC,  FLAC,                  OGG)                += ogg
31 FATE_LAVF-$(call ENCDEC,  PAM,                   IMAGE2)             += pam
32 FATE_LAVF-$(call ENCDEC,  PBM,                   IMAGE2PIPE)         += pbmpipe
33 FATE_LAVF-$(call ENCDEC,  PCX,                   IMAGE2)             += pcx
34 FATE_LAVF-$(call ENCDEC,  PGM,                   IMAGE2)             += pgm
35 FATE_LAVF-$(call ENCDEC,  PGM,                   IMAGE2PIPE)         += pgmpipe
36 FATE_LAVF-$(call ENCDEC,  PNG,                   IMAGE2)             += png
37 FATE_LAVF-$(call ENCDEC,  PPM,                   IMAGE2)             += ppm
38 FATE_LAVF-$(call ENCDEC,  PPM,                   IMAGE2PIPE)         += ppmpipe
39 FATE_LAVF-$(call ENCMUX,  RV10 AC3_FIXED,        RM)                 += rm
40 FATE_LAVF-$(call ENCDEC,  PCM_U8,                RSO)                += rso
41 FATE_LAVF-$(call ENCDEC,  SGI,                   IMAGE2)             += sgi
42 FATE_LAVF-$(call ENCMUX,  MJPEG PCM_S16LE,       SMJPEG)             += smjpeg
43 FATE_LAVF-$(call ENCDEC,  PCM_S16LE,             SOX)                += sox
44 FATE_LAVF-$(call ENCDEC,  SUNRAST,               IMAGE2)             += sunrast
45 FATE_LAVF-$(call ENCDEC,  FLV,                   SWF)                += swf
46 FATE_LAVF-$(call ENCDEC,  TARGA,                 IMAGE2)             += tga
47 FATE_LAVF-$(call ENCDEC,  TIFF,                  IMAGE2)             += tiff
48 FATE_LAVF-$(call ENCDEC2, MPEG2VIDEO, MP2,       MPEGTS)             += ts
49 FATE_LAVF-$(call ENCDEC,  TTA,                   TTA)                += tta
50 FATE_LAVF-$(call ENCDEC,  PCM_U8,                VOC)                += voc
51 FATE_LAVF-$(call ENCDEC,  PCM_S16LE,             VOC)                += voc_s16
52 FATE_LAVF-$(call ENCDEC,  PCM_S16LE,             WAV)                += wav
53 FATE_LAVF-$(call ENCDEC,  PCM_S16LE,             WAV)                += wav_peak
54 FATE_LAVF-$(call ENCDEC,  PCM_S16LE,             WAV)                += wav_peak_only
55 FATE_LAVF-$(call ENCMUX,  PCM_S16LE,             W64)                += w64
56 FATE_LAVF-$(call ENCDEC,  MP2,                   WTV)                += wtv
57 FATE_LAVF-$(call ENCDEC,  WAVPACK,               WV)                 += wv
58 FATE_LAVF-$(call ENCDEC,  XBM,                   IMAGE2)             += xbm
59 FATE_LAVF-$(call ENCDEC,  XWD,                   IMAGE2)             += xwd
60 FATE_LAVF-$(CONFIG_YUV4MPEGPIPE_MUXER)                               += yuv4mpeg
61
62 FATE_LAVF += $(FATE_LAVF-yes:%=fate-lavf-%)
63 FATE_LAVF_PIXFMT-$(CONFIG_SCALE_FILTER) += fate-lavf-pixfmt
64 FATE_LAVF += $(FATE_LAVF_PIXFMT-yes)
65
66 $(FATE_LAVF): $(AREF) $(VREF)
67 $(FATE_LAVF): CMD = lavftest
68 $(FATE_LAVF): CMP =
69
70 FATE_AVCONV += $(FATE_LAVF)
71 fate-lavf:     $(FATE_LAVF)
72
73 FATE_LAVF_FATE-$(call ALLYES, MATROSKA_DEMUXER   OGG_MUXER)          += ogg_vp3
74 FATE_LAVF_FATE-$(call ALLYES, MATROSKA_DEMUXER   OGV_MUXER)          += ogg_vp8
75 FATE_LAVF_FATE-$(call ALLYES, MOV_DEMUXER        LATM_MUXER)         += latm
76 FATE_LAVF_FATE-$(call ALLYES, MP3_DEMUXER        MP3_MUXER)          += mp3
77 FATE_LAVF_FATE-$(call ALLYES, MOV_DEMUXER        MOV_MUXER)          += mov_qtrle_mace6
78 FATE_LAVF_FATE-$(call ALLYES, AVI_DEMUXER        AVI_MUXER)          += avi_cram
79
80 FATE_LAVF_FATE +=  $(FATE_LAVF_FATE-yes:%=fate-lavf-fate-%)
81 $(FATE_LAVF_FATE): CMD = lavffatetest
82
83 FATE_SAMPLES_FFMPEG += $(FATE_LAVF_FATE)
84 fate-lavf-fate:        $(FATE_LAVF_FATE)
85
86 tests/data/mp4-to-ts.m3u8: TAG = GEN
87 tests/data/mp4-to-ts.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
88         $(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
89         -i $(TARGET_SAMPLES)/h264/interlaced_crop.mp4 \
90         -f ssegment -segment_time 1 -map 0 -flags +bitexact -codec copy \
91         -segment_list $(TARGET_PATH)/$@ -y $(TARGET_PATH)/tests/data/mp4-to-ts-%03d.ts 2>/dev/null
92
93 tests/data/adts-to-mkv.m3u8: TAG = GEN
94 tests/data/adts-to-mkv.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
95         $(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
96         -i $(TARGET_SAMPLES)/audiomatch/tones_afconvert_16000_mono_aac_lc.m4a \
97         -f segment -segment_time 1 -map 0 -flags +bitexact -codec copy -segment_format_options live=1 \
98         -segment_list $(TARGET_PATH)/$@ -y $(TARGET_PATH)/tests/data/adts-to-mkv-%03d.mkv 2>/dev/null
99
100 tests/data/adts-to-mkv-header.mkv: TAG = GEN
101 tests/data/adts-to-mkv-header.mkv: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
102         $(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
103         -i $(TARGET_SAMPLES)/audiomatch/tones_afconvert_16000_mono_aac_lc.m4a \
104         -f segment -segment_time 1 -map 0 -flags +bitexact -codec copy -segment_format_options live=1 \
105         -segment_header_filename $(TARGET_PATH)/tests/data/adts-to-mkv-header.mkv \
106         -y $(TARGET_PATH)/tests/data/adts-to-mkv-header-%03d.mkv 2>/dev/null
107
108 tests/data/adts-to-mkv-header-%.mkv: tests/data/adts-to-mkv-header.mkv ;
109
110 FATE_SEGMENT_PARTS += 000 001 002
111
112 tests/data/adts-to-mkv-cated-all.mkv: TAG = GEN
113 tests/data/adts-to-mkv-cated-all.mkv: tests/data/adts-to-mkv-header.mkv $(FATE_SEGMENT_PARTS:%=tests/data/adts-to-mkv-header-%.mkv) | tests/data
114         $(M)cat $^ >$@
115
116 tests/data/adts-to-mkv-cated-%.mkv: TAG = GEN
117 tests/data/adts-to-mkv-cated-%.mkv: tests/data/adts-to-mkv-header.mkv tests/data/adts-to-mkv-header-%.mkv | tests/data
118         $(M)cat $^ >$@
119
120 FATE_SEGMENT += fate-segment-mp4-to-ts
121 fate-segment-mp4-to-ts: tests/data/mp4-to-ts.m3u8
122 fate-segment-mp4-to-ts: CMD = framecrc -flags +bitexact -i $(TARGET_PATH)/tests/data/mp4-to-ts.m3u8 -c copy
123 FATE_SEGMENT-$(call ALLYES, MOV_DEMUXER H264_MP4TOANNEXB_BSF MPEGTS_MUXER MATROSKA_DEMUXER SEGMENT_MUXER HLS_DEMUXER) += fate-segment-mp4-to-ts
124
125 FATE_SEGMENT += fate-segment-adts-to-mkv
126 fate-segment-adts-to-mkv: tests/data/adts-to-mkv.m3u8
127 fate-segment-adts-to-mkv: CMD = framecrc -flags +bitexact -i $(TARGET_PATH)/tests/data/adts-to-mkv.m3u8 -c copy
128 fate-segment-adts-to-mkv: REF = $(SRC_PATH)/tests/ref/fate/segment-adts-to-mkv-header-all
129 FATE_SEGMENT-$(call ALLYES, AAC_DEMUXER AAC_ADTSTOASC_BSF MATROSKA_MUXER MATROSKA_DEMUXER SEGMENT_MUXER HLS_DEMUXER) += fate-segment-adts-to-mkv
130
131 FATE_SEGMENT_ALLPARTS = $(FATE_SEGMENT_PARTS)
132 FATE_SEGMENT_ALLPARTS += all
133 FATE_SEGMENT_SPLIT += $(FATE_SEGMENT_ALLPARTS:%=fate-segment-adts-to-mkv-header-%)
134 $(foreach N,$(FATE_SEGMENT_ALLPARTS),$(eval $(N:%=fate-segment-adts-to-mkv-header-%): tests/data/adts-to-mkv-cated-$(N).mkv))
135 fate-segment-adts-to-mkv-header-%: CMD = framecrc -flags +bitexact -i $(TARGET_PATH)/tests/data/$(@:fate-segment-adts-to-mkv-header-%=adts-to-mkv-cated-%).mkv -c copy
136 FATE_SEGMENT-$(call ALLYES, AAC_DEMUXER AAC_ADTSTOASC_BSF MATROSKA_MUXER MATROSKA_DEMUXER SEGMENT_MUXER HLS_DEMUXER) += $(FATE_SEGMENT_SPLIT)
137
138 FATE_SAMPLES_FFMPEG += $(FATE_SEGMENT-yes)
139
140 fate-segment: $(FATE_SEGMENT-yes)