[FFmpeg-devel] [PATCH]Higher default mpeg muxrate for large dimensions

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Jan 18 04:07:41 CET 2012


Michael Niedermayer <michaelni <at> gmx.at> writes:

> > -                stream->max_buffer_size = 230*1024; //FIXME this is
probably too small as default
> > +                stream->max_buffer_size = FFMAX(st->codec->width *
st->codec->height, 230*1024);
> 
> iam not sure about this, its a bit hackish but probably ok as long as
> the standard resolutions never result in too large buffers

What would be too large?

> also the max buffer size that can be stored in the file should not be
> exceeded

And what is the max buffer size?

Thank you, Carl Eugen



More information about the ffmpeg-devel mailing list