diff options
author | Anton Khirnov <anton@khirnov.net> | 2024-09-15 22:03:26 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2024-09-18 11:01:02 +0200 |
commit | 0c9fe2b232682b0ff21b15a721005d00dd9d3d37 (patch) | |
tree | 80a3ffba1cdbc014d7086cd55b78873cbe47e2f8 /tests | |
parent | 8875da347a5492f8905443b6839510e502e2cbd1 (diff) | |
download | ffmpeg-0c9fe2b232682b0ff21b15a721005d00dd9d3d37.tar.gz |
fftools/cmdutils: extend stream specifiers to match by disposition
Diffstat (limited to 'tests')
-rw-r--r-- | tests/fate/ffmpeg.mak | 4 | ||||
-rw-r--r-- | tests/ref/fate/ffmpeg-spec-disposition | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/fate/ffmpeg.mak b/tests/fate/ffmpeg.mak index 3ffaaeb295..869376dd18 100644 --- a/tests/fate/ffmpeg.mak +++ b/tests/fate/ffmpeg.mak @@ -263,3 +263,7 @@ fate-ffmpeg-loopback-decoding: CMD = transcode \ "rawvideo -s 352x288 -pix_fmt yuv420p" $(TARGET_PATH)/tests/data/vsynth1.yuv nut \ "-map 0:v:0 -c:v mpeg2video -f null - -flags +bitexact -idct simple -threads $$threads -dec 0:0 -filter_complex '[0:v][dec:0]hstack[stack]' -map '[stack]' -c:v ffv1" "" FATE_FFMPEG-$(call ENCDEC2, MPEG2VIDEO, FFV1, NUT, HSTACK_FILTER PIPE_PROTOCOL FRAMECRC_MUXER) += fate-ffmpeg-loopback-decoding + +# test matching by stream disposition +fate-ffmpeg-spec-disposition: CMD = framecrc -i $(TARGET_SAMPLES)/mpegts/pmtchange.ts -map '0:disp:visual_impaired+descriptions:1' -c copy +FATE_FFMPEG-$(call FRAMECRC, MPEGTS,,) += fate-ffmpeg-spec-disposition diff --git a/tests/ref/fate/ffmpeg-spec-disposition b/tests/ref/fate/ffmpeg-spec-disposition new file mode 100644 index 0000000000..4f24619d2b --- /dev/null +++ b/tests/ref/fate/ffmpeg-spec-disposition @@ -0,0 +1,7 @@ +#tb 0: 1/90000 +#media_type 0: audio +#codec_id 0: ac3 +#sample_rate 0: 48000 +#channel_layout_name 0: stereo +0, 0, 0, 2880, 768, 0x72b37931, F=0x3, S=1, 1 +0, 2880, 2880, 2880, 690, 0xa84a4ea2 |