Re: [Alsa-user] recording audio from speakers

2013-07-30 Thread Dominique Michel
Le Mon, 29 Jul 2013 17:46:36 -0700, rm.ric...@jacob21819.net (Robert M. Riches Jr.) a écrit : From: ?? akhil...@gmail.com Date: Mon, 29 Jul 2013 13:50:01 +0700 To: Ralf Mardorf ralf.mard...@alice-dsl.net X-Headers-End: 1V3hHm-0005Gs-GX Cc: 72-alsa

Re: [Alsa-user] recording audio from speakers

2013-07-30 Thread Dominique Michel
Le Mon, 29 Jul 2013 17:59:37 +0200, Dominique Michel dominique.mic...@vtxnet.ch a écrit : Le Mon, 29 Jul 2013 13:50:01 +0700, Ильдар Ахметгалеев akhil...@gmail.com a écrit : you may also try alsa's loopback module https://bbs.archlinux.org/viewtopic.php?pid=765075#p765075 For me, it is

Re: [Alsa-user] recording audio from speakers

2013-07-30 Thread Dominique Michel
Le Tue, 30 Jul 2013 00:12:32 +0700, Ильдар Ахметгалеев akhil...@gmail.com a écrit : if you using jack you can configure alsa2jack emulation and use it without loopback devices. You can route everything inside jack. Your application will be visible in jack as native jack application. But some

Re: [Alsa-user] recording audio from speakers

2013-07-30 Thread YuGiOhJCJ Mailing-List
Finally, I found a better solution. I just go in 'alsamixer', then I push the 'F4' key, then I select the 'Stereo Mixe' Input Source instead of the 'Front Mic' Input Source. Also, I set the Capture volume to 100%. After this, I unplug my microphone. Then I record with ffmpeg audio and video.

Re: [Alsa-user] recording audio from speakers

2013-07-29 Thread YuGiOhJCJ Mailing-List
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

Re: [Alsa-user] recording audio from speakers

2013-07-29 Thread Ralf Mardorf
On Mon, 2013-07-29 at 08:27 +0200, YuGiOhJCJ Mailing-List wrote: Do you mean I am in the wrong mailing list for support on alsa on Linux ? What if the best solution has less to do with ALSA? People subscribed to Linux audio users mailing list (LAU) opened several threads. I didn't follow those

Re: [Alsa-user] recording audio from speakers

2013-07-29 Thread Ильдар Ахметгалеев
you may also try alsa's loopback module https://bbs.archlinux.org/viewtopic.php?pid=765075#p765075 2013/7/29 Ralf Mardorf ralf.mard...@alice-dsl.net: On Mon, 2013-07-29 at 08:27 +0200, YuGiOhJCJ Mailing-List wrote: Do you mean I am in the wrong mailing list for support on alsa on Linux ?

Re: [Alsa-user] recording audio from speakers

2013-07-29 Thread Dominique Michel
Le Mon, 29 Jul 2013 13:50:01 +0700, Ильдар Ахметгалеев akhil...@gmail.com a écrit : you may also try alsa's loopback module https://bbs.archlinux.org/viewtopic.php?pid=765075#p765075 For me, it is the definitive solution. You can configure ALSA to use the loopback device as first sound card,

Re: [Alsa-user] recording audio from speakers

2013-07-29 Thread Ильдар Ахметгалеев
if you using jack you can configure alsa2jack emulation and use it without loopback devices. You can route everything inside jack. Your application will be visible in jack as native jack application. But some applications works bad wtih alsa2jack emulation.

Re: [Alsa-user] recording audio from speakers

2013-07-29 Thread YuGiOhJCJ Mailing-List
When I speak about jack, I speak about the hardware, not the software. So, I have never used the jack software. When I use alsaloop, I do this: $ alsaloop -C hw:0,0 -P hw:0,0 -t 5 After typing this command, I can hear in my headphones a looping noise. So, I am not sure I am using it as I

Re: [Alsa-user] recording audio from speakers

2013-07-29 Thread Robert M. Riches Jr.
From: ?? akhil...@gmail.com Date: Mon, 29 Jul 2013 13:50:01 +0700 To: Ralf Mardorf ralf.mard...@alice-dsl.net X-Headers-End: 1V3hHm-0005Gs-GX Cc: 72-alsa alsa-user@lists.sourceforge.net you may also try alsa's loopback module

Re: [Alsa-user] recording audio from speakers

2013-07-28 Thread Ralf Mardorf
On Sun, 28 Jul 2013 04:04:12 +0200, Bill Unruh un...@physics.ubc.ca wrote: On Sun, 28 Jul 2013, YuGiOhJCJ Mailing-List wrote: I am recording my desktop with ffmpeg 1.2 using ALSA 1.0.26. What does recording my desktop mean? Why would you use ffmpeg to record? If people speak broken

