/home/pi/cpuav $2 $3 &

#ahora esto es redundante, porque ya lo uso en startfromweb-borrarreboot
crontab -l -u pi | grep -v '@reboot' | crontab -u pi -

sleep 5
cd /home/pi/bitkodi/acestream-rpi/aceproxy/

python acehttp.py &
sleep 5


#cvlc -vvv http://127.0.0.1:8000/pid/$1/stream.mp4 --sout '#transcode{vcodec=h264,width=512,height=288,acodec=aac,ab=128,vb:300,samplerate=22050,deinterlace}:std{access=rtmp,mux=ffmpeg{mux=flv},dst=rtmp://pubucaster.com/live/Prueba_canal_rtmp_4?key=f4b6d511&id=85006}'
#cvlc -vvv http://127.0.0.1:8000/pid/$1/stream.mp4 --sout '#transcode{vcodec=h264,width=512,height=288,acodec=aac,ab=128,vb:300,samplerate=22050,deinterlace}:std{access=rtmp,mux=ffmpeg{mux=flv},dst=rtmp://pubfstream.com/stream/FStreamTest?key=379264de&id=3996}'
#cvlc -vvv http://127.0.0.1:8000/pid/$1/stream.mp4 --sout '#duplicate{dst="http{mux=ts,dst=:8902/tv.asf}",dst=display}'

nohup /home/pi/bitkodi/ucaster/iniciar83.py > /dev/null &

#ESTA ES LA ULTIMA BUENA; VOY A INTENTAR DARLE MAS CARGA A LA PI CON EL SIGUIENTE INTENTO
cvlc -vvv http://127.0.0.1:8000/pid/$1/stream.mp4 --sout '#standard{access=http,mux=mpeg,dst=:8902/tv.asf}'
#cvlc -vvv http://127.0.0.1:8000/pid/$1/stream.mp4 --sout '#transcode{acodec=mpga}:std{access=http,mux=mpeg,dst=:8902/tv.asf}'


#cvlc -vvv http://127.0.0.1:8000/pid/$1/stream.mp4 --sout '#transcode{width=512,heigth=288,vcodec=h264,acodec=aac,ab=128,vb=300,samplerate=22050}:std{access=http,mux=ts,dst=:8902/tv.asf}'
