# HG changeset patch # User Oleksandr Gavenko # Date 1311416265 -10800 # Node ID f7cb11596372a9f324a60b87d89b1f4fd932f8f9 # Parent b9eab34a4ce1745ef986b280858652e82b6ba585 Fix reStructedText error. diff -r b9eab34a4ce1 -r f7cb11596372 screencast.rst --- a/screencast.rst Sat Jul 23 13:13:09 2011 +0300 +++ b/screencast.rst Sat Jul 23 13:17:45 2011 +0300 @@ -1,4 +1,8 @@ .. -*- coding: utf-8 -*- + +============ + Screncast. +============ .. contents:: Wink. @@ -20,14 +24,19 @@ ffmpeg. ======= +:: $ ffmpeg -f x11grab -s cif -i :0.0 capture.mpg +Recordmydesktop. +================ + Screenshort movies. =================== ImageMagic and shell script. ---------------------------- +:: #!/bin/bash let iter=1 @@ -38,35 +47,32 @@ done If you interesting in capturing specific window - by 'xwininfo' find, -intereesting your window id (hex value) and use command: +intereesting your window id (hex value) and use command:: import -window $windowid $iter.png -To quick view result run: +To quick view result run:: $ cd $img_dir $ animate -delay 20 *.png ^C -To compound image together: +To compound image together:: $ convert -delay 20 *.png capture.mng # license free, multi-image file format $ convert -delay 20 *.png capture.gif -You can add text to pictures before compound theirs: +You can add text to pictures before compound theirs:: $ mogrify -fill yellow -draw 'Rectangle 10,10 150,30' -fill black -pointsize 14 \ -draw 'text 15,25 "by http://example.com"' $iter.png If screen capturing slow for you use MIFF file format. -Use root flag to capture all screen: +Use root flag to capture all screen:: $ import -window root $iter.png http://linuxdevcenter.com/pub/a/linux/2004/03/04/screen_capture_movies.html Making Screen-Capture Movies by Robert Bernier -Recordmydesktop. -================ -