[FFmpeg-devel] [PATCH] Fix for PCR accuracy in MPEG2-TS

Tomas Härdin tomas.hardin
Fri Dec 3 10:16:45 CET 2010

On Thu, 2010-12-02 at 07:48 -0800, Yogeesh Kori wrote:
> Hi,
> When a TS packet with the PCR without any payload is created, the PCR
> value is used from the calculation at the end of the previous packet. It
> is not taking the location of the PCR data in the current packet. It
> does when inserting a PCR in the PES packet. This causes a slight
> inaccuracy in the PCR.
> Yogeesh Kori

Well, PCR is already quite inaccurate since it's measured in 90 kHz, not
27 MHz. And it'll still drift with this patch.

Baptiste, can we perhaps get my PCR accuracy patch applied while I
figure out a prettier way to fix the PCR interval thing?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101203/6dd696c8/attachment.pgp>

More information about the ffmpeg-devel mailing list