Re: [Alsa-user] recording audio from speakers

2013-07-28 Thread YuGiOhJCJ Mailing-List
When I say recording my desktop I mean I would like to save in a file a video containing exactly what I am seeing on my screen. For example, the recordMyDesktop software do this job. I use ffmpeg to record because I like this software. The main advantage is the impressive number of options

Re: [Alsa-user] recording audio from speakers

2013-07-28 Thread YuGiOhJCJ Mailing-List
Yes, I confirm, what you hear is what I mean. Do you see any way to do this with ffmpeg/alsa ? On Sun, 28 Jul 2013 03:28:03 + li...@lazygranch.com wrote: Regarding recording the speakers, I think the poster wants the equivalent of what you hear on windows machines.

Re: [Alsa-user] recording audio from speakers

2013-07-28 Thread YuGiOhJCJ Mailing-List
Yes but pulse audio is not installed on my computer and each time I try to use it, it seems to be very complicated to use. In fact, I must use an other mixer than alsamixer, and I must run an other daemon at startup... I don't like this solution. I prefer your second solution using only ALSA

Re: [Alsa-user] recording audio from speakers

2013-07-28 Thread Bill Unruh
On Sun, 28 Jul 2013, YuGiOhJCJ Mailing-List wrote: Yes, I confirm, what you hear is what I mean. Do you see any way to do this with ffmpeg/alsa ? The easiest way of course is to simply capture the stream that youare displaying on your desktop. Ie, something is already sending a digitial

Re: [Alsa-user] recording audio from speakers

2013-07-28 Thread YuGiOhJCJ Mailing-List
I use ffmpeg to record because I like this software. The main advantage is the impressive number of options available (choice of the video size, video codec, audio codec, ...). Also, I am recording images + audio (= video) so I need ffmpeg. Do you see how to capture what I hear during the record

Re: [Alsa-user] recording audio from speakers

2013-07-28 Thread YuGiOhJCJ Mailing-List
Yes, I confirm, I want to make a video of the desktop with picture and sound. Do you see any way to do this with ffmpeg/alsa ? On Sun, 28 Jul 2013 08:41:05 +0200 Ralf Mardorf ralf.mard...@alice-dsl.net wrote: On Sun, 28 Jul 2013 04:04:12 +0200, Bill Unruh un...@physics.ubc.ca wrote: On

Re: [Alsa-user] recording audio from speakers

2013-07-28 Thread Bill Unruh
On Sun, 28 Jul 2013, YuGiOhJCJ Mailing-List wrote: I use ffmpeg to record because I like this software. The main advantage is the impressive number of options available (choice of the video size, video codec, audio codec, ...). Also, I am recording images + audio (= video) so I need ffmpeg.

Re: [Alsa-user] recording audio from speakers

2013-07-28 Thread lists
un...@physics.ubc.ca Date: Sun, 28 Jul 2013 14:06:38 To: YuGiOhJCJ Mailing-Listyugiohjcj-mailingl...@laposte.net Cc: alsa-user@lists.sourceforge.net Subject: Re: [Alsa-user] recording audio from speakers On Sun, 28 Jul 2013, YuGiOhJCJ Mailing-List wrote: I use ffmpeg to record because I like

Re: [Alsa-user] recording audio from speakers

2013-07-28 Thread Ralf Mardorf
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

[Alsa-user] recording audio from speakers

2013-07-27 Thread YuGiOhJCJ Mailing-List
Hello, I am recording my desktop with ffmpeg 1.2 using ALSA 1.0.26. The problem is I am recording audio from microphone whereas I would like to record audio from speakers. This is my command line: $ ffmpeg -f alsa -ac 2 -i hw:0,0 -f x11grab -s 640x480 -r 25 -i :0.0 /tmp/out.mpg This is

Re: [Alsa-user] recording audio from speakers

2013-07-27 Thread Bill Unruh
On Sun, 28 Jul 2013, YuGiOhJCJ Mailing-List wrote: Hello, I am recording my desktop with ffmpeg 1.2 using ALSA 1.0.26. What does recording my desktop mean? Why would you use ffmpeg to record? The problem is I am recording audio from microphone whereas I would like to record audio from

Re: [Alsa-user] recording audio from speakers

2013-07-27 Thread lists
Regarding recording the speakers, I think the poster wants the equivalent of what you hear on windows machines. -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with

Re: [Alsa-user] recording audio from speakers

2013-07-27 Thread Ильдар Ахметгалеев
For me eases solution is useing pulse audio. It hase nice alsa emulation and gives ability to grab sound from output mnoitor: AR=44100 CHANNELS=1 VQ=5 ASRC=$(pacmd list-sources \ | sed -n 's/name: \(alsa_output.*monitor.*\)/\1/p' \ | head -n 1) ffmpeg \ -f pulse -i $ASRC