how to make logitech webcam only record sounds from microphone and not the system


 cat /proc/asound/pcm 

i get

 00-00: ALC861-VD Analog : ALC861-VD Analog : playback 1 : capture 1
00-06: Si3054 Modem : Si3054 Modem : playback 1 : capture 1
01-00: USB Audio : USB Audio : capture 1

so i have want usb device that is my logitech so i have to use -i hw:1,0

wav

ffmpeg -f  alsa  -ac 1 -ar 48000  -i hw:1,0   -acodec pcm_s16le -vn audio_recording.wav

flac

ffmpeg -f  alsa  -ac 1 -ar 48000  -i hw:1,0   -vn audio_recording.flac

if you get error maybe you need to change -ac parameter from 1 to 2 but the most of time it’s 1 to use which stands for mono microphone

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: