Page 1 of 1

Live audio as (streaming) source in Ubuntu

Posted: 03 Mar 2009 04:37
by jalles
How do I get to a live audio (microphone) input on Ubuntu Intrepid w/ Studio (PulseAudio, etc.) into VLC 0.9.4 to stream it out multicast? I understand the Multicast part, and the equivalent live input is easy in windows by selecting DirectShow from the Capture dropdown.
by RĂ©mi Denis-Courmont on Mon Mar 02, 2009 1:13 pm
JACK or ALSA inputs.
Ok, this is what I am missing and confused by.

from "open capture device" on the GUI menu, I have:
  • video for Linux2
    video for linux
    PVR
    DVB
    Desktop
How do I access JACK or Alsa? VLC --list says they were both enabled.
I have them installed. JACK wasn't running, but ALSA should be there?
I see that Alsa and JACK support were recently added, and I can find no documentation. I will be searching source code, but are there any hints?

Obviously, I don't have a clue.

.ja.

Re: Live audio as (streaming) source in Ubuntu

Posted: 03 Mar 2009 14:31
by xtophe
For jack you need to install vlc-plugin-jack and use the command line. It's not in the gui

For alsa you need to use v4l2 and specify no video

In vlc 1.0.0, it has been improved. the alsa input has been splitted from v4l2 and the oss input has been splitted from v4l

Re: Live audio as (streaming) source in Ubuntu

Posted: 03 Mar 2009 15:33
by jalles
Yes!

I missed the JACK plug-in. From packages.debian.org:
Jack audio plugins for VLC
These plugins add support for JACK to the VLC media player. To activate the audio output module, use the `--aout jack' flag or select the `jack' audio output plugin from the preferences menu.
For the jack input, use `vlc jack://channels=...:ports=...'

I found the alsa support in the v4l2 module, did not realize I was using it with a video capture device. When I tried again, JACK was running, and would not let me. The third time, I got feedback, which shows it works, I just have to stop listening to what I am listening to. :P

I will look at 1.0.0 on this unix box (it looks good in windows) and report back my findings.

thanks for pointing me in the right diretion.

.ja.