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

David Conrad lessen42
Thu Mar 25 09:08:30 CET 2010


On Mar 20, 2010, at 1:03 PM, Aurelien Jacobs wrote:

> Hi,
> 
> 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.

Looks okay, ideally this would work with seeking, but that's a good bit harder.



More information about the ffmpeg-devel mailing list