How To Do Screencasts In Linux!





Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Sep 22, 2012

First of all, I would like to credit Kevin Macleod for the awesome Rock music in this video.

Music used:
Title: Welcome to the Show
Author: Kevin MacLeod
Direct Link: http://incompetech.com/music/royalty-...
Download: http://incompetech.com/music/royalty-... to the Show.mp3
License: http://incompetech.com/m/c/royalty-fr...
Three cheers to Kevin Macleod!

Hey, Fellas! Today I am going to show you how to do proper screen casts in Linux! Its very simple!

If you have an rpm-based OS, do :

$ yum install ffmpeg

else if you have a debian based OS, do:

$ sudo apt-get install ffmpeg

After the packages are installed,

Run the the following command for a screen cast (without audio):

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

This will create a file out.mpg in the directory /tmp.

Run the the following command for a screen cast (with audio):

$ ffmpeg -y -f alsa -ac 2 -i pulse -f x11grab -r 30 -s `xdpyinfo | grep 'dimensions:'|awk '{print $2}'` -i :0.0 -acodec pcm_s16le my_output.wav -an -vcodec libx264 -vpre lossless_ultrafast -threads 0 my_output.mp4

This will create two files my_output.wav and my_output.mp4 in the current directory.

This correspond to the audio and video recorded.

To join combine the audio and video in a single file, just type:

$ ffmpeg -i my_output.wav -i my_output.mp4 -sameq Output.mp4

The required video will be stored in Output.mp4

For detailed explanation of the working of the above mentioned commands, just visit my blog :)

Enjoy :)

Have Fun!!!

My Blogpost: http://commandlinewani.blogspot.com/2...

Update: In fedora, Ctrl + Shift + Alt + R -- Records a Screencast of your entire desktop and saves it to your Videos folder.


to add this to Watch Later

Add to