author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Tue, 23 Aug 2011 15:37:33 +0300 | |
changeset 956 | 673f9fd0115d |
parent 916 | f96040b5d018 |
child 1334 | 9bf0d5a1f0cf |
permissions | -rw-r--r-- |
912
b9eab34a4ce1
Take proper file name.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
597
diff
changeset
|
1 |
.. -*- coding: utf-8 -*- |
913
f7cb11596372
Fix reStructedText error.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
912
diff
changeset
|
2 |
|
f7cb11596372
Fix reStructedText error.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
912
diff
changeset
|
3 |
============ |
f7cb11596372
Fix reStructedText error.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
912
diff
changeset
|
4 |
Screncast. |
f7cb11596372
Fix reStructedText error.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
912
diff
changeset
|
5 |
============ |
912
b9eab34a4ce1
Take proper file name.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
597
diff
changeset
|
6 |
.. contents:: |
377 | 7 |
|
914 | 8 |
VLC. |
9 |
==== |
|
10 |
:: |
|
11 |
||
12 |
$ cvlc screen:// --screen-mouse-image cursor.png --screen-fps=12 \ |
|
916 | 13 |
--screen-width=1680 --screen-height=1050 --no-sout-audio --sout \ |
14 |
"#transcode{venc=theora,quality:10,scale=0.75,fps=12}:duplicate{dst=std{access=file,mux=ogg,dst=desktop.ogg}}}" |
|
914 | 15 |
|
916 | 16 |
$ cvlc screen:// --screen-fps=12 --screen-mouse-image=e:/home/.icon/cursor.png --no-sout-audio --sout \ |
17 |
"#transcode{venc=x264,quality:100,scale=1,fps=12}:duplicate{dst=std{access=file,mux=mp4,dst=desktop.ogg}}}" |
|
915 | 18 |
|
914 | 19 |
Available options: |
20 |
||
21 |
screen-caching <integer> |
|
22 |
Time in milliseconds. |
|
23 |
screen-fps <integer> |
|
24 |
Capture frames per second (0 default). |
|
25 |
screen-top <integer> |
|
26 |
The top edge coordinate of the subscreen. |
|
27 |
screen-left <integer> |
|
28 |
The left edge coordinate of the subscreen. |
|
29 |
screen-width <integer> |
|
30 |
The width of the subscreen. |
|
31 |
screen-height <integer> |
|
32 |
The height of the subscreen. |
|
33 |
screen-mouse-image <filename> |
|
34 |
Mouse pointer image to use. |
|
35 |
||
912
b9eab34a4ce1
Take proper file name.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
597
diff
changeset
|
36 |
Wink. |
b9eab34a4ce1
Take proper file name.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
597
diff
changeset
|
37 |
===== |
377 | 38 |
|
39 |
Using Wink you can capture screenshots, add explanations boxes, buttons, |
|
40 |
titles etc and generate a highly effective tutorial for your users. |
|
41 |
||
42 |
http://www.debugmode.com/wink/ |
|
43 |
home page |
|
44 |
||
912
b9eab34a4ce1
Take proper file name.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
597
diff
changeset
|
45 |
vnc2flv. |
b9eab34a4ce1
Take proper file name.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
597
diff
changeset
|
46 |
======== |
378
1aeb77e1b4be
Added vnc2flv and ffmpeg.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
377
diff
changeset
|
47 |
|
1aeb77e1b4be
Added vnc2flv and ffmpeg.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
377
diff
changeset
|
48 |
In order to rrecord require VNC server running on host. |
1aeb77e1b4be
Added vnc2flv and ffmpeg.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
377
diff
changeset
|
49 |
|
1aeb77e1b4be
Added vnc2flv and ffmpeg.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
377
diff
changeset
|
50 |
http://www.unixuser.org/~euske/python/vnc2flv/index.html |
1aeb77e1b4be
Added vnc2flv and ffmpeg.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
377
diff
changeset
|
51 |
home page |
1aeb77e1b4be
Added vnc2flv and ffmpeg.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
377
diff
changeset
|
52 |
|
912
b9eab34a4ce1
Take proper file name.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
597
diff
changeset
|
53 |
ffmpeg. |
b9eab34a4ce1
Take proper file name.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
597
diff
changeset
|
54 |
======= |
913
f7cb11596372
Fix reStructedText error.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
912
diff
changeset
|
55 |
:: |
378
1aeb77e1b4be
Added vnc2flv and ffmpeg.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
377
diff
changeset
|
56 |
|
1aeb77e1b4be
Added vnc2flv and ffmpeg.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
377
diff
changeset
|
57 |
$ ffmpeg -f x11grab -s cif -i :0.0 capture.mpg |
1aeb77e1b4be
Added vnc2flv and ffmpeg.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
377
diff
changeset
|
58 |
|
913
f7cb11596372
Fix reStructedText error.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
912
diff
changeset
|
59 |
Recordmydesktop. |
f7cb11596372
Fix reStructedText error.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
912
diff
changeset
|
60 |
================ |
f7cb11596372
Fix reStructedText error.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
912
diff
changeset
|
61 |
|
912
b9eab34a4ce1
Take proper file name.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
597
diff
changeset
|
62 |
Screenshort movies. |
b9eab34a4ce1
Take proper file name.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
597
diff
changeset
|
63 |
=================== |
377 | 64 |
|
912
b9eab34a4ce1
Take proper file name.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
597
diff
changeset
|
65 |
ImageMagic and shell script. |
b9eab34a4ce1
Take proper file name.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
597
diff
changeset
|
66 |
---------------------------- |
913
f7cb11596372
Fix reStructedText error.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
912
diff
changeset
|
67 |
:: |
377 | 68 |
|
69 |
#!/bin/bash |
|
70 |
let iter=1 |
|
71 |
while [ "$iter" -le "$stop" ]; do |
|
72 |
import $iter.png |
|
73 |
sleep 1 |
|
74 |
let x+=1 |
|
75 |
done |
|
76 |
||
77 |
If you interesting in capturing specific window - by 'xwininfo' find, |
|
913
f7cb11596372
Fix reStructedText error.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
912
diff
changeset
|
78 |
intereesting your window id (hex value) and use command:: |
377 | 79 |
|
80 |
import -window $windowid $iter.png |
|
81 |
||
913
f7cb11596372
Fix reStructedText error.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
912
diff
changeset
|
82 |
To quick view result run:: |
377 | 83 |
|
84 |
$ cd $img_dir |
|
85 |
$ animate -delay 20 *.png |
|
86 |
^C |
|
87 |
||
913
f7cb11596372
Fix reStructedText error.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
912
diff
changeset
|
88 |
To compound image together:: |
377 | 89 |
|
90 |
$ convert -delay 20 *.png capture.mng # license free, multi-image file format |
|
91 |
$ convert -delay 20 *.png capture.gif |
|
92 |
||
913
f7cb11596372
Fix reStructedText error.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
912
diff
changeset
|
93 |
You can add text to pictures before compound theirs:: |
377 | 94 |
|
95 |
$ mogrify -fill yellow -draw 'Rectangle 10,10 150,30' -fill black -pointsize 14 \ |
|
96 |
-draw 'text 15,25 "by http://example.com"' $iter.png |
|
97 |
||
98 |
If screen capturing slow for you use MIFF file format. |
|
99 |
||
913
f7cb11596372
Fix reStructedText error.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
912
diff
changeset
|
100 |
Use root flag to capture all screen:: |
377 | 101 |
|
102 |
$ import -window root $iter.png |
|
379 | 103 |
|
104 |
http://linuxdevcenter.com/pub/a/linux/2004/03/04/screen_capture_movies.html |
|
105 |
Making Screen-Capture Movies by Robert Bernier |
|
912
b9eab34a4ce1
Take proper file name.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
597
diff
changeset
|
106 |