Jump to content

Record your desktop

Recommended Posts

Hey all,


Well its been a while since I posted a guide on linux-noob :( this is due to being a bit to busy with university work, anyways I thought I would write a small guide on how to record your desktop using xvidcap. Xvidcap dose not require VNC and is capable of saving your recoding in the following formats:


X11 Window Dump (.xwd)

Portable Graymap File (.pgm)

Portable Anymap File (.ppm)

Portable Network Graphics File (.png)

Joint Picture Expert Group (.jpg, .jpeg)

Microsoft Audio Video Interleaved File (.avi)

General AVI file (DIVX default) (.mpeg, .mpg)

Microsoft Advanced Streaming Format (.asf)

Macromedia Flash Video Stream (.flv, .flv1)

Macromedia Shockwave Flash File (.swf)

DV Video Format (.dv)

MPEG1 System Format (.m1v, .vcd)

MPEG2 PS Format (.m2v, .svcd)

Quicktime Format (.mov, .qt)


The first step to this guide is to install the livna repository. If you don't know how to do this you can have a read of https://www.linux-noob.com/forums/index.php?showtopic=2533 tutorial which

shows you how to install the livna repository. Once you have installed the livna repository you can install the xvidcap utility, which is the program we will use to record your desktop


yum -y install xvidcap


Once xvidcap has been installed you can simply issue the following command to start recording your desktop:




If you want to specify a larger region of the screen to record you can simply issue the following;


xvidcap --cap_geometry 800x600


You can also specify the X and Y co-ordinates of the screen as shown below:


xvidcap --cap_geometry 800x600+0+0


The above will record 800x600 in the top left corner of your screen. If you want to save your recorded desktop into one of the video formats supported by xvidcap you can simply issue the following command with the following qualifiers.


xvidcap --cap_geometry 800x600+0+250 --file test.avi --format avi


Let's have a break down of the qualifiers and what they do:


--cap_geometry 800x600

This qualifier specifies the region of the screen you want to record.


--file test.avi

This qualifier tell xvidcap what to save the file as, the default is test-001.mpeg


--format avi

This qualifier tells xvidcap what format to save the data in, for a list of formats just use

  • Like 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...