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

pull/389/head
Anton Khirnov 2 years ago
parent 900bb3f8e2
commit 8c0f516133
  1. 4
      tests/fate/ffmpeg.mak
  2. 12
      tests/ref/fate/ffmpeg-input-r

@ -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

@ -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
Loading…
Cancel
Save