[Kdenlive-devel] ffmpeg screen capture with Alsa sound ?

Jean-Michel Pouré jm at poure.com
Tue Oct 21 19:18:02 UTC 2008


Le mardi 21 octobre 2008 à 21:13 +0200, Jean-Michel Pouré a écrit :
> Now, how to capture sound from Alsa input?
> I know that I could record seperately, but I fear unsynchronized
> sound.

This seems to be possible using Sox:
http://develcuy.com/en/content/debian/howto-screencasting-console-sox-and-ffmpeg

Example:
sox -t alsa "hw:0,0" -t ogg -A -2 -c1 -r11025 - | ffmpeg -y -i - -ar
11025 -ab 52 -ac 1 -f x11grab -s 800x600 -i :0.0+10,20 -b 200 -r 12
-aspect 4:3 -f flv test.flv





More information about the Kdenlive mailing list