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

Carl Eugen Hoyos ceffmpeg at gmail.com
Sun Nov 26 14:17:58 EET 2017

2017-11-26 13:06 GMT+01:00 Marco Paolieri <paolieri at gmail.com>:
> Hello!
> I am trying to capture audio from an ATI Wonder 600 USB adapter using
> ffmpeg -f alsa -ac 2 -ar 48000 -i hw:1,0 -t 10 a.wav
> but I receive the error
> [alsa @ 0x555d7c2850a0] cannot set ALSA buffer size (Invalid argument)
> hw:1,0: Input/output error

It appears that this call and check are there for many years.

Feel free to test a very old version of FFmpeg like 0.6 to
find out if this is a regression.

> using
> - ffmpeg version 3.3.4-2+b3

And please test current vanilla FFmpeg git head, nothing
else is supported here.

Carl Eugen

More information about the ffmpeg-user mailing list