author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Tue, 07 Jun 2011 15:00:40 +0300 | |
changeset 878 | 719703185d67 |
parent 597 | 55d1fc30ba15 |
permissions | -rw-r--r-- |
377 | 1 |
-*- mode: outline; coding: utf-8 -*- |
2 |
||
3 |
* Screen capture. |
|
4 |
||
597 | 5 |
** recordmydesktop. |
6 |
||
377 | 7 |
** Wink. |
8 |
||
9 |
Using Wink you can capture screenshots, add explanations boxes, buttons, |
|
10 |
titles etc and generate a highly effective tutorial for your users. |
|
11 |
||
12 |
http://www.debugmode.com/wink/ |
|
13 |
home page |
|
14 |
||
378
1aeb77e1b4be
Added vnc2flv and ffmpeg.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
377
diff
changeset
|
15 |
** vnc2flv. |
1aeb77e1b4be
Added vnc2flv and ffmpeg.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
377
diff
changeset
|
16 |
|
1aeb77e1b4be
Added vnc2flv and ffmpeg.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
377
diff
changeset
|
17 |
In order to rrecord require VNC server running on host. |
1aeb77e1b4be
Added vnc2flv and ffmpeg.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
377
diff
changeset
|
18 |
|
1aeb77e1b4be
Added vnc2flv and ffmpeg.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
377
diff
changeset
|
19 |
http://www.unixuser.org/~euske/python/vnc2flv/index.html |
1aeb77e1b4be
Added vnc2flv and ffmpeg.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
377
diff
changeset
|
20 |
home page |
1aeb77e1b4be
Added vnc2flv and ffmpeg.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
377
diff
changeset
|
21 |
|
1aeb77e1b4be
Added vnc2flv and ffmpeg.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
377
diff
changeset
|
22 |
** ffmpeg. |
1aeb77e1b4be
Added vnc2flv and ffmpeg.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
377
diff
changeset
|
23 |
|
1aeb77e1b4be
Added vnc2flv and ffmpeg.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
377
diff
changeset
|
24 |
$ ffmpeg -f x11grab -s cif -i :0.0 capture.mpg |
1aeb77e1b4be
Added vnc2flv and ffmpeg.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
377
diff
changeset
|
25 |
|
377 | 26 |
** Screenshort movies. |
27 |
||
28 |
*** ImageMagic and shell script. |
|
29 |
||
30 |
#!/bin/bash |
|
31 |
let iter=1 |
|
32 |
while [ "$iter" -le "$stop" ]; do |
|
33 |
import $iter.png |
|
34 |
sleep 1 |
|
35 |
let x+=1 |
|
36 |
done |
|
37 |
||
38 |
If you interesting in capturing specific window - by 'xwininfo' find, |
|
39 |
intereesting your window id (hex value) and use command: |
|
40 |
||
41 |
import -window $windowid $iter.png |
|
42 |
||
43 |
To quick view result run: |
|
44 |
||
45 |
$ cd $img_dir |
|
46 |
$ animate -delay 20 *.png |
|
47 |
^C |
|
48 |
||
49 |
To compound image together: |
|
50 |
||
51 |
$ convert -delay 20 *.png capture.mng # license free, multi-image file format |
|
52 |
$ convert -delay 20 *.png capture.gif |
|
53 |
||
54 |
You can add text to pictures before compound theirs: |
|
55 |
||
56 |
$ mogrify -fill yellow -draw 'Rectangle 10,10 150,30' -fill black -pointsize 14 \ |
|
57 |
-draw 'text 15,25 "by http://example.com"' $iter.png |
|
58 |
||
59 |
If screen capturing slow for you use MIFF file format. |
|
60 |
||
61 |
Use root flag to capture all screen: |
|
62 |
||
63 |
$ import -window root $iter.png |
|
379 | 64 |
|
65 |
http://linuxdevcenter.com/pub/a/linux/2004/03/04/screen_capture_movies.html |
|
66 |
Making Screen-Capture Movies by Robert Bernier |