This commit is contained in:
xyj 2024-01-22 14:29:02 +08:00
parent 23d664774f
commit 71041ca0c8
1 changed files with 3 additions and 0 deletions

3
bash/stream_for_xumu.sh Normal file
View File

@ -0,0 +1,3 @@
#!/bin/bash
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 -flvflags no_duration_filesize -f rtsp -rtsp_transport tcp rtsp://47.108.186.87:554/live/$device_name