agri_xumu/bash/stream.sh

3 lines
266 B
Bash
Raw Normal View History

2024-01-22 18:01:03 +08:00
#!/bin/bash
device_name=`cat /home/pi/device_name`
2024-03-05 11:12:30 +08:00
/usr/bin/ffmpeg -loglevel quiet -rtsp_transport tcp -re -i "rtsp://admin:lihai123@192.168.0.123:554/cam/realmonitor?channel=1&subtype=0" -c copy -f rtsp -rtsp_transport tcp rtsp://47.108.186.87:554/live/$device_name