[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

Comments

Popular posts from this blog

[Level 2] Shell Interactive With Zenity Episode 5 -- list

[Level 2] iif in Python