[FFmpeg-devel] [PATCH] mpegtsenc: Force writing PCR-only packet to PCR stream if the current stream is not the PCR stream

Tomas Härdin tomas.hardin
Wed Oct 6 16:48:17 CEST 2010


On Wed, 2010-10-06 at 16:09 +0300, Georgi Chorbadzhiyski wrote:
> Nice to see mpeg-ts muxer improvements.
> 
> Around 10/06/10 14:33, Tomas H?rdin scribbled:
> > This patch works well with the high-res PCR patch I mailed six days ago.
> > Together they produce output whose PCR is written at reliable intervals
> > (20-22 ms) and whose jitter is around +- 35 ns.
> 
> AFAIR the DVB standard recommends 40 ms interval between PCR packets, so
> 20 ms should be too low. Could you increase it a little bit.

I didn't touch it. Also, not relevant to this patch. I think the 40 ms
is the maximum interval - lower values seem to be OK. In the future, it
might be beneficial to have this as an AVOption instead of being
hardcoded.

(I accidentally sent this directly to Georgi a while ago)

/Tomas
-------------- 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/20101006/efc0ed5c/attachment.pgp>



More information about the ffmpeg-devel mailing list