Thursday, January 19, 2012

[Tip] Record your desktop in Linux using two easy commands in your preferred format



Which is best Desktop recording app ?? is it Record my Desktop ?... NAE! Is it RecordItNow? ... NAE!

The best desktop session recorder are these two commands which can help you record your desktop in any format.









 Command 1: To Record desktop session use ffmpeg

 ffmpeg -r 30 -s 1366x768 -f x11grab -i :0.0 -vcodec msmpeg4v2 -qscale 2 test.avi|arecord > test.wav 


 Command 2: To Merege Audio and Video in one file and reducing the size

 ffmpeg -i test.wav -i test.avi combine.avi  



In command 1 you can change the resolution according to your needs and change the codec and video format.

you can further reduce the size by reducing resolution of the video using this tutorial http://tutafuta.com/2011/06/12/want-a-free-video-converter-for-your-phone-give-it-a-handbrake/.

No comments:

Post a Comment