[FFmpeg-devel] [PATCH] Fix for ogg timestamps when packets span multiple ogg pages

David Conrad lessen42
Thu Nov 6 23:51:43 CET 2008


The problem with the current code comes from how an ogg page with only  
a partial packet uses the special granulepos of -1. The granulepos  
needs to be saved from the last page that completed a packet until the  
next page that completes a packet, where it is the timestamp of the  
first complete packet.

This greatly increases the number of Theora frames that have  
timestamps coming out of the demuxer.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ogg_granulpos.txt
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081106/b44422eb/attachment.txt>
-------------- next part --------------

More information about the ffmpeg-devel mailing list