This commit is contained in:
xyj 2024-01-26 11:23:11 +08:00
parent ad9fd31706
commit 4e2d82083f
1 changed files with 1 additions and 1 deletions

View File

@ -1,3 +1,3 @@
#!/bin/bash #!/bin/bash
device_name=`cat /home/pi/device_name` device_name=`cat /home/pi/device_name`
/usr/bin/ffmpeg -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://192.168.1.27:554/live/$device_name /usr/bin/ffmpeg -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://60.204.152.17:554/live/$device_name