From ed39133704e1d700f9e04bc7a4ef6467981449b7 Mon Sep 17 00:00:00 2001 From: xyj <10908227994@qq.com> Date: Fri, 29 Dec 2023 13:56:10 +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..d21404c 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 ultrafast -r 15 -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