[Kdenlive-devel] ffmpeg screen capture with Alsa sound ?
Jean-Michel Pouré
jm at poure.com
Tue Oct 21 20:34:13 UTC 2008
Le mardi 21 octobre 2008 à 13:02 -0700, Dan Dennedy a écrit :
> This seems rather silly. First, why use sox and not arecord? Secondly,
> the audio is encoded twice when it could pass uncompressed pcm through
> the pipe:
>
> arecord -D default -t raw -c 1 -f S16_LE -r 11025 | ffmpeg -f s16le
> -ar 11025 -ac 1 -i - ...
>
Thanks a lot Dan.
I used this command line:
arecord -D default -t raw -c 1 -f S16_LE -r 48000 - | \
ffmpeg -f s16le -ab 128k -ar 48000 -ac 1 -i - -acodec mp2 \
-f x11grab -r 2 -s 1400x1050 -i :0.0 -vcodec mpeg4 \
/home/jmpoure/kdenlive/capture.avi
But I only hear scratches. Image is good.
Any input?
Kind regards,
Jean-Michel
More information about the Kdenlive
mailing list