From 87b400ed6a1269c2eb8179b916dda645202597b9 Mon Sep 17 00:00:00 2001 From: xyj <10908227994@qq.com> Date: Fri, 29 Dec 2023 13:48:14 +0800 Subject: [PATCH] update --- bash/stream.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash/stream.sh b/bash/stream.sh index bc12249..b24d370 100644 --- a/bash/stream.sh +++ b/bash/stream.sh @@ -1,3 +1,3 @@ #!/bin/bash device_name=`cat /home/pi/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 -crf 35 -s 1280x720 -flvflags no_duration_filesize -f rtsp -rtsp_transport tcp rtsp://47.108.186.87:554/live/$device_name \ No newline at end of file +/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 \ No newline at end of file