diff --git a/SD_ROOT/wz_mini/run_mmc.sh b/SD_ROOT/wz_mini/run_mmc.sh index 7e23472..12b9395 100755 --- a/SD_ROOT/wz_mini/run_mmc.sh +++ b/SD_ROOT/wz_mini/run_mmc.sh @@ -53,6 +53,8 @@ RTSP_LOW_RES_MAX_BITRATE="" RTSP_LOW_RES_TARGET_BITRATE="" RTSP_LOW_RES_ENC_PARAMETER="" +ENABLE_MP4_WRITE="false" + #####GENERAL##### ENABLE_SWAP="true" ENABLE_USB_STORAGE="false" @@ -356,6 +358,13 @@ else echo "remote accessory disabled" fi +if [[ "$ENABLE_MP4_WRITE" == "true" ]]; then + /opt/wz_mini/bin/cmd mp4write on + echo "mp4 write enabled" +else + echo "mp4 write disabled" +fi + if [[ "$RTSP_HI_RES_ENABLED" == "true" ]]; then if [[ "$ENABLE_SWAP" == "true" ]]; then