This commit is contained in:
xyj 2023-12-11 09:32:01 +08:00
parent dfe27c655d
commit edd02c213f
2 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,3 @@
import json
import time import time
import paho.mqtt.client as mqtt import paho.mqtt.client as mqtt

View File

@ -1,2 +1,2 @@
#!/bin/bash #!/bin/bash
/usr/bin/ffmpeg -rtsp_transport tcp -re -i rtsp://admin:123456@192.168.0.123:554/mpeg4 -c copy -preset fast -r 20 -flvflags no_duration_filesize -f rtsp -rtsp_transport tcp rtsp://47.108.186.87:554/live/$device_name /usr/bin/ffmpeg -rtsp_transport tcp -re -i rtsp://admin:123456@192.168.0.123:554/mpeg4 -c copy -preset fast -r 20 -flvflags no_duration_filesize -f rtsp -rtsp_transport tcp rtsp://192.168.1.27:554/live/$device_name