diff --git a/MQTT.py b/MQTT.py old mode 100644 new mode 100755 diff --git a/api.py b/api.py old mode 100644 new mode 100755 diff --git a/bash/record.sh b/bash/record.sh index 7ce4e76..e435000 100755 --- a/bash/record.sh +++ b/bash/record.sh @@ -8,5 +8,5 @@ CURRENT_TIME=$(date +"%Y-%m-%d_%H-%M-%S") # 构建录像文件名 OUTPUT_FILE="${OUTPUT_DIR}/${CURRENT_TIME}.mp4" # 开始录制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}" diff --git a/create_db.py b/create_db.py old mode 100644 new mode 100755 diff --git a/data_upload.py b/data_upload.py old mode 100644 new mode 100755 diff --git a/git_push.sh b/git_push.sh old mode 100644 new mode 100755 diff --git a/git_update.sh b/git_update.sh old mode 100644 new mode 100755 diff --git a/requirements.txt b/requirements.txt old mode 100644 new mode 100755 diff --git a/sensor_to_local.py b/sensor_to_local.py old mode 100644 new mode 100755 diff --git a/sensor_to_server.py b/sensor_to_server.py old mode 100644 new mode 100755 diff --git a/tool.py b/tool.py old mode 100644 new mode 100755