simplesi
Posts: 2327
Joined: Fri Feb 24, 2012 6:19 pm
Location: Euxton, Lancashire, UK
Contact: Website

Screen recorder

Tue Aug 14, 2012 11:10 pm

is there any RaspberryPi/Linux screen recording software (a la Camstudio for Windows) ?

regards
Simon
Seeking help with Scratch and I/O stuff for Primary age children
http://cymplecy.wordpress.com/ @cymplecy on twitter

JeremyF
Posts: 515
Joined: Wed Jan 25, 2012 9:06 pm
Contact: Website

Re: Screen recorder

Tue Aug 14, 2012 11:44 pm

I doubt the Pi is fast enough for any screen recorder but maybe you could compile the source for http://sourceforge.net/projects/xvidcap/ (or maybe it's in repos)
{sig} Setup: Original version Raspberry Pi (B, rev1, 256MB), Dell 2001FP monitor (1600x1200), 8GB Class 4 SD Card with Raspbian and XBMC, DD-WRT wireless bridge

timothy3592
Posts: 64
Joined: Wed Jun 13, 2012 6:06 am

Re: Screen recorder

Wed Aug 15, 2012 12:08 am

A lot of programs can X11 grab. Personally I just use ffmpeg for that, since it lets me save the capture in any format i choose, which for the pi would probably be something like mpeg2 anything else just takes too much cpu time to encode.
X11 grabbing
FFmpeg can grab the X11 display.

ffmpeg -f x11grab -s cif -r 25 -i :0.0 /tmp/out.mpg

0.0 is display.screen number of your X11 server, same as the DISPLAY
environment variable.

ffmpeg -f x11grab -s cif -r 25 -i :0.0+10,20 /tmp/out.mpg

0.0 is display.screen number of your X11 server, same as the DISPLAY
environment variable. 10 is the x-offset and 20 the y-offset for the
grabbing.
from the ffmpeg manpage

hit up the manpage for commandline option for setting output codec and parameters and such.

simplesi
Posts: 2327
Joined: Fri Feb 24, 2012 6:19 pm
Location: Euxton, Lancashire, UK
Contact: Website

Re: Screen recorder

Wed Aug 15, 2012 4:04 pm

Thanks for the info:)
Trying to save to an mpg was a little too hard for the RPi but using this

Code: Select all

ffmpeg -f x11grab -s 480x360 -r 25 -i :0,0+700,100 /tmp/out.avi
was good enough to capture this from Scratch
http://youtu.be/l4yXa_2N4ww

Simon
Seeking help with Scratch and I/O stuff for Primary age children
http://cymplecy.wordpress.com/ @cymplecy on twitter

Return to “General discussion”