From 23c0165637330aa8fe2fa2d2c8a96fc77e5d7503 Mon Sep 17 00:00:00 2001 From: xyj <10908227994@qq.com> Date: Wed, 20 Dec 2023 16:59:54 +0800 Subject: [PATCH] update --- bash/record.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash/record.sh b/bash/record.sh index 890b016..2476a5f 100755 --- a/bash/record.sh +++ b/bash/record.sh @@ -8,4 +8,4 @@ CURRENT_TIME=$(date +"%Y-%m-%d_%H-%M-%S") # 构建录像文件名 OUTPUT_FILE="${OUTPUT_DIR}/${CURRENT_TIME}.mp4" # 开始录制RTSP流 -/usr/bin/ffmpeg -rtsp_transport tcp -i "${RTSP_URL}" -c copy -c:a aac -s 1920x1080 -r 15 -crf 35 -t "${RECORD_DURATION}" -f mp4 "${OUTPUT_FILE}" \ No newline at end of file +/usr/bin/ffmpeg -rtsp_transport tcp -i "${RTSP_URL}" -c copy -c:a aac -s 1280x720 -r 15 -crf 35 -t "${RECORD_DURATION}" -f mp4 "${OUTPUT_FILE}" \ No newline at end of file