[LAU] recordmydesktop with jack2

Lorenzo Sutton lorenzofsutton at gmail.com
Sat Nov 17 20:57:56 UTC 2012


On 17/11/12 13:33, Atte wrote:
> Hi
>
> I'm trying to capture a screencast of a jack2 client (renoise), but it
> seems recordmydesktop and jack2 doesn't work well together. Anything I
> should do different? Any alternative to recordmydesktop that I should
> try instead?

For me screen-capturing with jack seems terribly broken at the moment... 
jack capture with (gtk)-recordmydesktop is broken since at least 1 year, 
and seems related to the funky width and height values reported when you 
use it with jack.

I had an ffmpeg (and newer avconv) script which worked very well until a 
few months ago which is now also broken on my system (debian wheezy):

ffmpeg -f jack -ac 2 -i ffmpeg -f x11grab -r 30 -s 1280x800 -i :0.0 
-acodec pcm_s16le -vcodec libx264 -preset ultrafast -threads 0 output.avi

Adapded from some blog online I can't recall. Actually it seems the X11 
grabbing part is broken there, as recording a wav file through jack works.

I had tried gstreamer, but couldn't really get it to work (audio was 
stuttery).

Lorenzo.

>
> I'm running ubuntu 12.10...
>
> atte at blokhus:~$ jackd --version
> jackdmp 1.9.9
> Copyright 2001-2005 Paul Davis and others.
> Copyright 2004-2012 Grame.
> jackdmp comes with ABSOLUTELY NO WARRANTY
> This is free software, and you are welcome to redistribute it
> under certain conditions; see the file COPYING for details
> jackdmp version 1.9.9 tmpdir /dev/shm protocol 8
>
> atte at blokhus:~$ recordmydesktop --version
> recordMyDesktop v0.3.8.1
>
> atte at blokhus:~$ recordmydesktop --use-jack renoise:output_01_left
> renoise:output_01_right
> Initial recording window is set to:
> X:-27984   Y:0    Width:29008    Height:768
> Adjusted recording window is set to:
> X:-27984   Y:0    Width:29008    Height:768
> Your window manager appears to be Xfwm4
>
>
> Detected compositing window manager.
> Reverting to full screen capture at every frame.
> To disable this check run with --no-wm-check
> (though that is not advised, since it will probably produce faulty
> results).
>
> Initializing...
> jack_client_new: deprecated
> Capturing!
> Failed to obtain Shared Memory segment!
>



More information about the Linux-audio-user mailing list