[Ffmpeg-devel] Re: [RFC] Improvement for the odd timestamp generation when parser is in use.
elupus
elupus
Wed Mar 21 00:27:02 CET 2007
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 of
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.
/Joakim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parser3.patch
Type: application/octet-stream
Size: 3371 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070321/c238276a/attachment.obj>
More information about the ffmpeg-devel
mailing list