1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-04-08 16:54:03 +02:00
FFmpeg/libavformat
Michael Niedermayer 4abc411b97 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>
2012-10-02 01:09:12 +02:00
..
2012-08-30 05:17:24 +02:00
2012-09-23 15:24:08 +02:00
2011-11-05 16:51:25 +01:00
2012-09-28 02:40:53 +02:00
2012-08-18 17:45:58 +02:00
2011-12-19 11:57:34 +01:00
2012-09-08 02:28:20 +02:00
2012-08-07 23:57:21 +02:00
2012-08-31 23:27:27 +02:00
2012-08-21 01:52:55 +02:00
2012-07-06 17:08:22 +02:00
2012-07-06 17:08:22 +02:00
2012-08-14 16:54:25 +02:00
2012-09-12 14:31:09 +02:00
2012-08-21 06:13:54 +02:00
2012-08-16 10:20:25 +02:00
2012-09-29 18:50:18 +02:00
2012-09-27 08:59:36 +02:00
2012-09-20 22:00:52 +02:00
2012-09-16 14:37:50 +02:00
2012-08-27 05:23:42 +02:00
2012-08-26 22:15:20 +02:00
2012-10-02 01:09:12 +02:00
2012-09-01 23:45:32 +02:00
2012-09-23 02:12:34 +02:00
2012-08-07 23:57:21 +02:00
2012-08-28 22:29:20 +02:00
2012-07-25 20:31:16 +03:00
2012-09-15 22:13:21 +02:00
2012-08-29 00:05:03 +02:00
2012-09-23 01:22:16 +02:00
2012-09-23 15:24:08 +02:00
2012-08-07 23:57:21 +02:00