[LAU] recordmydesktop stereo

Kjetil Matheussen k.s.matheussen at gmail.com
Sun Oct 26 12:58:42 UTC 2014

 From: Atte:

> Hi
> Trying my luck again with recordmydesktop. Found that the following
> eventually starts record my desktop:
> https://dl.dropboxusercontent.com/u/4343030/recordmydesktop
> However it seems to only record in mono. How do I capture two audio
> channels?
> Even better: is there an alternative out there that actually works?
I have been using ffmpeg for my recordings.

It's a bit tricky to get sound from jack though, but if you start
pulseaudio using
the jack sinks, you get the sound if you connect the output
of what you want to record to the pulseaudio jack input. I do
that connection manually.


1. Start pulseaudio (make sure it is configured to use jack):

$ pulseaudio

2. Connect the output jack ports of what you want to record into pulseaudio.

3. Run something like this:

$ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 30 -s 720x646 -i :0.0 -acodec
pcm_s16le -vcodec libx264 -preset ultrafast -crf 0 -y output.mkv

(this works for me)

Here are a couple of links with info I used to configure ffmpeg:

And here is my version of ffmpeg, which works:
ffmpeg version 0.10.7 Copyright (c) 2000-2013 the FFmpeg developers

The ffmpeg version might be relevant since I think there are two different
versions of ffmpeg,
one hijacked version made by the libav folks, and one real version.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-user/attachments/20141026/6321f45c/attachment.html>

More information about the Linux-audio-user mailing list