Skip to content

Instantly share code, notes, and snippets.

@fakenickels
Last active July 1, 2016 01:15
Show Gist options
  • Select an option

  • Save fakenickels/ffd7ae9ec3f97b9f5a96538b4ffa4d3e to your computer and use it in GitHub Desktop.

Select an option

Save fakenickels/ffd7ae9ec3f97b9f5a96538b4ffa4d3e to your computer and use it in GitHub Desktop.
Script to scream linux audio using VLC's CLI interface
pactl list | grep "Monitor Source" | sed 's/Monitor\ Source:\ /pulse:\/\//' | \xargs cvlc --sout '#transcode{acodec=mp3,ab=128,channels=2}:standard{access=http,dst=0.0.0.0:8888/pc.mp3}' -vvv --
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment