1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

tests/fate/ffmpeg: add a test for input -r option

This commit is contained in:
Anton Khirnov 2023-05-10 09:13:35 +02:00
parent 900bb3f8e2
commit 8c0f516133
2 changed files with 16 additions and 0 deletions

View File

@ -223,3 +223,7 @@ FATE_TIME_BASE-$(call PARSERDEMDEC, MPEGVIDEO, MPEGPS, MPEG2VIDEO, MPEGVIDEO_DEM
fate-time_base: CMD = md5 -i $(TARGET_SAMPLES)/mpeg2/dvd_single_frame.vob -an -sn -c:v copy -r 25 -time_base 1001:30000 -fflags +bitexact -f mxf
FATE_SAMPLES_FFMPEG-yes += $(FATE_TIME_BASE-yes)
# test -r used as an input option
fate-ffmpeg-input-r: CMD = framecrc -r 27 -i $(TARGET_SAMPLES)/mpeg2/sony-ct3.bs
FATE_SAMPLES_FFMPEG-$(call FRAMECRC, MPEGVIDEO, MPEG2VIDEO) += fate-ffmpeg-input-r

View File

@ -0,0 +1,12 @@
#tb 0: 1/27
#media_type 0: video
#codec_id 0: rawvideo
#dimensions 0: 720x480
#sar 0: 8/9
0, 0, 0, 1, 518400, 0xc1866f5f
0, 1, 1, 1, 518400, 0x9ba32764
0, 2, 2, 1, 518400, 0xa9031bb8
0, 3, 3, 1, 518400, 0x5e2c3502
0, 4, 4, 1, 518400, 0xe860027a
0, 5, 5, 1, 518400, 0xa9152430
0, 6, 6, 1, 518400, 0xb98dd9f7