[FFmpeg-devel] [PATCH] avfilter/bufferqueue: Increase buffer queue size

Tobias Rapp t.rapp at noa-audio.com
Wed Jun 4 15:10:04 CEST 2014


Derek Buitenhuis wrote:
> On 6/3/2014 8:07 AM, Tobias Rapp wrote:
> > -#define FF_BUFQUEUE_SIZE 32
> > +#define FF_BUFQUEUE_SIZE 64
> 
> Where did this value come from? s it just a random increase,
> hoping no file triggers it... ?

It is the smallest increase that matches the "Powers of 2 are recommended"
comment above the constant definition and does not cause an error with the
sample files available to me (the one file attached to ticket #3510 and two
files generated by Adobe Premiere Pro CC).

My command line used for testing was:

./ffmpeg -i sample01.mov -f wav -codec:a pcm_s16le -filter_complex \
"[0:a] amerge=inputs=8 [out_a]" -map "[out_a]" -y /tmp/ffmpeg-test01.wav


Regards,
Tobias



More information about the ffmpeg-devel mailing list