<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div> From: Atte:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
Hi<br>
<br>
Trying my luck again with recordmydesktop. Found that the following<br>
eventually starts record my desktop:<br>
<br>
<a href="https://dl.dropboxusercontent.com/u/4343030/recordmydesktop" target="_blank">https://dl.dropboxusercontent.com/u/4343030/recordmydesktop</a><br>
<br>
However it seems to only record in mono. How do I capture two audio<br>
channels?<br>
<br>
Even better: is there an alternative out there that actually works?<br>
<br></blockquote><div><br></div><div>I have been using ffmpeg for my recordings.</div><div><br></div><div>It's a bit tricky to get sound from jack though, but if you start pulseaudio using</div><div>the jack sinks, you get the sound if you connect the output</div><div>of what you want to record to the pulseaudio jack input. I do</div><div>that connection manually.</div><div><br></div><div>So:</div><div><br></div><div>1. Start pulseaudio (make sure it is configured to use jack):</div><div><br></div><div>$ pulseaudio</div><div><br></div><div><br></div><div>2. Connect the output jack ports of what you want to record into pulseaudio.</div><div><br></div><div><br></div><div>3. Run something like this:</div><div><br></div><div>$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<br></div><div><br></div><div>(this works for me)</div><div><br></div><div><br></div><div>Here are a couple of links with info I used to configure ffmpeg:</div><div><div><a href="http://www.commandlinefu.com/commands/view/148/capture-video-of-a-linux-desktop">http://www.commandlinefu.com/commands/view/148/capture-video-of-a-linux-desktop</a></div><div><a href="http://www.commandlinefu.com/commands/view/7109/capture-video-of-a-linux-desktop">http://www.commandlinefu.com/commands/view/7109/capture-video-of-a-linux-desktop</a></div></div><div><br></div><div>And here is my version of ffmpeg, which works:</div><div><div>ffmpeg version 0.10.7 Copyright (c) 2000-2013 the FFmpeg developers</div></div><div><br></div><div>The ffmpeg version might be relevant since I think there are two different versions of ffmpeg,</div><div>one hijacked version made by the libav folks, and one real version.</div><div><br></div><div><br></div></div></div></div>