[FFmpeg-devel] [PATCH] increase MAX_AUDIO_FRAMESIZE

Sascha Sommer saschasommer
Wed Sep 2 22:14:37 CEST 2009


Hi,

On Mittwoch, 2. September 2009, Michael Niedermayer wrote:
> On Wed, Sep 02, 2009 at 09:16:26PM +0200, Sascha Sommer wrote:
> > Hi,
> >
> > On Mittwoch, 2. September 2009, Michael Niedermayer wrote:
> > > On Wed, Sep 02, 2009 at 08:03:02PM +0300, Kostya wrote:
> > > > On Wed, Sep 02, 2009 at 07:00:32PM +0200, Sascha Sommer wrote:
> > > > > Hi,
> > > > >
> > > > > attached patch increases the maximum audio framesizes. This makes
> > > > > it possible to play a few more wmapro files.
> > > >
> > > > And WavPack too :)
> > > >
> > > > > Regards
> > > > >
> > > > > Sascha
> > > >
> > > > I wonder how long we will increase that buffer before someone
> > > > proposes better buffer allocation system.
> > >
> > > i wonder if the decoders could maybe output smaller chunks?
> > > its better memory wise, better cache wise and also improves
> > > AV sync buffering requirements
> >
> > I wonder if it would help if the decode function could output smaller
> > chunks and set some flag so that it gets called again with the same
> > AVPacket?
>
> doesnt it already?
>

I don't know. Is there some documentation available somewhere? I tryed it 
before the AVPacket param was added and back then it did not return the rest 
of the buffer when you returned a value smaller than the passed in input 
buffer size.

Regards

Sascha



More information about the ffmpeg-devel mailing list