Yes I want to "record the desktop" on Linux.
Do you mean I am in the wrong mailing list for support on alsa on Linux ?
Anyway, I found an excellent way to "record my desktop".
1) The "audio" part
This is the content of my ~/.asoundrc file:
pcm.!default {
type empty
slave {
pcm "tee:'plughw:0,0','/tmp/audiocap.wav',wav"
}
}
Now, the audio is automatically recorded into the /tmp/audiocap.wav file.
2) The "images" part
I use ffmpeg to capture the images only (not the audio).
So, I will have a file called /tmp/imagescap.mp4.
3) Merge the 2 files
I use ffmpeg to merge the /tmp/audiocap.wav and the /tmp/imagescap.mp4.
I don't like this solution because the /tmp/audiocap.wav is always overwritten
when my device is opened again.
Is there a way to write a better .asoundrc to create several audio files
instead of overwriting the same file, or better, to merge them automatically ?
On Mon, 29 Jul 2013 07:47:32 +0200
Ralf Mardorf <[email protected]> wrote:
> IIUC the OP wants to "record the desktop", IOW e.g. moving windows and
> recording desktop sounds + e.g. the sounds of a media player etc. pp.
> while video recording windows and mouse and not just a video stream.
>
> I recommend to ask at Linux audio users mailing list, since we've got a
> lot of issues with recording the desktop to make howtos. Many desktop
> recordings with sound are made with a camera and microphone ;).
>
> I don't remember if they found a solution for this issue.
>
> http://lists.linuxaudio.org/listinfo/linux-audio-user
>
> Perhaps this is one of the threads:
>
> http://linux-audio.4202.n7.nabble.com/Re-Desktop-recorders-was-quot-Another-Reality-quot-LP-td85402.html
>
> You need to search the archive yourself.
>
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> Alsa-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/alsa-user
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user