[Ffmpeg-devel] Re: [RFC] Improvement for the odd timestampgeneration when parser is in use.
Wed Mar 21 23:48:01 CET 2007
"elupus" <elupus at ecce.se> wrote in message
news:etpqk8$l4m$1 at sea.gmane.org...
> Hi again,
> Here's next iteration of patch. It changes nothing about how parser works,
> just makes it have a member variable wich gives the bytes after the start
> packet that gave the timestamps.
> It uses packet duration and size to estimate bitrate. This isn't entirely
> right as it aught to be using the duration and size of last packet to do
> this correction, but that isn't easily available. It is correct for cbr
> streams atleast thou.
> Hope this fits the bill.
Typically a small type crept into the previous patch. Good that nobody
looked at it. Offset got calculated from wrong framestart. Here's a
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3376 bytes
Desc: not available
More information about the ffmpeg-devel