From 71041ca0c81e759500663bf41649a71e8f040f48 Mon Sep 17 00:00:00 2001 From: xyj <10908227994@qq.com> Date: Mon, 22 Jan 2024 14:29:02 +0800 Subject: [PATCH] update --- bash/stream_for_xumu.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 bash/stream_for_xumu.sh diff --git a/bash/stream_for_xumu.sh b/bash/stream_for_xumu.sh new file mode 100644 index 0000000..01882d3 --- /dev/null +++ b/bash/stream_for_xumu.sh @@ -0,0 +1,3 @@ +#!/bin/bash +device_name=`cat /home/pi/device_name` +/usr/bin/ffmpeg -rtsp_transport tcp -re -i "rtsp://admin:lihai123@192.168.0.123:554/cam/realmonitor?channel=1&subtype=0" -c copy -flvflags no_duration_filesize -f rtsp -rtsp_transport tcp rtsp://47.108.186.87:554/live/$device_name \ No newline at end of file