diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-01 23:51:35 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-02 01:09:12 +0200 |
commit | 4abc411b97d72080fe9628650f5c1a1d272e7a3d (patch) | |
tree | 58c40571503b17bb7ab5d9fb327676297b7b0894 /libavfilter/libmpcodecs/vf_pp7.c | |
parent | e3fb5bc1472c600af628df10e1472a4319781640 (diff) | |
download | ffmpeg-4abc411b97d72080fe9628650f5c1a1d272e7a3d.tar.gz |
nutenc: choose for non audio streams a timebase with finer resolution.
While a 25 fps stream can in general store frame durations in 1/25
units, this is not true for the timestamps. For example a 25fps
and a 25000/1001 fps stream when they are stored together might have
a matching 0 timestamp point but when for example a chapter from
this is cut the new start is no longer aligned. The issue gets
MUCH worse when the streams are lower fps, like 1 or 2 fps.
This commit thus makes the muxer choose a multiple of the
framerate as timebase that is at least about 20 micro seconds precise
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/libmpcodecs/vf_pp7.c')
0 files changed, 0 insertions, 0 deletions