Want to record your screen to make a video tutorial or show off some realtime artwork? If you're on linux there aren't many good screen recording utilities, and those that there are may not record to a video codec of your liking. FFFMPEG offers a plethora of command line options, but if you're not adept at using the terminal you may want something simpler. Thankfully Nathan Vegdahl has created a great script to simplify screen capture with python, and David Revoy subsequently wrote a nice tutorial on how to use it.
You're blocking ads, which pay for BlenderNation. Read about other ways to support us.
23 Comments
It really does work smooth!! http://vimeo.com/22468161
Thanks David and thanks Nathan (thepythonwizardextraordinaire).
Really great job. Thank you :)
Original guide: http://verb3k.wordpress.com/2010/01/26/how-to-do-proper-screencasts-on-linux/
That's really what I need :)
I told Bart about this method a very long time ago, but being his usual racist, retarded and religious self, he refused to tell Blender users about it.
@mitab Statements like that do not help your case.
The Durian team keeps surprising us!
FFFMPEG? never heard of it.
being a noob (to say the least) to using python does anyone here have the time to show the basics on starting this script? i've been scratching my head for a few hours now with 'tutors' on using python, but all i really want to do is run this script. thanks.
@oneshotal: Assuming you're running Linux, you open a terminal window. In the terminal, you type "git clone git://git.cessen.com/recordscreen.git" without the quotes and hit Enter.
After a few seconds the file will have been downloaded.
Next, you type "cd recordscreen" without the quotes and hit Enter.
Then you type "./recordscreen.py" without the quotes and hit Enter.
At that time, the script will start your recording session.
When you're done, go back to the terminal screen and hit the "q" key.
At that point, your recording should be saved with the file name(s) "out_0001.mkv", "out_0002.mkv" aso. in the same directory.
Hope this helps! If you're using Windows, or (God forbid!) Mac, the instructions will be roughly the same, I guess, but maybe someone else can elaborate on that.
at total klutz, thanks, and i am running windows.
If I am not mistaken this is a linux OS only script, although it works with python 2.x and 3.2
dear klutz, it didnt work. it was closer than anything before, .....
dear jikz, that would explain a lot. noobs beware.
This is a very interesting development considering that gui-based screencapturing linux tools such as gtkrecordmydesktop really lag behind these days -unlike say a couple of years ago. Thus, the only option is to use the command line which for most linux folks is no big deal. What *is* a big deal, though, is to figure out the proper screen capture settings using ffmpeg. I have found that what is an even *bigger* deal is to edit/post process the screencasts produced.
For example, the container used in the script is matroska and, in principle, there is nothing wrong with that.
However, if one imports the screen captured videos into VSE for editing problems arise. In my case even though ffmpeg captured 25 fps and everything seemed fine in the VSE (i.e. there was proper audio/video sync and the length of the video/audio strips matched perfectly), rendering the video out led to a mismatch because the actual fps was 50 instead of 25! The fps ffmpeg uses is not the same that is maintained in the matroska container! As Blender uses ffmpeg to decode the video, this means that although playback is fine rendering out leads to loss of audio and video sync (i.e. the video goes 2x and at about the middle you only get black frames)! :(
This was a recent painful realization as I spent a couple of days editing screencasts before I realized that I couldn't render them. I haven't tested any other video editors though so maybe this is a problem only if one uses Blender's VSE.
Btw, the solution is to convert losselessly mkv to an mp4 container which can then be imported into VSE for editing. Everything worked fine after that.
@blendercomp Alternatively you can capture in mp4 at 25 fps using the correct commands-- see the help screen for more.
so is this a Linux only application or can it be used with windows?
if it can how do i download it?
this would be great if it was incorporated into blender
Ben: It's for Linux. On Windows, the old free Cam Studio (http://camstudio.org/) seemed to work best for me. There is also Capturefox, a free addon for Firefox. But I haven't used Windows in about a year ever since I started using Ubuntu.
the .py is for windows, but I suppose one could download a windows build of ffmpeg and try it on screen capture...
...edit--the .py is for linux.
Double edit: ffmpeg only captures x window (linux), should have researched better on that first...
thank you for letting me know
im having troubles with camstudio as i can not get divx to work with it.
i heard a
lot of positive opinions about this nice tool http://www.macvide.com/Macvide_screencap/, i'd recommend to use it!) but
thanx)