Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can only capture from default pulseaudio device, microphone #10

Open
feilen opened this issue Jan 7, 2013 · 3 comments
Open

Can only capture from default pulseaudio device, microphone #10

feilen opened this issue Jan 7, 2013 · 3 comments

Comments

@feilen
Copy link

feilen commented Jan 7, 2013

I only seem to be able to capture from the default pulseaudio input, which is configured on my system to be the microphone. I couldn't find any information describing how to select a different audio device, if that is possible. Is there something I'm missing, or is that not supported yet?

@swick
Copy link
Owner

swick commented Jan 8, 2013

you should be able to set the device (pactl list) with -a/--audio-devices.

@b606
Copy link

b606 commented May 19, 2014

#pactl list | grep "Name"
Years later but I think it is still worth noting...

In order to record things from my usb headset (two separate audio files: speaker and microphone), I use something like:
glc-capture -p -a "alsa_output.usb-C-Media_Electronics_Inc._USB_PnP_Sound_Device-00-Device.analog-stereo.monitor;alsa_input.usb-C-Media_Electronics_Inc._USB_PnP_Sound_Device-00-Device.analog-mono" -o "$GLCFILE" etc.

#pactl stat
gives the names of default sink and source, which in my case was the internal PCI card.

I really lost hours googling around before coming to this thread, so it may be helpful to document this in the glcapture-pulse manual about "-a" or "-p".

#For glc without pulseaudio support, the device list can be figured out from (cat /proc/asound/devices).

Thanks for the great job !

@Kabup
Copy link

Kabup commented Apr 21, 2016

Yes, I did found the same solution, the problem is not with glc-capture, is in your pulseaudio config.

To record audio from mic and game, you'll need to create a monitor in pulseaudio, then redirect the sound of the mic and game to this monitor, and record audio from this monitor in glc-capture.

You can use export PULSE_SOURCE=... before launching the program, it works here. Check the pulseaudio docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants