//
Si, ejecuto sudo para descartar que la cuestión no sea por un acceso no permitido a un archivo.
Y me pasa lo siguiente, ejecuto:
~$ qjackctl
y en otra terminal
~$ recordmydesktop --use-jack system:capture_1 system:capture_2
Y sucede así:
Initial recording window is set to:
X:-15120 Y:0 Width:16480 Height:768
Adjusted recording window is set to:
X:-15120 Y:0 Width:16480 Height:768
Your window manager appears to be compiz
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
Cannot lock down memory area (Cannot allocate memory)
Jack: JackClient::SetupDriverSync driver sem in flush mode
Jack: JackPosixSemaphore::Connect jack_sem.1000_default_recordMyDesktop-2067
Jack: Already connected name = recordMyDesktop-2067
Jack: Clock source : system clock via clock_gettime
Jack: JackLibClient::Open name = recordMyDesktop-2067 refnum = 3
Jack: JackClient::Activate
Jack: JackClient::StartThread : period = 23219 computation = 0 constraint = 23219
Jack: Create non RT thread
Jack: ThreadHandler: start
Cannot use real-time scheduling (RR/65)(1: Operation not permitted)
AcquireRealTime error
Jack: JackClient::kActivateClient name = recordMyDesktop-2067 ref = 3
Jack: JackClient::PortRegister ref = 3 name = recordMyDesktop-2067:input_1 type = 32 bit float mono audio port_index = 11
Jack: JackClient::Connect src = system:capture_1 dst = recordMyDesktop-2067:input_1
Capturing!
Failed to obtain Shared Memory segment!
Ahora, ejecuté:
~$ sudo qjackctl
y en otra terminal:
~$ sudo recordmydesktop --use-jack system:capture_1 system:capture_2
[sudo] password for star:
Initial recording window is set to:
X:1264 Y:0 Width:96 Height:768
Adjusted recording window is set to:
X:1264 Y:0 Width:96 Height:768
Your window manager appears to be compiz
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
Jack: JackClient::SetupDriverSync driver sem in flush mode
Jack: JackPosixSemaphore::Connect jack_sem.0_default_recordMyDesktop-2096
Jack: Already connected name = recordMyDesktop-2096
Jack: Clock source : system clock via clock_gettime
Jack: JackLibClient::Open name = recordMyDesktop-2096 refnum = 3
Jack: JackClient::Activate
Jack: JackClient::StartThread : period = 23219 computation = 0 constraint = 23219
Jack: Create non RT thread
Jack: ThreadHandler: start
Jack: JackClient::kActivateClient name = recordMyDesktop-2096 ref = 3
Jack: JackClient::PortRegister ref = 3 name = recordMyDesktop-2096:input_1 type = 32 bit float mono audio port_index = 11
Jack: JackClient::Connect src = system:capture_1 dst = recordMyDesktop-2096:input_1
Capturing!
*********************************************
Cached 2 MB, from 618 MB that were received.
Average cache compression ratio: 99.6 %
*********************************************
Saved 2199 frames in a total of 2196 requests
Shutting down..Jack: jack_client_close
Jack: JackClient::Close ref = 3
Jack: JackClient::Deactivate
Jack: JackClient::Deactivate res = 0
Jack: JackPosixThread::Kill
Jack: JackSocketClientChannel::Stop
Jack: JackPosixThread::Kill
Jack: JackClientSocket::Close
Jack: JackClientSocket::Close
Jack: JackPosixSemaphore::Disconnect jack_sem.0_default_recordMyDesktop-2096
Jack: JackLibClient::~JackLibClient
Jack: JackShmReadWritePtr1::~JackShmReadWritePtr1 3
Jack: Succeeded in unlocking 111 byte memory area
Jack: JackLibGlobals Destroy 94dc00
Jack: ~JackLibGlobals
Jack: JackPosixSemaphore::Disconnect jack_sem.0_default_system
Jack: JackPosixSemaphore::Disconnect jack_sem.0_default_freewheel
Jack: JackPosixSemaphore::Disconnect jack_sem.0_default_qjackctl
Jack: no message buffer overruns
Jack: JackPosixThread::Stop
Jack: ThreadHandler: exit
Jack: JackShmReadWritePtr::~JackShmReadWritePtr 1
Jack: Succeeded in unlocking 994 byte memory area
Jack: JackShmReadWritePtr::~JackShmReadWritePtr 0
Jack: Succeeded in unlocking 17370266 byte memory area
Jack: jack_client_close res = 0
...
STATE:ENCODING
Encoding started!
This may take several minutes.
Pressing Ctrl-C will cancel the procedure (resuming will not be possible, but
any portion of the video, which is already encoded won't be deleted).
Please wait...
Output file: out-1.ogv
[100%]
Encoding finished!
Wait a moment please...
Done.
Written 4247326 bytes
(330829 of which were video data and 3916497 audio data)
Cleanning up cache...
Done!!!
Goodbye!
Con sudo capturó y exportó el video .ogv, sin embargo asigno automaticamente un valor 'x' y 'y' nada funcional sumandole que cuando reproduzco este archivo .ogv solo se reproduce por un segundo cuando la prueba tubo una duración aproximada de un minuto.
Luego intento de nuevo para hacer otra prueba con:
~$ sudo recordmydesktop --use-jack system:capture_1 system:capture_2
y vuelve a suceder lo del principio:
[sudo] password for star:
Window size specification out of bounds!(current resolution:1360x768)
Reinicio Jack y ejecuto nuevamente:
~$ sudo recordmydesktop --use-jack system:capture_1 system:capture_2
y ahora reporta:
[sudo] password for star:
Window size specification out of bounds!(current resolution:1360x768)
star@star-KJ378AA-ABA-a6430f:~$ sudo recordmydesktop --use-jack system:capture_1 system:capture_2
Initial recording window is set to:
X:-23312 Y:0 Width:24672 Height:768
Adjusted recording window is set to:
X:-23312 Y:0 Width:24672 Height:768
Your window manager appears to be compiz
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
Jack: JackClient::SetupDriverSync driver sem in flush mode
Jack: JackPosixSemaphore::Connect jack_sem.0_default_recordMyDesktop-2382
Jack: Already connected name = recordMyDesktop-2382
Jack: Clock source : system clock via clock_gettime
Jack: JackLibClient::Open name = recordMyDesktop-2382 refnum = 3
Jack: JackClient::Activate
Jack: JackClient::StartThread : period = 23219 computation = 0 constraint = 23219
Jack: Create non RT thread
Jack: ThreadHandler: start
Jack: JackClient::kActivateClient name = recordMyDesktop-2382 ref = 3
Jack: JackClient::PortRegister ref = 3 name = recordMyDesktop-2382:input_1 type = 32 bit float mono audio port_index = 11
Jack: JackClient::Connect src = system:capture_1 dst = recordMyDesktop-2382:input_1
Failed to obtain Shared Memory segment!
Capturing!
...No captura y vuelve el prom :~$
Tengo una duda acerca del mensaje que sale cuando paso el mouse sobre la configuración gráfica de RecordMyDesktop la cual dice que para usar jack recordmydesktop debe estar compilado para esta función, estoy usando ubuntu 10.10 debo compilarlo? Instalé recordmydesktop desde los repositorios.
Bien, gracias por la ayuda. Saludos.
//