mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2024-11-22 13:37:19 +00:00
add enable_mp4_write variable in run_mmc.sh
This commit is contained in:
parent
24baf11f4a
commit
07a1b0c825
@ -53,6 +53,8 @@ RTSP_LOW_RES_MAX_BITRATE=""
|
|||||||
RTSP_LOW_RES_TARGET_BITRATE=""
|
RTSP_LOW_RES_TARGET_BITRATE=""
|
||||||
RTSP_LOW_RES_ENC_PARAMETER=""
|
RTSP_LOW_RES_ENC_PARAMETER=""
|
||||||
|
|
||||||
|
ENABLE_MP4_WRITE="false"
|
||||||
|
|
||||||
#####GENERAL#####
|
#####GENERAL#####
|
||||||
ENABLE_SWAP="true"
|
ENABLE_SWAP="true"
|
||||||
ENABLE_USB_STORAGE="false"
|
ENABLE_USB_STORAGE="false"
|
||||||
@ -356,6 +358,13 @@ else
|
|||||||
echo "remote accessory disabled"
|
echo "remote accessory disabled"
|
||||||
fi
|
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 [[ "$RTSP_HI_RES_ENABLED" == "true" ]]; then
|
||||||
|
|
||||||
if [[ "$ENABLE_SWAP" == "true" ]]; then
|
if [[ "$ENABLE_SWAP" == "true" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user