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

Michael Niedermayer michaelni
Fri Oct 2 11:37:39 CEST 2009


On Fri, Oct 02, 2009 at 08:50:32AM +0200, Niobos wrote:
> On 01 Oct 2009, at 16:20, Michael Niedermayer wrote:
>>> -{"muxrate", "set mux rate", OFFSET(mux_rate), FF_OPT_TYPE_INT, DEFAULT, 
>>> 0, INT_MAX, E},
>>> +{"muxrate", "set mux rate", OFFSET(mux_rate), FF_OPT_TYPE_INT, DEFAULT, 
>>> INT_MIN, INT_MAX, E},
>>
>> iam against such hacks, rates are positive values
>> about the rest of the patch, no comment, ive not reviewed it.
>
> I agree that is is a hack.
> However, I don't know enough of the ffmpeg-code to know if/where to add an 
> extra option such as -muxvbr or use some sort of -flags variant.

you would have to add max/min_muxrate like muxrate if there is some need
for that, (cbr would be the special case of min==max).

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

He who knows, does not speak. He who speaks, does not know. -- Lao Tsu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091002/11b8e64a/attachment.pgp>



More information about the ffmpeg-devel mailing list