Skip to content

Instantly share code, notes, and snippets.

@dz0ny
Created April 25, 2011 17:57
Show Gist options
  • Save dz0ny/940897 to your computer and use it in GitHub Desktop.
Save dz0ny/940897 to your computer and use it in GitHub Desktop.
for Linux and Mac lovers, flash FMS server to shout-cast stream
# using rtmpdump && VLC
nohup rtmpgw -g 8080 -r "rtmp://fms.rtvslo.si/live/ra1-low" -v -V & nohup vlc-wrapper "http://127.0.0.1:8080" -I dummy --sout "#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=48000}:duplicate{dst=http{mux=raw,dst=:8001/},dst=std{access=shout,mux=mp3,dst=:8000//ra1}}"
#shoutcast stream(ipdaish) http://server:8000/ra1
#http(everything else) http://server:8001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment