2019-02-02 14:58:08 +02:00
|
|
|
FATE_LAVF_CONTAINER-$(call ENCDEC2, MSMPEG4V3, MP2, ASF) += asf
|
|
|
|
FATE_LAVF_CONTAINER-$(call ENCDEC2, MPEG4, MP2, AVI) += avi
|
2019-03-14 19:36:24 +02:00
|
|
|
FATE_LAVF_CONTAINER-$(call ENCDEC2, DVVIDEO, PCM_S16LE, AVI) += dv dv_pal dv_ntsc
|
2019-02-02 14:58:08 +02:00
|
|
|
FATE_LAVF_CONTAINER-$(call ENCDEC, FLV, FLV) += flv
|
2019-03-14 19:36:24 +02:00
|
|
|
FATE_LAVF_CONTAINER-$(call ENCDEC, RAWVIDEO, FILMSTRIP) += flm
|
|
|
|
FATE_LAVF_CONTAINER-$(call ENCDEC2, MPEG2VIDEO, PCM_S16LE, GXF) += gxf gxf_pal gxf_ntsc
|
|
|
|
FATE_LAVF_CONTAINER-$(call ENCDEC2, MPEG4, MP2, MATROSKA) += mkv mkv_attachment
|
|
|
|
FATE_LAVF_CONTAINER-$(call ENCDEC2, MPEG4, PCM_ALAW, MOV) += mov mov_rtphint ismv
|
|
|
|
FATE_LAVF_CONTAINER-$(call ENCDEC, MPEG4, MOV) += mp4
|
2019-02-02 14:58:08 +02:00
|
|
|
FATE_LAVF_CONTAINER-$(call ENCDEC2, MPEG1VIDEO, MP2, MPEG1SYSTEM MPEGPS) += mpg
|
2023-03-14 10:49:16 +02:00
|
|
|
FATE_LAVF_CONTAINER-$(call ENCDEC , FFV1, MXF) += mxf_ffv1
|
2023-03-28 23:29:51 +02:00
|
|
|
FATE_LAVF_CONTAINER-$(call ENCDEC2, MPEG2VIDEO, PCM_S16LE, MXF) += mxf
|
|
|
|
FATE_LAVF_CONTAINER-$(call ENCDEC2, DVVIDEO, PCM_S16LE, MXF) += mxf_dv25 mxf_dvcpro50 mxf_dvcpro100
|
2019-02-02 14:58:08 +02:00
|
|
|
FATE_LAVF_CONTAINER-$(call ENCDEC2, MPEG2VIDEO, PCM_S16LE, MXF_D10 MXF) += mxf_d10
|
2019-03-14 19:36:24 +02:00
|
|
|
FATE_LAVF_CONTAINER-$(call ENCDEC2, DNXHD, PCM_S16LE, MXF_OPATOM MXF) += mxf_opatom mxf_opatom_audio
|
2019-02-02 14:58:08 +02:00
|
|
|
FATE_LAVF_CONTAINER-$(call ENCDEC2, MPEG4, MP2, NUT) += nut
|
|
|
|
FATE_LAVF_CONTAINER-$(call ENCMUX, RV10 AC3_FIXED, RM) += rm
|
2022-04-24 01:08:34 +02:00
|
|
|
FATE_LAVF_CONTAINER-$(call ENCDEC2, MJPEG, PCM_S16LE, SMJPEG) += smjpeg
|
2019-02-02 14:58:08 +02:00
|
|
|
FATE_LAVF_CONTAINER-$(call ENCDEC, FLV, SWF) += swf
|
|
|
|
FATE_LAVF_CONTAINER-$(call ENCDEC2, MPEG2VIDEO, MP2, MPEGTS) += ts
|
2019-03-14 19:36:24 +02:00
|
|
|
FATE_LAVF_CONTAINER-$(call ENCDEC, MP2, WTV) += wtv
|
2019-02-02 14:58:08 +02:00
|
|
|
|
2022-04-24 01:08:34 +02:00
|
|
|
FATE_LAVF_CONTAINER_RESAMPLE := asf avi dv_pal dv_ntsc gxf_pal gxf_ntsc \
|
|
|
|
mkv mkv_attachment mpg mxf nut rm ts wtv
|
|
|
|
FATE_LAVF_CONTAINER-$(!CONFIG_ARESAMPLE_FILTER) := $(filter-out $(FATE_LAVF_CONTAINER_RESAMPLE),$(FATE_LAVF_CONTAINER-yes))
|
|
|
|
|
|
|
|
FATE_LAVF_CONTAINER_SCALE := dv dv_pal dv_ntsc flm gxf gxf_pal gxf_ntsc \
|
2023-03-27 16:20:20 +02:00
|
|
|
mxf_dv25 mxf_dvcpro50 mxf_dvcpro100 mxf_d10 \
|
|
|
|
mxf_ffv1 mxf_opatom smjpeg
|
2022-04-24 01:08:34 +02:00
|
|
|
FATE_LAVF_CONTAINER-$(!CONFIG_SCALE_FILTER) := $(filter-out $(FATE_LAVF_CONTAINER_SCALE),$(FATE_LAVF_CONTAINER-yes))
|
|
|
|
|
2019-02-02 14:58:08 +02:00
|
|
|
FATE_LAVF_CONTAINER = $(FATE_LAVF_CONTAINER-yes:%=fate-lavf-%)
|
2022-09-18 18:22:55 +02:00
|
|
|
FATE_LAVF_CONTAINER := $(if $(call ENCDEC2, RAWVIDEO PGMYUV, PCM_S16LE, CRC IMAGE2, PCM_S16LE_DEMUXER PIPE_PROTOCOL), $(FATE_LAVF_CONTAINER))
|
2019-02-02 14:58:08 +02:00
|
|
|
|
|
|
|
$(FATE_LAVF_CONTAINER): CMD = lavf_container
|
|
|
|
$(FATE_LAVF_CONTAINER): REF = $(SRC_PATH)/tests/ref/lavf/$(@:fate-lavf-%=%)
|
|
|
|
$(FATE_LAVF_CONTAINER): $(AREF) $(VREF)
|
|
|
|
|
|
|
|
fate-lavf-asf: CMD = lavf_container "" "-c:a mp2 -ar 44100" "-r 25"
|
2019-03-14 19:36:24 +02:00
|
|
|
fate-lavf-avi fate-lavf-nut: CMD = lavf_container "" "-c:a mp2 -ar 44100 -threads 1"
|
2019-02-02 14:58:08 +02:00
|
|
|
fate-lavf-dv: CMD = lavf_container "-ar 48000 -channel_layout stereo" "-r 25 -s pal"
|
2019-03-14 19:36:24 +02:00
|
|
|
fate-lavf-dv_pal: CMD = lavf_container_timecode_nodrop "-ar 48000 -r 25 -s pal -ac 2 -f dv"
|
|
|
|
fate-lavf-dv_ntsc: CMD = lavf_container_timecode_drop "-ar 48000 -pix_fmt yuv411p -s ntsc -ac 2 -f dv"
|
2019-02-02 14:58:08 +02:00
|
|
|
fate-lavf-flv fate-lavf-swf: CMD = lavf_container "" "-an"
|
2019-03-14 19:36:24 +02:00
|
|
|
fate-lavf-flm: CMD = lavf_container "" "-pix_fmt rgba"
|
|
|
|
fate-lavf-gxf: CMD = lavf_container "-ar 48000" "-r 25 -s pal -ac 1 -threads 1"
|
|
|
|
fate-lavf-gxf_pal: CMD = lavf_container_timecode_nodrop "-ar 48000 -r 25 -s pal -ac 1 -threads 1 -f gxf"
|
|
|
|
fate-lavf-gxf_ntsc: CMD = lavf_container_timecode_drop "-ar 48000 -s ntsc -ac 1 -threads 1 -f gxf"
|
2019-03-30 20:30:50 +02:00
|
|
|
fate-lavf-ismv: CMD = lavf_container_timecode "-an -write_tmcd 1 -c:v mpeg4 -threads 1"
|
2019-03-14 19:36:24 +02:00
|
|
|
fate-lavf-mkv: CMD = lavf_container "" "-c:a mp2 -c:v mpeg4 -ar 44100 -threads 1"
|
|
|
|
fate-lavf-mkv_attachment: CMD = lavf_container_attach "-c:a mp2 -c:v mpeg4 -threads 1 -f matroska"
|
|
|
|
fate-lavf-mov: CMD = lavf_container_timecode "-movflags +faststart -c:a pcm_alaw -c:v mpeg4 -threads 1"
|
|
|
|
fate-lavf-mov_rtphint: CMD = lavf_container "" "-movflags +rtphint -c:a pcm_alaw -c:v mpeg4 -threads 1 -f mov"
|
|
|
|
fate-lavf-mp4: CMD = lavf_container_timecode "-c:v mpeg4 -an -threads 1"
|
|
|
|
fate-lavf-mpg: CMD = lavf_container_timecode "-ar 44100 -threads 1"
|
|
|
|
fate-lavf-mxf: CMD = lavf_container_timecode "-ar 48000 -bf 2 -threads 1"
|
2019-02-02 14:58:08 +02:00
|
|
|
fate-lavf-mxf_d10: CMD = lavf_container "-ar 48000 -ac 2" "-r 25 -vf scale=720:576,pad=720:608:0:32 -c:v mpeg2video -g 0 -flags +ildct+low_delay -dc 10 -non_linear_quant 1 -intra_vlc 1 -qscale 1 -ps 1 -qmin 1 -rc_max_vbv_use 1 -rc_min_vbv_use 1 -pix_fmt yuv422p -minrate 30000k -maxrate 30000k -b 30000k -bufsize 1200000 -top 1 -rc_init_occupancy 1200000 -qmax 12 -f mxf_d10"
|
2019-03-14 19:36:24 +02:00
|
|
|
fate-lavf-mxf_dv25: CMD = lavf_container "-ar 48000 -ac 2" "-r 25 -vf scale=720:576,setdar=4/3 -c:v dvvideo -pix_fmt yuv420p -b 25000k -top 0 -f mxf"
|
|
|
|
fate-lavf-mxf_dvcpro50: CMD = lavf_container "-ar 48000 -ac 2" "-r 25 -vf scale=720:576,setdar=16/9 -c:v dvvideo -pix_fmt yuv422p -b 50000k -top 0 -f mxf"
|
2023-01-14 14:32:36 +02:00
|
|
|
fate-lavf-mxf_dvcpro100: CMD = lavf_container "-ar 48000 -ac 2" "-r 25 -vf scale=1440:1080,setdar=16/9 -c:v dvvideo -pix_fmt yuv422p -b 100000k -top 0 -f mxf"
|
2023-03-14 10:49:16 +02:00
|
|
|
fate-lavf-mxf_ffv1: CMD = lavf_container "-an" "-r 25 -vf scale=720:576,setdar=4/3 -c:v ffv1 -level 3 -pix_fmt yuv420p -f mxf"
|
2019-03-14 19:36:24 +02:00
|
|
|
fate-lavf-mxf_opatom: CMD = lavf_container "" "-s 1920x1080 -c:v dnxhd -pix_fmt yuv422p -vb 36M -f mxf_opatom -map 0"
|
|
|
|
fate-lavf-mxf_opatom_audio: CMD = lavf_container "-ar 48000 -ac 1" "-f mxf_opatom -mxf_audio_edit_rate 25 -map 1"
|
|
|
|
fate-lavf-smjpeg: CMD = lavf_container "" "-f smjpeg"
|
2019-02-02 14:58:08 +02:00
|
|
|
# The RealMedia muxer is broken.
|
|
|
|
fate-lavf-rm: CMD = lavf_container "" "-c:a ac3_fixed" disable_crc
|
2019-03-14 19:36:24 +02:00
|
|
|
fate-lavf-ts: CMD = lavf_container "" "-mpegts_transport_stream_id 42 -ar 44100 -threads 1"
|
|
|
|
fate-lavf-wtv: CMD = lavf_container "" "-c:a mp2 -threads 1"
|
2019-02-02 14:58:08 +02:00
|
|
|
|
|
|
|
FATE_AVCONV += $(FATE_LAVF_CONTAINER)
|
|
|
|
fate-lavf-container fate-lavf: $(FATE_LAVF_CONTAINER)
|
2019-03-14 19:37:44 +02:00
|
|
|
|
2019-11-29 23:02:05 +02:00
|
|
|
FATE_LAVF_CONTAINER_FATE-$(call ALLYES, IVF_DEMUXER AV1_PARSER MOV_MUXER) += av1.mp4
|
2023-06-17 15:22:49 +02:00
|
|
|
FATE_LAVF_CONTAINER_FATE-$(call ALLYES, EVC_DEMUXER EVC_PARSER MOV_MUXER) += evc.mp4
|
2020-01-26 17:40:34 +02:00
|
|
|
FATE_LAVF_CONTAINER_FATE-$(call ALLYES, IVF_DEMUXER AV1_PARSER MATROSKA_MUXER) += av1.mkv
|
2019-11-29 23:12:41 +02:00
|
|
|
FATE_LAVF_CONTAINER_FATE-$(call ALLYES, H264_DEMUXER H264_PARSER MOV_MUXER) += h264.mp4
|
2019-03-14 19:37:44 +02:00
|
|
|
FATE_LAVF_CONTAINER_FATE-$(call ALLYES, MATROSKA_DEMUXER OGG_MUXER) += vp3.ogg
|
|
|
|
FATE_LAVF_CONTAINER_FATE-$(call ALLYES, MATROSKA_DEMUXER OGV_MUXER) += vp8.ogg
|
|
|
|
FATE_LAVF_CONTAINER_FATE-$(call ALLYES, MOV_DEMUXER LATM_MUXER) += latm
|
|
|
|
FATE_LAVF_CONTAINER_FATE-$(call ALLYES, MP3_DEMUXER MP3_MUXER) += mp3
|
|
|
|
FATE_LAVF_CONTAINER_FATE-$(call ALLYES, MOV_DEMUXER MOV_MUXER) += qtrle_mace6.mov
|
|
|
|
FATE_LAVF_CONTAINER_FATE-$(call ALLYES, AVI_DEMUXER AVI_MUXER) += cram.avi
|
|
|
|
|
|
|
|
FATE_LAVF_CONTAINER_FATE = $(FATE_LAVF_CONTAINER_FATE-yes:%=fate-lavf-fate-%)
|
|
|
|
|
|
|
|
$(FATE_LAVF_CONTAINER_FATE): REF = $(SRC_PATH)/tests/ref/lavf-fate/$(@:fate-lavf-fate-%=%)
|
|
|
|
$(FATE_LAVF_CONTAINER_FATE): $(AREF) $(VREF)
|
|
|
|
|
2019-11-29 23:02:05 +02:00
|
|
|
fate-lavf-fate-av1.mp4: CMD = lavf_container_fate "av1-test-vectors/av1-1-b8-05-mv.ivf" "" "-c:v copy"
|
2020-01-26 17:40:34 +02:00
|
|
|
fate-lavf-fate-av1.mkv: CMD = lavf_container_fate "av1-test-vectors/av1-1-b8-05-mv.ivf" "" "-c:v copy"
|
2023-06-17 15:22:49 +02:00
|
|
|
fate-lavf-fate-evc.mp4: CMD = lavf_container_fate "evc/akiyo_cif.evc" "" "-c:v copy"
|
2019-11-29 23:12:41 +02:00
|
|
|
fate-lavf-fate-h264.mp4: CMD = lavf_container_fate "h264/intra_refresh.h264" "" "-c:v copy"
|
2019-03-14 19:37:44 +02:00
|
|
|
fate-lavf-fate-vp3.ogg: CMD = lavf_container_fate "vp3/coeff_level64.mkv" "-idct auto"
|
|
|
|
fate-lavf-fate-vp8.ogg: CMD = lavf_container_fate "vp8/RRSF49-short.webm" "" "-acodec copy"
|
|
|
|
fate-lavf-fate-latm: CMD = lavf_container_fate "aac/al04_44.mp4" "" "-acodec copy"
|
|
|
|
fate-lavf-fate-mp3: CMD = lavf_container_fate "mp3-conformance/he_32khz.bit" "" "-acodec copy"
|
|
|
|
fate-lavf-fate-qtrle_mace6.mov: CMD = lavf_container_fate "qtrle/Animation-16Greys.mov" "-idct auto"
|
|
|
|
fate-lavf-fate-cram.avi: CMD = lavf_container_fate "cram/toon.avi" "-idct auto"
|
|
|
|
|
|
|
|
FATE_SAMPLES_FFMPEG += $(FATE_LAVF_CONTAINER_FATE)
|
|
|
|
fate-lavf-fate fate-lavf: $(FATE_LAVF_CONTAINER_FATE)
|