[FFmpeg-devel] [PATCH] [soc: dvbmuxer] Improve PCR accuracy

Barletz barletz
Tue Dec 23 12:32:40 CET 2008


Hello,
This patch mainly improves PCR accuracy in the current mpegtsenc.c
implementation.
The following changes were made:
1. Handle PCR extension value, not only base (27MHz clock and not 90KHz).
2. Don't ignore SI tables time overhead.
3. Clean code (remove unneeded calculations, print error message on
error, etc.).

It was tested against two streams - MPEG-2 and AVC, both HD.

Still needs to test/handle:
1. Buffer underflow messages from mpegpesenc.c.
2. SPTS/MPTS.

Please review and comment.

Thanks,
Tomer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpegtsenc.diff
Type: application/octet-stream
Size: 11275 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081223/c4b18d8b/attachment.obj>



More information about the ffmpeg-devel mailing list