Learn about Linux
Download Linux
Get Linux help
Get special offers on:
Linux Application Dev Programming Software
Email:
#
Return to Create training videos with pyvnc2swf
© Copyright 1999-2008 - SourceForge, Inc., All Rights Reserved About Linux.com - Privacy Statement - Terms of Use - Advertise - Trademark - Ask Linux Questions - Write for Us - RSS Feed ThinkGeek - Slashdot - SourceForge.net - freshmeat - Surveys - Jobs
xorg/ImageMagick/mencoder hack for scrncap to xv
Posted by: Anonymous Coward on September 23, 2006 12:56 AMxwinid=`xwininfo|grep "Window id:"|awk '{print $4}'`
while [ 1=1 ]
do
nowtime=`date +%Y%m%d%H%M%S%N`
xwd -id $xwinid |gzip -1 > screencap.$nowtime.xwd.gz
done
gunzip *.xwd.gz
mogrify -format jpmencoder "mf://*.$in_type" -mf fps=$outfps -o amovie.xvid -ovc xvid -xvidencopts bitrate=2400 #-oac mp3lame -lameopts cbr:br=128g *.xwd
A bit of a hassle post processing to convert the frames to a movie but i get about 3-5fps on a AMD-64 3100
#