vlc webcam audio recording and destkop screencast


-..- i got the flu …. so this article is online

If you like shell and cvlc ===> https://nowardev.wordpress.com/2013/06/11/how-to-screencast-with-vlc-using-shell-on-linux-kububuntu-cvlc-with-microphone/

if you need only the audio ===> https://nowardev.wordpress.com/2013/11/20/record-microphone-with-vlc-from-shell/

if you like gui …. read down here

first of all you need to know which device you have to use

Audio:

as always :

cat /proc/asound/pcm

you should ge something like this

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…. you can see here i have the internal audio card … that can caputre (alc861vd) and the usb microfone, which is into the webcam

so to capture my destkop and the audio from the usb microfone i should use

alsa://hw:1,0

if i need instead the audio from your internal audio card

alsa://plughw

or this one

 alsa://hw:0,0

as you can seee the number 0,0 or 1,0 it’s related to this output

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

for the webcam it’s the same but you need to configure vlc using this

Capture mode: Video for Linux 2
Video: /dev/video0
Audio: plughw

3 Responses to vlc webcam audio recording and destkop screencast

  1. tonalf says:

    Thanks for a very good article. I’m trying to capture the screen and sound from both the microphone and the sound being played back on the card, but the two combinations I tried only capture the microphone:

    :input-slave=alsa://hw0,0
    :input-slave=alsa://plughw

    A bit of troubleshooting information:

    $ cat /proc/asound/pcm
    00-00: STAC92xx Analog : STAC92xx Analog : playback 1 : capture 1
    00-03: HDMI 0 : HDMI 0 : playback 1
    00-07: HDMI 1 : HDMI 1 : playback 1
    00-08: HDMI 2 : HDMI 2 : playback 1

    Any ideas why I am unable to record what is being output on the soundcard?

    • nowardev says:

      first of all

      :input-slave=alsa://hw0,0
      :input-slave=alsa://plughw

      it’s the same microphone , that is the intenal one , written 2 times so it iwll not work ,…. for that kind of stuff i guess you need to use other things i guess you need pulse stuff …

      i would active the option “play another media sync etc et ”

      see this http://wstaw.org/m/2012/03/06/plasma-desktopKp1782.png

      • tonalf says:

        “pulse stuff” is exactly what I’m interested in, but I don’t how to specify it or where to look.

        As for “play another media”, that will probably be necessary to include two audio inputs, but does not help me figure out how to capture sound from the soundcard output in the first place.

        Thanks for trying, nevertheless.

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: