lot_manager/bash/stream.sh

3 lines
278 B
Bash
Raw Normal View History

2023-12-07 16:54:09 +08:00
#!/bin/bash
2023-12-11 09:44:29 +08:00
device_name=`cat /home/pi/device_name`
2023-12-20 16:57:18 +08:00
/usr/bin/ffmpeg -rtsp_transport tcp -re -i rtsp://admin:123456@192.168.0.123:554/mpeg4 -c copy -preset fast -r 20 -s 1280x720 -flvflags no_duration_filesize -f rtsp -rtsp_transport tcp rtsp://47.108.186.87:554/live/$device_name