@echo off
set boxip=192.168.1.2


echo Aktiviere SPTS
wget "http://%boxip%/control/system?setAViAExtPlayBack=spts" -O 1_stp.log -q
ping -n 5 localhost  > nul

echo Hole Aktuellen Channel
wget "http://192.168.1.2/control/build_live_url?vlc_link=true" -O 1_http.log -q

for /F %%i in (1_http.log) do set link=%%i
echo HTTP-Link %link%


echo Starte VLC
start /high vlc.exe %link% --sout=#transcode{vcodec=h264,vb=350,scale=0.45,acodec=mp3,ab=32,channels=1}:duplicate{dst=std{access=http,mux=asf,dst=:12345}} /high

rem dst=display,