diff options
author | Anton Khirnov <anton@khirnov.net> | 2023-04-14 11:16:02 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-04-19 21:12:03 +0200 |
commit | c17e33c0589c64354d6daf2b19f0134329c9407f (patch) | |
tree | 3b54a37ab97af06cd46c2df8ba71dfdb029a222a /tests/ref/fate/mpeg2-ticket6677 | |
parent | af286f17a1c79b6d543c586cf020d08d4e84f0eb (diff) | |
download | ffmpeg-c17e33c0589c64354d6daf2b19f0134329c9407f.tar.gz |
fftools/ffmpeg: propagate frame durations to packets when encoding
Remove now-obsolete code setting packet durations pre-muxing for CFR
encoded video.
Changes output in the following FATE tests:
* numerous adpcm tests
* ffmpeg-filter_complex_audio
* lavf-asf
* lavf-mkv
* lavf-mkv_attachment
* matroska-encoding-delay
All of these change due to the fact that the output duration is now
the actual input data duration and does not include padding added by
the encoder.
* apng-osample: less wrong packet durations are now passed to the muxer.
They are not entirely correct, because the first frame duration should
be 3 rather than 2. This is caused by the vsync code and should be
addressed later, but this change is a step in the right direction.
* tscc2-mov: last output frame has a duration of 11 rather than 1 - this
corresponds to the duration actually returned by the demuxer.
* film-cvid: video frame durations are now 2 rather than 1 - this
corresponds to durations actually returned by the demuxer and matches
the timestamps.
* mpeg2-ticket6677: durations of some video frames are now 2 rather than
1 - this matches the timestamps.
Diffstat (limited to 'tests/ref/fate/mpeg2-ticket6677')
-rw-r--r-- | tests/ref/fate/mpeg2-ticket6677 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ref/fate/mpeg2-ticket6677 b/tests/ref/fate/mpeg2-ticket6677 index 2079a08c20..01e46b559b 100644 --- a/tests/ref/fate/mpeg2-ticket6677 +++ b/tests/ref/fate/mpeg2-ticket6677 @@ -4,9 +4,9 @@ #dimensions 0: 720x480 #sar 0: 8/9 0, 1, 1, 1, 518400, 0xc1866f5f -0, 2, 2, 1, 518400, 0x9ba32764 +0, 2, 2, 2, 518400, 0x9ba32764 0, 4, 4, 1, 518400, 0xa9031bb8 0, 5, 5, 1, 518400, 0x5e2c3502 0, 6, 6, 1, 518400, 0xe860027a -0, 7, 7, 1, 518400, 0xa9152430 +0, 7, 7, 2, 518400, 0xa9152430 0, 9, 9, 1, 518400, 0xb98dd9f7 |