Linux Screencasting Tool Kazam Goes Gstreamer, Adds PulseAudio Support
Kazam Screencaster is a small program used for screen recording. It was mainly written by Andrew Higginson, you can read his initial blog post about it to get more background info. After the release of Ubuntu 11.04 (Natty Narwhal) there were no updates and and new releases and initial release will fail to install on Ubuntu 11.10 (Oneiric Ocelot). I’ve dug into the sources a little and fixed few minor issues and made everything installable on Ubuntu 11.10.
Later, I’ve exchanged couple of emails with Andrew and offered my help. So, I’ll release an official version of Kazam in mid January and continue to work on it.
What has changed?
There were many isses with ffmpeg from audio recording device selection to codec nightmares. What to install, where to get it? Compiling my own codecs?! Seriously? Truth be told, ffmpeg and H264 are a minor nightmare on Ubuntu there are problems with legal restrictions and there are problems with continuously changing parameters for x264 and ffmpeg, beside that, ffmpeg has API that could be used for accessing it.
The first thing to go was ffmpeg support, then I decided to drop H264 encoding too. I sacrificed some quality and CPU power for ease of use. Ffmpeg is still there, just disabled and waiting for better times in one of next releases I’ll enable it for those users that have necessary support libraries installed and I’ll provide a short guide on how to install them.
There as no real support for selecting audio devices and which input to use for recording sound. Right now the default pulse audio input was used and user had to change the default in order to use different input. To make things worse, Ubuntu sound settings don’t list monitor devices as input devices and recording application sound was close to impossible for most of the users. After a lot of digging I managed to whip up python support for pulseaudio and extracted list of all audio devices that can be used for recording.
User interface changes
In Ubuntu 11.10 I found menu bar icons too subtle and hard to read. I changed them just tiny little bit and I added colors to record and pause indicator. Before I got rid of ffmpeg I also added one combo box for selecting back-end, currently it doesn’t do a thing.
Is something broken?
Most likely it is. I didn’t even try to edit any of recorded videos. I will do that at some other time. Those parts of code are still as they used to be and rely heavily on ffmpeg. If you don’t have ffmpeg installed Kazam will break if you try to edit recorded captures.
There’s also multiple screen support. In my configuration it works, two screens side by side. If you have more than one screen not side by side or you have multiple screens then your mileage my vary. Gstreamer is very precise when it comes to specifying what part of the desktop to record.
How to install?
Update (01/01/2012): Kazam Team PPA from the unstable series is already available, info below.
Source code and PPA build for Ubuntu 11.10 Oneiric Ocelot is available in my personal PPA. Official PPA will be available after some more polishing and few minor changes, most likely in January 2012.
$ sudo add-apt-repository ppa:kazam-team/unstable-series $ sudo apt-get update $ sudo apt-get install kazam
All the input is greatly appreciated!
Comments are closed.