[FFmpeg-devel] [PATCH] ogg skeleton start pts
Aurelien Jacobs
aurel
Sat Mar 20 18:03:29 CET 2010
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.
Aurel
[1] http://samples.mplayerhq.hu/ogg/packetsize0.ogv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lavf_ogg_start_time.diff
Type: text/x-diff
Size: 844 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100320/d266c437/attachment.diff>
More information about the ffmpeg-devel
mailing list