ffmpeg/tests/ref/fate/filter-fps-down
Nicolas George ddba05afe4 lavfi/vsrc_testsrc: switch to activate.
Allow to set the EOF timestamp.

Also: doc/filters/testsrc*: specify the rounding of the duration option.

The changes in the ref files are right.

For filter-fps-down, the graph is testsrc2=r=7:d=3.5,fps=3.
3.5=24.5/7, so the EOF of testsrc2 will have PTS 25/7.
25/7=(10+5/7)/3, so the EOF PTS for fps should be 11/7,
and the output should contain a frame at PTS 10.

For filter-fps-up, the graph is testsrc2=r=3:d=2,fps=7,
for filter-fps-up-round-down and filter-fps-up-round-up
it is the same with explicit rounding options.
But there is no rounding: testsrc2 produces exactly 6 frames
and 2 seconds, fps converts it into exactly 14 frames.

The tests should probably be adjusted to restore them to
a useful coverage.
2020-09-08 14:39:43 +02:00

17 lines
727 B
Plaintext

#tb 0: 1/3
#media_type 0: video
#codec_id 0: rawvideo
#dimensions 0: 320x240
#sar 0: 1/1
0, 0, 0, 1, 115200, 0x0c1062d6
0, 1, 1, 1, 115200, 0x278d887e
0, 2, 2, 1, 115200, 0x75e1a17b
0, 3, 3, 1, 115200, 0x686b77e7
0, 4, 4, 1, 115200, 0x1fc2d693
0, 5, 5, 1, 115200, 0x2d0ba5a4
0, 6, 6, 1, 115200, 0x40426f99
0, 7, 7, 1, 115200, 0xc705ccd9
0, 8, 8, 1, 115200, 0x5635daa5
0, 9, 9, 1, 115200, 0x7161ef8f
0, 10, 10, 1, 115200, 0xccf02fed