Linux-Noob Forums
Record your desktop - Printable Version

+- Linux-Noob Forums (https://www.linux-noob.com/forums)
+-- Forum: Linux Noob (https://www.linux-noob.com/forums/forum-3.html)
+--- Forum: Tips and Tricks (https://www.linux-noob.com/forums/forum-59.html)
+---- Forum: Audio and Video (https://www.linux-noob.com/forums/forum-27.html)
+---- Thread: Record your desktop (/thread-1365.html)



Record your desktop - xDamox - 2007-05-29


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:

 

Quote: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 [/url][url=<___base_url___>/index.php?showtopic=2533][/url][url=<___base_url___>/index.php?showtopic=2533]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

 



Code:
yum -y install xvidcap




 

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

 



Code:
xvidcap




 

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

 



Code:
xvidcap --cap_geometry 800x600




 

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

 



Code:
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.

 



Code:
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