From 76e10f20825ff1b0ec9ca536b06276541b94294d Mon Sep 17 00:00:00 2001 From: xyj <10908227994@qq.com> Date: Fri, 29 Dec 2023 18:12: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 b24d370..5c14dd9 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 -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 -flvflags no_duration_filesize -f rtsp -rtsp_transport tcp rtsp://47.108.186.87:554/live/$device_name \ No newline at end of file