Screen cast sync FAIL
Last night I tried my hand at screen casting. Apart from it being an unmitigated disaster, or maybe because it was a complete waste of time, I learned a few things. And now I am on the hunt for a better set of screencasting tools.
I started with gtk-recordmydesktop. Thirty second trial clips recorded nicely, but the full 5 minute tutorial I was working on refused to do its bit at the end where the audio and video get smooshed together. Not an obvious fail, no actual complaints, just hung software that had to be command line kill -9ed. Popey suggested reducing my screen resolution to 1024x768. Yay! This allowed me to get through the process of creating an OGG video. But the sound was blurpy and syllables were missing and basically it got more and more unsynced as the video progressed. Thinking it would magically right itself at some point, I pressed on looking for somewhere to upload the file so that I could show people.
ShowMeDo was my first stop. This tutorial hosting service came up at the screen casting BoF at DrupalCon Szeged (I've copied my rough notes from TomBoy to the end of the session description). I created an account, and filled in all the information and confirmed my email address. ShowMeDo allowed me to upload the OGG file directly. Awesome! I thought I was done. And then there was a little icon saying that the tutorial was waiting for approval. ugh. (This is a good thing, which I'll get to in a minute.) I'm not exactly good at waiting, so I went looking for another place to upload the video. Repeat the process for Vimeo and YouTube and Google Video. None accept OGG files. Ugh. I also tried archive.org, but I got irritated and gave up. I'm sure I have an account there, but I can't remember what email address I used.
So obviously I needed to convert my OGG file into something else. I found this really great (video) tutorial on how to convert OGG files to MP4 files. Done! Here's the blurpy version for you to see.
At a few points in the tutorial there was mention of Cinelerra, a video editing suite. The thing that really caught my eye was the ability to zoom in to specific parts of the screen (check out the how to convert OGG to MP4 video to see what I mean). Other people have done this zoom in/out using Compiz at the time of recording, which means getting the zoom perfect while talking. Not my idea of a fun time. Adding effects afterwards, however, is more interesting. Other tutorials showed that you can add still images to the video using this tool (for intro and outro slides) and yet another person does their screen casting using Cinelerra (this turns out to be not so good because the pointer isn't recorded). It's starting to sound even better!
After figuring out how to install Cinelerra (it's not in the Ubuntu repository) I cranked it open and was immediately overwhelmed. I followed the video tutorial for screencasting with Cinelerra and got closer, but had no audio. An hour later I had audio and a half-filed bug report against ALSA (switching to OSS both in Cinelerra and the System/Preferences/Sound solved the problem). I got a Linux QuickTime Movie screen cast spit out of Cinelerra. Awesome! But (and this will make you cry) the Exact. Same. Sound Blurping. Existed. The audio and sound were not synced and further more the pointer wasn't recorded. Fail.
Admitting defeat of finding an all-in-one recording tool I recorded a new voice track in Audacity for the tutorial that I could sync to the video in Cinelerra. It was getting late by this time and my enthusiasm was starting to wane. In my search for tutorials on how to sync audio and video I found another little gem, Adding audio to your screencast. I could have just used this and be done with the whole thing, but I wanted the zoom in/out effects that I'd learned about a few short hours ago. Life cannot go on without zooming screen casts. Full stop. So I went to bed, determined to make things work the next day (today).
Sometime during the night Popey had sent me another email with the following recommendation (I don't have permission to quote, and he may never speak to me again, but here it is):
I've been thinking about your screencasting issue in my sleep :S
Tony has done a wodge of screencasts using recordmydesktop and he had it running at a ridiculously high resolution. Knowing him I'm pretty sure he doesn't have a massively powered PC but I do recall him saying that he uses the realtime/low-latency kernel and "jack" that you get with Ubuntu studio. You might want to try this because apparently it might help with the sync issues.
Just install the package "linux-image-rt" to get the current version of the low latency kernel and reboot to it. To get jack and the jack control tool get "jackd" and "qjackctl".
This is the screencast where he mentions what he uses http://ubuntuscreencasts.blip.tv/file/1131957/
Hope this helps.
Kernels are never "just" installed. Ever. You may add a red blinking light and a marquee scroll to this line if you'd like.
So now I've got my whole system (hopefully) properly backed up using JungleDisk (it's never a real backup until you've restored from it) and I'm in the process of downloading Intrepid. ... If you're going to mess up your kernel you might as well mess up everything else in the process too.
Remember how I said it was a good thing that ShowMeDo had my video in a moderation queue? Well it turns out that's also the icon for "processing." Today I got an email from Kyran, one of the co-founders of ShowMeDo, telling me that their conversion tools had done a not-so-great job with my OGG, and could I please convert it at my end to something else and upload it again. !!! This is AMAZING. He was lovely and charming and ok, I'll admit it, he used the ol' get more bees with honey flattery trick before asking me to convert the file locally ("liked the screencast - particularly as a beneficiary of bazaar/launchpad..[insert ask for new video format here]..Sorry for the hassle but your video is exactly right for showmedo and we are getting a nice little ubuntu collection so it should be seen"). So shouts out to the ShowMeDo team for caring about the quality of their product. If you have screen casts about things that are open source, please also consider uploading them to ShowMeDo.
Meanwhile, back at the ranch. ... Bob from the FOSSology project and I were talking about photos and videos and editing tools and I asked him if he knew about Cinelerra (I'd never heard of it, so I was pretty sure I needed to enlighten the rest of the world as well). He immediately emailed me back a link to the FSF.org Video Editing Software, High Priority Software Projects. Not only was Cinelerra listed but there were others that I'd never heard of as well... here's the full list:
That noise you just heard? That's my brain exploding at the thought of having to figure out which of these tools is going to meet my needs. I just wanted to make a couple of little tutorials! Sometimes the freedom to choose is not really all that freeing at all.
I'd like your opinion on what software/toolchain might best meet my needs. This is what I want to do (in no particular order):
- create screen casts on Ubuntu that I can upload to teh intarwebs (this is obviously the most important thing);
- convert screen casts to other (video) formats (this will probably be done with some kind of tool after the video is finished);
- record the screen and voice at the same time (I realize this might be a pipe dream if I also want the other features);
- add still images for intro/outro slides and/or diagrams;
- zoom in/out (as described above in the Cinelerra sample vid);
- other? did I miss a feature that I don't even know about?
I tend to work from a written script, so I don't really need to have a separate track for audio for transcribing (I can just upload the written script); however, it would be nice to be able to silence major eff-ups in the audio track where I accidentally cuss at my computer.
I look forward to your suggestions!

Comments
Leave your feedback at the bottom. Comments may be held in moderation.
I don't have any specific knowledge of how to do screencasts, but...
I've used ffmpeg a lot to do conversion from various formats to various other formats, mostly to make downloaded videos work on my Mythbuntu PVR. It's good stuff, though I'm unsure of the state of GUIs. I've also heard mencoder is good, but haven't used it.
If you need to support non-Free or otherwise restrictive audio/video formats, look at the Medibuntu repo.
Also, I haven't had many issues with switching kernels around on Ubuntu (except Alpha versions). Switched a bunch of virtual machines at work from linux-server to linux-virtual and everything Just Worked(tm), and same with the Hardy -> Intrepid update I did on my ThinkPad last week. YMMV, computers seem to like me. :)
If you have a tv-out, and a tuner card (preferably on separate computers) then you can just record the video stream.
Never tried it, but it would give you a nice smooth video.
I have always used Wink. It can record audio and screen separately, edit (ie. move the mouse cursor around, add text, add sound tracks etc) and render the outcome into a flash video - with the video controls and all.
The Windows version is simply one of the best applications ever. Linux version also exists, but it's lagging behind in versions... Perhaps you really should try it out though.
hello you can use pastevideo.com
its not perfect but it works
you need java 6
http://pastevideo.com
Wow! What a story. I hope that you don't give up on screencasting.
Have you heard of xvidcap? Perhaps give it a go and see if it works better for you than RMD.
Google Video supposedly supports ogg, although I haven't tried it myself.
Apparently VirtualBox on Linux supports redirecting all video output to a file encoded with ffmpeg. I've never used it myself, but seems like the perfect solution for screencasts. You set up your VM, and snapshot it so you always have the right config for it. This makes lots of sense where you might be wanting screencasts to be in a different OS. I think it's all controlled through
vboxheadless.Another option might be to use something like vnc2swf. I have no idea about adding audio afterwards, but it works really well on straight video.
VLC also has a screen caputure input source, but I've only tried it on OS X, where it failed horribly.
Reading your post was kind of sad; I've yet to find a good FOSS screencapture program for OS X, and I'd just assumed that they existed for Linux but that they weren't portable due to X11. Sounds like the situation is just as bad.
Good luck!
--Andrew
Hey Emmajane,
Sorry to hear about your recent cerebral hemmoraging screencast experiences. I just wanted to suggest something worth looking into. This Tuesday, after a year of recoding, Kdenlive is launching a *major* revamp including one particular new feature... recording screencasts. I know it also has options for recording audio, too, although I'm not sure how tested that is at the moment.
It can add still images, fades (and other transitions and effects), automatic slide shows, save to a whole slew of formats (basically anything FFMPG can handle) and is much, much, *much* easier to use than Cinelerra.
The only catch is that it's not released as a .deb yet. Thankfully, there is a simple script that's been written that automatically downloads, compiles and installs the latest SVN version, which as it's just in final bugfix mode for release on Tuesday, is rather stable at the moment. You can find it at:
http://www.kde-apps.org/content/show.php/Kdenlive+Builder+Wizard?content...
or wait for Tuesday for the final release.
PS I heard somewhere that blip.tv accepts Ogg. Haven't verified though.
I feel your pain – while you can do almost anything on Linux, sometimes a seemingly trivial task will take you on an 8-hour descent into madness (and kernel-hacking). That is the very same reason I gave up and converted to Mac early this year, after 5 years of Linux as my desktop OS.
So while I can't offer much help, I can at least offer my sympathies :)
P.S. Your double captcha is painful – one for the mandatory preview and one for posting :(
Here' s my 2 cents on gtk-recordMyDesktop and Ubuntu (Hardy).
First, on my regular Gnome Desktop, I double clicked on the Audio icon and selected the Recording tab and maxed up Capture volume.
Works with blurby sound, as you say, but also my colors are washed out.
Suspecting this might be compiz, I went with my alternative desktop manager (xfce), and yeah! colors perfect, even sound sounds a little better.
Here's how I converted the OGG file to AVI (based on help from http://ubuntuforums.org/archive/index.php/t-294605.html ):
mencoder -idx out5.ogg -ovc lavc -oac mp3lame -o out5.avi
Works a charm.
Thanks for sharing your work and investigation on this!
Victor Kane
http://awebfactory.com.ar
hello
i have updated pastevideo now i can record audio too
best regards
maybe someone can test this
VLC streams your desktop very well, once you get through the myriad of available options.
A big plus in VLC is the multitude of output formats to choose from so you can eliminate the conversion step. I've used it both on Windows and Ubuntu.
The best part of VLC is that it includes the streaming server so you could actually do it in real time, if you wish, with authenticated user access to the stream. Here is a simple guide for creating a screencast file: http://thejeshgn.com/2008/06/24/how-to-capture-the-screen-using-vlc-for-...
I've used a piece of software called Jing on Windows recently to do Screencasts, and it has an integrated upload feature to screencast.com which is quite useful, although the free accounts on screencast.com have a limit on the number of views.
I think there are ways to export the video to other formats, but I haven't played with those. However, Jing's pretty good for free software.
I gave up on Ubuntu for this. I go home and use the $20 program called Screenium on my mac. It does much better and even catches my face. Someone needs to get a Screenium type program for Linux, but it just hasn't happened yet.
See you at DrupalCon DC.
hello
no one likes pastevideo.com ?
pastevideo.com
i get no response :-/
Emma, you will want to check out LiVES (LiVES is a Video Editing System), which was primarily built for editing Ogg Theora media. It is not yet 1.0 quality, but it is pretty close.
By the way, your CAPTCHA requires cookies to be turned on. Normally, I do not enable that much access to a web site, just so I can leave a comment, but it's great to see you getting into Ogg publishing. Free media is even more important than a free desktop these days!