Live audio as (streaming) source in Ubuntu

*nix specific usage questions
jalles
Blank Cone
Blank Cone
Posts: 23
Joined: 28 Feb 2009 15:23

Live audio as (streaming) source in Ubuntu

Postby jalles » 03 Mar 2009 04:37

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.
Last edited by jalles on 03 Mar 2009 14:34, edited 1 time in total.

xtophe
Big Cone-huna
Big Cone-huna
Posts: 1209
Joined: 24 Nov 2003 10:12
Location: Bristol, England

Re: Live audio as (streaming) source in Ubuntu

Postby xtophe » 03 Mar 2009 14:31

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
Xtophe

jalles
Blank Cone
Blank Cone
Posts: 23
Joined: 28 Feb 2009 15:23

Re: Live audio as (streaming) source in Ubuntu

Postby jalles » 03 Mar 2009 15:33

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.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 13 guests