mirror of https://github.com/FFmpeg/FFmpeg.git
Use the gcd of all input timebases to ensure PTS accuracy. For the framerate, just pick the highest of all the inputs, under the assumption that we will render frames with approximately this frequency. Of course, this is not 100% accurate, in particular if the input frames are badly misaligned. But this field is informational to begin with. Importantly, it covers the "common" case of combining high FPS and low FPS streams with aligned frames.pull/389/head
parent
1b2c6c9a03
commit
9049ea6763
1 changed files with 15 additions and 0 deletions
Loading…
Reference in new issue