[FFmpeg-devel] [HACK]Allow muxing high-bitrate AC-3 in avi

Justin Ruggles justin.ruggles
Thu Dec 30 02:49:12 CET 2010

On 12/29/2010 07:11 PM, Michael Niedermayer wrote:

> On Wed, Dec 29, 2010 at 06:50:52PM +0100, Carl Eugen Hoyos wrote:
>> Hi!
>> Currently, when muxing stereo AC-3 >384k in avi, the resulting file cannot be 
>> played back with WMP, vlc, xine, ffplay and MPlayer (both demuxers).
>> Attached hack allows playback on all these players, tested with 448k and 640k 
>> (and 576k on non-WMP). 0 does not seem to work on any player (I may not have 
>> tested all combinations).
>> Is this good enough or do I have to find the smallest working value?
> the smallest working value is the largest bytes per packet that can occur.
> that said fixed 3000 should be ok if that is large enough

largest bytes per frame for AC-3 is 3840. Did you test 32kHz 640kbps?


More information about the ffmpeg-devel mailing list