[FFmpeg-user] Cannot set ALSA buffer size (Invalid argument) during capture

Marco Paolieri paolieri at gmail.com
Mon Nov 27 11:55:49 EET 2017


e35c674d13a7f180412cfe058530a2e7f1d49a90 is the first bad commit
commit e35c674d13a7f180412cfe058530a2e7f1d49a90
Author: Justin Ruggles <justin.ruggles at gmail.com>
Date:   Wed Jun 22 16:38:20 2011 -0400

    alsa: limit buffer_size to 32768 frames.

    In testing, the file output plugin gave a max buffer size of about 20
million
    frames, which is way more than what is really needed and causes a memory
    allocation error on my system.

:040000 040000 bc8ae5608ccfe6b46dc90633c535d91b4c6c0e2b
88c1baef83722b3310430a9933221876d0db6095 M      libavdevice


Best,
Marco


More information about the ffmpeg-user mailing list