[20.Dec 23:08:28] FreeBSD poser:~
user :-# x11movie -h
Usage: x11movie [-vhbd] [-wrfspeq <value>]
Description:
x11movie is an interactive bash script for recording an mpeg-movie
of your actions in X11.
Options:
-v print [v]ersion information
-h show [h]elp information (this text)
-b set [b]eep on and send a beep for each record. This will only work
when margin bell has been enabled in your xterm.
-d set [d]ebug on. Print more information in addition to the normal
blabber e.g. display free disk space on the current filesystem.
-w value [w]ait n seconds between each screenshot. Default is set to 2.
Useful is a value between 2 and 4. 0 is not allowed.
-r value set [r]esize geometry, see convert(1). Default is 1000x800. If set
to Null resize is off.
-f value enables a time lapse function. N copies of the same source [f]rame
will be created in the movie, making fast actions better visible.
Especially useful for high values with the -w option.
-s value set [s]harpen on. Sharpen the images before encoding. Default is
set to 10.
-p value which screenshot [p]rogram to use: <import> or <xwd>, Default is
set to xwd and fallback to import.
-e value which [e]ncoder to use: <mpeg_encode> or <ppmtompeg>, Default is
set to mpeg_encode and fallback to ppmtompeg.
-q value set [q]uality by compression level only when using import. Default
value is set to 100. Quality can also be a performance issue. See
import(1)
Interactive Mode:
While recodring you are able to <s> stop, <p> pause and <r> resume
recording. You will also be asked before mpeg movie encoding starts.
Example: x11movie -p import -r 500 -w 3 -s 40 -f 30
Reqirements:
identify(1)(ImageMagick(1)), convert(1)(ImageMagick(1)),
mpeg_encode(1) or ppmtompeg(1)(netpbm(1))
xwm(1) or import(1)(ImageMagick(1)),
echo "die_scripterinAT1ooo1.de"|sed 's/AT/@/' # ;-)
[20.Dec 23:13:01] FreeBSD poser:~/tmp
user :-# x11movie
recording...
<s> Stop, <p> Pause
10 11 12 13 14 15 16 17 18 19 20
21 22 23 24 25 26 27 28 29 30 31 s
recording stopped
cleaning....done
resizing......................done
encode now? [y/n]
y
encoding..........done
X11 movie mpg [ ./x11movie.1220231308/x11movie.mpg ] successfully encoded :-)
for re-encoding type: mpeg_encode ./x11movie.1220231308/x11movie.conf
good bye
[20.Dec 23:17:48] FreeBSD poser:~/tmp
user :-# x11movie -dbp import -q 70 -s 20 -w 3 -r 500 -f 8
DEBUG: -p screenshot programm is set to import
DEBUG: -p encoder programm is set to mpeg_encode
DEBUG: -r resize is set to: 1 -- [1] on, [0] off -- geometry: 500
DEBUG: -w wait between screenshots: 3 seconds
DEBUG: -s sharpen is set to: 1 -- [1] on, [0] off -- value: 20
DEBUG: -b beep is set to: 1 -- [1] on, [0] off
DEBUG: -d debug is set to: 1 -- [1] on, [0] off
DEBUG: -f frames is set to value 8
DEBUG: working directory: /home/user/tmp/x11movie.1220231750
DEBUG: ...test: done
recording...
DEBUG: PID=33010 MYPID=32961
<s> Stop, <p> Pause
10 11 12 13 14 15 16 17 18 19 20 DEBUG: available Space on /home: 25G
21 22 p
paused
<s> Stop, <r> Resume
r
recording...
DEBUG: PID=33113 MYPID=32961
<s> Stop, <p> Pause
32 33 34 35 36 37 s
recording stopped
cleaning....done
resizing...........done
sharpening......done
encode now? [y/n]
y
encoding.......done
X11 movie mpg [ ./x11movie.1220231750/x11movie.mpg ] successfully encoded :-)
for re-encoding type: mpeg_encode ./x11movie.1220231750/x11movie.conf
good bye
[20.Dec 23:21:30] FreeBSD poser:~/tmp
user :-# cd ./x11movie.1220231750/
[20.Dec 23:21:36] FreeBSD poser:~/tmp/x11movie.1220231750
user :-# ls
screencast0010.jpg screencast0017.jpg screencast0033.jpg
screencast0011.jpg screencast0018.jpg screencast0034.jpg
screencast0012.jpg screencast0019.jpg screencast0035.jpg
screencast0013.jpg screencast0020.jpg screencast0036.jpg
screencast0014.jpg screencast0021.jpg screencast0037.jpg
screencast0015.jpg screencast0022.jpg x11movie.conf
screencast0016.jpg screencast0032.jpg x11movie.mpg