This needs the following:

# in bashrc:
    #disable dbus shit
    export JACK_NO_AUDIO_RESERVATION=1
    export SNOWMIX=<path-to-snowmix-dir>

* create a fifo device:
    'mkfifo /tmp/leftover'

* run snowmix with ini/leftover.ini

* run jackd

 run the  SMS output2multicast_supermaster (multicast feed to watch/ stream/ record) output script. 

  This script should always run with send_master (start it after snowmix), to  have any of the other outputs working.
  The way this script works always changes, read it (same with all of them)
  first argument is what it should do for ex:
     fifo, recv, recvdummy, rtmp, ogg, send_master
  send_master is what takes the video from snowmix and audio from jack and sends it as a rtp multicast over the network (or local if you do not add routes)
     if you want over network: ip r add 224.0.0.0/8 dev [ethernetcard]
  transcode_ogg: send to icecast
  transcode_rtmp: sendt to rtmp server
  transcode_record: untested atm.
  recv: opens a window with video, and sends the audio to jack
  transcode_fifo: ffmpeg (output2sink) compatibility output,
     run ffmpeg with: ffmpeg -i /tmp/leftover -c:v copy -c:a copy -f flv rtmp://user:password@intergalactic.tv/show/leftover

How to run supermaster script:

# for the master stream 
./output2multicast_supermaster send_master

# for the ffmpeg (/tmp/leftover fifo)
  ./output2multicast_supermaster transcode_fifo   
  run ffmpeg -i /tmp/leftover -c:v copy -c:a copy -f flv "rtmp://<user>:<pass>@intergalactic.tv/show/leftover"

# to watch
./output2multicast_supermaster recv

# to send to deathstar
./output2multicast_supermaster transcode_ogg




* run some inputscript on feed 1


