Make a Movie of Your Linux Desktop

Want to show off your snazzy 3d desktop, or demonstrate the features of your favourite new program? Make a movie of your desktop to capture all your actions, edit it, then add a soundtrack.You need two pieces of software to accomplish this: xvidcap to capture the video and Avidemux to edit the movie and add a soundtrack. You may also need Audacity to shorten the audio file used for the soundtrack.

If your distribution doesn't have xvidcap in its repositories it can be downloaded from here. Debian and Ubuntu users will be able to use the .deb file, others will have to compile from source. Avidemux is most likely available in your repositories, but can be downloaded from here if it isn't.It takes quite a bit of your system resources to record video while running applications, so you may have to do a bit of tweaking to get a decent framerate from xvidcap. Recording only part of your desktop will get you a better framerate. Click the "eyedropper" toward the right side of the window, then use the mouse cursor to select a region of the desktop to record. Or, if you want to record the full screen, you can lower the resolution of your monitor.

 

The other thing you can do is tweak the frame rate xvidcap records at. Right click on the file name at the left of the window and select Preferences.

 

Select the Multi-Frame tab, and lower the frame rate. You may have to experiment a bit with different resolutions and frame rates until you get an acceptable level of quality. You can also change the directory and file name the movie is saved to here.

When you are ready to record click the red Record button. xvidcap will record all your actions to the file specified. When you are finished, press the Stop button. You will be presented with a screen that will tell you the frame rate of your movie. Play it to see what it looks like. If the frame rate is too low it will play very quickly. Do some more adjusting of the frame rate, your resolution, and perhaps record a smaller region to improve the quality.This is the vidcap I made of my desktop before any editing was done.


Once you are satisfied with the quality of your recording you will probably want to do some editing to remove things like the xvidcap window, long pauses, and stupid mistakes you may have made. We can use Avidemux to do some simple editing.Open Avidemux, then open your movie. We are going to remove the bits of the movie we don't want. Click the A button at the bottom of the window to select the beginning of the section you wish to remove. In this example we are going to remove the section of the movie that shows me starting xvidcap.

Continued on the next page Page 1 — Page 2

Article tags

Spread the word
Bookmark and Share
Profile image for steve-wild

Article Author: Steve Wild

Steve has been using Linux since 2002, and writes about computers, gadgets, and random thoughts on his blog at Chronological Dissonance. He also recently started a computer support company called HiTech Assist.

Visit Steve Wild's author pageSteve Wild's Blog

Read comments on this article, and add some feedback of your own
  • No image found

Article comments

  • 1 - Kingsley

    Feb 06, 2007 at 5:58 pm

    Nice guide. XVidCap is too laggy to record gameplay though. Is there a way to record and save it as a gif image?

  • 2 - Nick Presta

    Feb 06, 2007 at 6:05 pm

    I much prefer recordMyDesktop to xvidcap. rMD has a GTK frontend too (gtk-recordMyDesktop) which works in a similar way to xvidcap.

    Thanks for the Avidemux though.

    Kingsley, byzanz is the only desktop recorder I know of that will record to GIF format. You might want to check it out.

  • 3 - orthonovum

    Feb 06, 2007 at 6:43 pm

    how about telling us how you converted them to those nifty flash videos we are looking at on this page :)

  • 4 - robos

    Feb 06, 2007 at 7:01 pm

    Take a look at wink, not OSS but works quite good.

  • 5 - dune73

    Feb 07, 2007 at 5:15 am

    My workstation is much to slow for xvidcap and also the nice recordmydesktop mentioned. However, detouring over VNC worked out. I used vnc2swf.

  • 6 - anonymous

    Feb 08, 2007 at 8:47 am

    According to the webside everyone should make sure that they are using the newer version of xvidcap, i was using the older xcap and it was painful, so thanks for this post.

    The old versions have a different ui, so they are pretty easy to tell apart.

  • 7 - delfick

    Feb 08, 2007 at 9:50 am

    there is also the capture plugin for beryl found in beryl svn :D

    it works really really really well :D

  • 8 - delfick

    Feb 08, 2007 at 10:25 am

    here, have a little video i made that shows it :D

    for more information visit here and i'm running

    AMD Athlon 64 3500+ (in 32 bit mode)
    1 gig RAM
    Nvidia 6600GT PCIE
    Nvidia's method (instead of xgl or aiglx)
    ubuntu edgy
    gnome
    latest beryl svn

  • 9 - bob

    Feb 09, 2007 at 5:26 am

    i leik use teh fraps dat i got from teh dlsite itwas leik 1 yer ago and it leik is mutch beterr tan teh xvidclax dat is dificlut and stuf

  • 10 - redtux

    Feb 11, 2007 at 9:02 pm

    ffmpeg -f x11grab -vd x11:0.0 -qscale 3 -an -s $size $timerec -r 12 -y file.avi
    where size is resolution of screen and time how long you want to record

  • 11 - Jim Davis

    May 04, 2007 at 1:58 am

    Nice tutorial, i am really keen to give this a try.

  • 12 - asma

    May 16, 2007 at 10:32 am

    how can I record the sound comes out of me spekers at the same time I record my screen??!

  • 13 - smita

    Jun 08, 2007 at 3:03 pm

    i like it.its easy to use and install!

  • 14 - Farad

    Jul 28, 2007 at 6:33 pm

    Very cool, tried on SLED10, working fine, great for creating tutorials..

  • 15 - popo

    Jan 06, 2008 at 1:04 am

    time needs -t
    and the name of the video device is ????? in which distro????

  • 16 - j

    Jul 24, 2008 at 3:42 pm

    all video captures i have tryed are buggy as hell
    dont even bother

  • 17 - Lukas

    Nov 01, 2008 at 5:40 am

    My recorded video is too fast

  • 18 - excr

    Jan 18, 2010 at 7:05 am

    @redtux, thanks for tip with ffmpeg

    In my Debian, I put -r and -s parameters before -i (-i instead od -xd).
    ffmpeg -f x11grab -s sxga -r 12 -i :0.0 -qscale 3 -an -t $timerec -y file.avi

Add your comment, speak your mind

Personal attacks are NOT allowed.
Please read our comment policy.
Please preview your comment.

blogcritics lists for May 19, 2013

fresh articles Most recent articles site-wide

fresh comments Most recent comments site-wide

most comments Most comments in 24hrs

top writers Most prolific Blogcritics for April

top commenters Most prolific Commenters in 24 hrs