[FFmpeg-devel] [PATCH] ogg skeleton start pts

Reimar Döffinger Reimar.Doeffinger
Sat Mar 20 19:51:07 CET 2010


On Sat, Mar 20, 2010 at 06:03:29PM +0100, Aurelien Jacobs wrote:
> Demuxing in a ogg file containing a non-zero start time result in a
> first packet with pts=0 and a second patch with
> pts=start_time+frame_duration.
> For example, with this sample [1], mplayer -demuxer lavf display the
> first frame and then wait 59 seconds (ie. start_time) before displaying
> second frame.
> Attached patch fix this issue by setting the first packet pts to
> start_time instead of 0.

Great that you worked in it, it was on my TODO list but I didn't have any time for it.



More information about the ffmpeg-devel mailing list