I've been using Linux screencasting tools for the last year or so to record and post lectures for an on-line course I teach. It's worked fairly well after some initial fiddling I did so as to get various settings right. I've used primarily recordmydesktop from the command line for this, since I'm a command-line type-o-guy. I've also fiddled a bit with using ffmpeg's x11grab--which looks promising, except that, unlike recordmydesktop, you can't pause, then resume, the recording.
I've run into a bit of a glitch recently in that I upgraded major hardware in my system which has the effect, although just about everything's the same as far as the operating system is concerned, of doubling the final size of my screencasts. So, screencasts I make that once came in at about 2 MB per minute are now coming out to be about 4 MB per minute. This creates some problems with my course's web hosting site, which has file-size limits that are now frequently being exceeded by the size of my screencast lecture files--which can be up to one hour long.
I'm a bit mystified as to why the size of these files has doubled using the new hardware, but rather than attempting to solve that conundrum, I'd rather just try and figure out how I can make these files smaller. I'd like to ask for tips for doing that in this thread.
I've tried feeding various parameters that do things like degrade video and/or audio quality to recordmydesktop and ffmpeg in my attempts at reducing the final size of my screencast files, but I've so far been unable to reduce the size of my recordings to only about 4 MB per minute. I've also tried reencoding the files with ffmpeg, but that's resulted only in a slight reduction in file size.
For reference, here are some of the commands I've used for screencasting:
Code:
ffmpeg -f alsa -ac 2 -i hw:0,0 -f x11grab -r 15 -s 830x660 -i :0.0+227,130 -acodec libvorbis -ab 320000 -vcodec libvpx output.webm
Code:
ffmpeg -f alsa -ac 2 -ab 32k -i hw:0,0 -f x11grab -r 15 -s 830x660 -minrate 512k -i :0.0+227,130 -acodec libmp3lame -vcodec flv output.flv
Code:
recordmydesktop -x 235 -y 145 --width 810 --height 630 --device hw:0,0 --pause-shortcut Control+p --no-cursor --v_quality 12 -o out.ogv
If anyone has any tips for reducing the size of the output files I get using commands like these, whether that involves alternative command-line switches or ways of reencoding the finished files, please offer them. I'm hoping I can once again get my screencast files to come out at about 2 MB per minute, as that will result in files much better suited to my upload limits.
Thanks,
James
PS See http://ubuntuforums.org/showthread.php?t=1954167 for an initial post about this topic that I made some months ago.
Bookmarks