Created
October 6, 2014 10:43
-
-
Save pboehm/66c8bd0c1f029e2ffee5 to your computer and use it in GitHub Desktop.
Streaming von Pulseaudio über VLC
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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