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