Skip to content

Instantly share code, notes, and snippets.

@pboehm
Created October 6, 2014 10:43
Show Gist options
  • Save pboehm/66c8bd0c1f029e2ffee5 to your computer and use it in GitHub Desktop.
Save pboehm/66c8bd0c1f029e2ffee5 to your computer and use it in GitHub Desktop.
Streaming von Pulseaudio über VLC
# get the audio device
$ pacmd list-sources | awk '/name:.+\.monitor/'
name: <alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor>
name: <alsa_output.pci-0000_00_1b.0.analog-stereo.monitor>
$ cvlc pulse://alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor --sout '#transcode{acodec=mpga,ab=392,channels=2}:standard{access=http,dst=0.0.0.0:8080/pc.mp3}'
# stream is now available under 0.0.0.0:8080/pc.mp3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment