Wednesday, 17 June 2020

UDP Route Transcoder Linux

#!/bin/bash
while :
do echo `
#!sudo ffmpeg -re -i rtmp://103.30.246.47:1935/riau/live rtmp://122.248.43.138:1935/ch11/myStream
ip route add 224.0.0.0/16 via 192.168.99.99
sleep 10
sudo ffmpeg -re -i rtmp://103.30.246.47:1935/riau/live -codec copy -bsf:v h264_mp4toannexb -f mpegts udp://224.0.0.1:2000?pkt_size=1316

`
done

-----------------------------------------------------------

#!/bin/bash
while :
do echo `
sleep 10
sudo ip route add 224.0.0.0/16 via 192.168.99.99
`
done

------------------------------------
nano /etc/rc.local
/var/www/html

No comments:

Post a Comment