#!/bin/sh
sudo -u mc36 vlc -I dummy --mtu 1280 --sout "#transcode{vcodec=none,acodec=mp2,ab=320,channels=2,samplerate=44100}:rtp{mux=ts,dst=232.2.3.2,port=1234,ttl=255}" --start-time $2 "file:///$1" "vlc://quit"
#ffmpeg -re -i "$1" -ss $2 -ar 44100 -ac 2 -c:a mp3 -b:a 320k -f rtp "rtp://232.2.3.2:1234?ttl=255&pkt_size=1280"
