This commit is contained in:
xyj 2023-12-08 17:31:35 +08:00
parent 72d496d23f
commit 0643f0ae7a
11 changed files with 1 additions and 1 deletions

0
MQTT.py Normal file → Executable file
View File

0
api.py Normal file → Executable file
View File

View File

@ -8,5 +8,5 @@ CURRENT_TIME=$(date +"%Y-%m-%d_%H-%M-%S")
# 构建录像文件名 # 构建录像文件名
OUTPUT_FILE="${OUTPUT_DIR}/${CURRENT_TIME}.mp4" OUTPUT_FILE="${OUTPUT_DIR}/${CURRENT_TIME}.mp4"
# 开始录制RTSP流 # 开始录制RTSP流
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}" /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}"

0
create_db.py Normal file → Executable file
View File

0
data_upload.py Normal file → Executable file
View File

0
git_push.sh Normal file → Executable file
View File

0
git_update.sh Normal file → Executable file
View File

0
requirements.txt Normal file → Executable file
View File

0
sensor_to_local.py Normal file → Executable file
View File

0
sensor_to_server.py Normal file → Executable file
View File

0
tool.py Normal file → Executable file
View File