How to capture microphone input in VLC?

后端 未结 3 1416
[愿得一人]
[愿得一人] 2021-01-17 16:55

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条回答
  •  执念已碎
    2021-01-17 17:27

    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
    

提交回复
热议问题