11 september 2012
Classified in : Software & Hardware

Recordscreen.py is a script to do screen record and video on Linux , developed in 2011 by Nathan Vegdahl my friend and colleague from the project Sintel . With this script , screen-capture from command line is easier via ffmpeg/libAv with a Python script. I update here the old blog post, to maintain the script for the LTS version of Ubuntu and it switch to AVconv.
sudo apt-get install wget libav-tools ffmpeg libavc1394-0 libavformat-extra-53 libavfilter2 libavutil-extra-51 mencoder libavahi-common-dataThen still in the terminal , do this line after line , to install the script :
wget http://www.davidrevoy.com/data/documents/recordscreen_12-04.zip( or install it manually from this link : recordscreen_12-04.zip )
unzip recordscreen_12-04.zip
rm recordscreen_12-04.zip
chmod +x recordscreen.py
./recordscreen.py
The terminal windows will start recording, and gives you feedback on the frame recorded.
Reduce the terminal windows, and start recording your demo.
To stop the process, call back the terminal windows and press 'Ctrl+C' twice on the keyboard over it.
Your video file will be saved next to your recordscreen.py file.
You can play it using VLC player.
For more informations, the script has a nice --help page ; with many flags to customise your settings ( width / high / ratio / framerate / audio / etc .... ) . Don't hesitate to read the documention :
./recordscreen.py --help
I use here the default setting. The raw videos are very large but recording is smooth. Before working on them on my favorite open-source video editor Kdenlive , I compress my source video with Avconv , in a terminal, like this :
avconv -i input.mkv -vcodec libx264 -r 30 -pre libx264-slower -an -threads 0 output.mkv
Then I can delete my sources , and keep my new compressed sources.
( ex : old file = 50MB , newer compressed file = 2.5MB )
Nathan's sources version from the GIT sources :
git clone git://git.cessen.com/recordscreen.git
Illustration credit on the visual : microphone and camera icons of the Faenza icon set
Classified in : Software & Hardware
18 comments
tuesday 11 september 2012, 19:46
tuesday 11 september 2012, 20:08
wednesday 12 september 2012, 00:19
wednesday 12 september 2012, 01:20
wednesday 12 september 2012, 16:33
wednesday 12 september 2012, 16:35
sunday 16 september 2012, 19:31
sunday 16 september 2012, 20:13
thursday 29 november 2012, 12:25
thursday 29 november 2012, 12:52
wednesday 12 december 2012, 11:43
wednesday 12 december 2012, 12:42
saturday 19 january 2013, 13:25
saturday 19 january 2013, 19:12
friday 25 january 2013, 10:37
thursday 07 february 2013, 20:04
saturday 23 march 2013, 18:25
saturday 23 march 2013, 23:55
Write a comment