How to capture microphone input in VLC?

Viewed 28995

I'm trying to capture microphone input in VLC media player via the http interface and stream this but so far I have arrived at nothing. Is this actually possible?

3 Answers

Just my input on Linux. This works across the Internet as well

Get the mic device id

arecord -l

Streams to port 8080. Just remember on your router to put a port forward to this server

vlc alsa://plughw:1,0 --sout='#transcode{vcodec=none,acodec=mp3,ab=256,channels=2,samplerate=44100,scodec=none}:http{mux=mp3,dst=:8080/}' --no-sout-all --sout-keep
Related