[FFmpeg-devel] [bug/patch] MPEG-TS muxer: PCR not in sync withPTS/DTS

Mike Scheutzow scheutzow
Thu Oct 22 21:51:02 CEST 2009


Attached is a patch for the MPEG-TS muxer which makes it generate an 
accurate Constant Bitrate transport stream.  This requires null packet 
insertion so that the PCR values are correct.

This patch incorporates the work done by Niobos in 
ffmpeg-mpegts-vbr-4.diff, and also includes the follow-on fix I 
suggested to him.

This patch does not solve all the problems I'm aware of with the ffmpeg 
mpegts muxer.

In particular, there are still situations where the estimated bitrate is 
too small. For example, it is wrong for H.264 video streams, and for 
audio-only streams. Those problems are separate bugs. For now, the 
-muxrate option can be used with these type of input streams.

Comments?

--
Mike Scheutzow
scheutzow at alcatel-lucent.com
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mpeg-mux-cbr-v1.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091022/d4a53411/attachment.asc>



More information about the ffmpeg-devel mailing list