Linux: Desktop Recording

Use the following script…

Using the recordmydesktop application…

#!/bin/bash

x=138
y=335
WIDTH=584
HEIGHT=416
WORKDIR=/path/to/directory
OUTPUTFILE=/path/to/directory/file.ogv
AUDIODEVICE=pulse

recordmydesktop -x $x -y $y \
 --width $WIDTH \
 --height $HEIGHT \
 --workdir $WORKDIR \
 -o $OUTPUTFILE \
 --on-the-fly-encoding \
 --no-wm-check \
 --device $AUDIODEVICE \
 --channels 2 \
 --freq 44100
Advertisements
This entry was posted in Linux and tagged , , , . Bookmark the permalink.