Sunday, May 19, 2013

Using avconv for capturing the desktop on Debian Linux

As far as I know, I can capture the desktop using avconv. No sound. I have not figured out how to add the sound. What avconv does is similar to what CamStudio does.

$ avconv \
-vol 0 \
-f alsa -ac 2 \
-i hw:0 \
-f x11grab \
-show_region 1 \
-video_size 1280x960 \
-framerate 24 \
-i $DISPLAY -threads 2 -q 1 \
-bt 8000000 \
-b 8500000 \
./test.avi




-vol 0 just tells the machine to mute the sound because I have stopped trying to add the sound.

No comments: