[FFmpeg-devel] [PATCH]Fix AC3-in-avi for the remaining cases

Reimar Döffinger Reimar.Doeffinger
Sun Jan 2 09:09:25 CET 2011

On 2 jan 2011, at 05:04, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Sat, Jan 01, 2011 at 10:41:15PM -0500, Justin Ruggles wrote
>> The exact value can be
>> calculated if it is CBR.
> IIRC that only works for some cases of AC3 CBR as some dont have exactly
> matching packet size for the target rate & sample rate ?

I think there is also the issue that in the muxer we only have the sample rate to be set for the stream, which does not have to be the same as the sample rate the AC-3 data is encoded for, and the correct value depends on the latter...

More information about the ffmpeg-devel mailing list