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

2017-11-27 Thread Marco Paolieri
Well, thank you! FFmpeg is an impressive project. -- Marco ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscr

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

2017-11-27 Thread Marco Paolieri
On Mon, Nov 27, 2017 at 2:43 AM, Carl Eugen Hoyos wrote: > Please double the definition of > ALSA_BUFFER_SIZE_MAX > on top of libavdevice/alsa.h until the device works for you > and report back so I can commit the new value! Doubling once from 65536 to 131072 was enough. -- Marco

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

2017-11-27 Thread Marco Paolieri
e35c674d13a7f180412cfe058530a2e7f1d49a90 is the first bad commit commit e35c674d13a7f180412cfe058530a2e7f1d49a90 Author: Justin Ruggles 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 mi

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

2017-11-26 Thread Marco Paolieri
On Sun, Nov 26, 2017 at 8:02 PM, Carl Eugen Hoyos wrote: > > Then please use git bisect to find the change > introducing the regression. I'm trying, but many commits do not compile properly. Specifically, I'm stuck with: make: *** No rule to make target 'libavutil/macros.h', needed by 'libswscal

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

2017-11-26 Thread Marco Paolieri
> > > Thanks! With this, 0.6.7 runs > > Sorry, I don't understand this sentence. ​Using the option '-ac 2', ffmpeg 0.6.7 works. But, using the same option, the current version from the master git branch doesn't work. -- Marco ​ ___ ffmpeg-user mailing

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

2017-11-26 Thread Marco Paolieri
> $ ffmpeg -f alsa -ac 2 -i hw:1,0 -t 30 out.wav Thanks! With this, 0.6.7 runs but newer versions still complain about: [alsa @ 0x55eb8e2a6780] cannot set ALSA buffer size (Invalid argument) hw:1,0: Input/output error Any idea? -- Marco ___ ffmpeg-user

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

2017-11-26 Thread Marco Paolieri
On Sun, Nov 26, 2017 at 2:13 PM, Carl Eugen Hoyos wrote: >> I tried to compile ffmpeg 0.6.7 from GitHub, but without success; it >> gives the error: >> >> libavcodec/vaapi_mpeg4.c:89:73: error: implicit declaration of >> function ‘ff_h263_get_gob_height’; did you mean ‘ff_h261_encode_init’? >> >>

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

2017-11-26 Thread Marco Paolieri
e: > 2017-11-26 13:06 GMT+01:00 Marco Paolieri : >> 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 @ 0x555d7

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

2017-11-26 Thread Marco Paolieri
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 using - ffmpeg version 3.3.4-2+b3 - alsa k