Friday, September 10, 2010

[Level 2] Use ffmpeg to record desktop in Ubuntu.



You can use ffmpeg to record your desktop.

1. install ffmpeg first.
# atp-get install ffmpeg

2. use command to record.

# ffmpeg -f x11grab -s wxga -r 25 -i :0.0 -sameq /tmp/out.mpg

3. play it

# vlc /tmp/out.mpg

with this helps.


regards,

Stanley Huang