From bba772917861d91a4c4bdad3fb120f697ba23114 Mon Sep 17 00:00:00 2001 From: Claude Meyer Date: Sat, 28 May 2022 11:54:42 -0500 Subject: [PATCH] Flipped registers for target/max bitrate on V3. --- SD_ROOT/wz_mini/etc/init.d/wz_user.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/SD_ROOT/wz_mini/etc/init.d/wz_user.sh b/SD_ROOT/wz_mini/etc/init.d/wz_user.sh index 53cb06d..c579c4d 100755 --- a/SD_ROOT/wz_mini/etc/init.d/wz_user.sh +++ b/SD_ROOT/wz_mini/etc/init.d/wz_user.sh @@ -406,7 +406,7 @@ if [[ "$RTSP_HI_RES_ENABLED" == "true" ]]; then if [[ "$V2" == "true" ]]; then watch -n30 -t "/system/bin/impdbg --enc_rc_s 0:28:4:$RTSP_LOW_RES_MAX_BITRATE" > /dev/null 2>&1 & else - watch -n30 -t "/system/bin/impdbg --enc_rc_s 0:48:4:$RTSP_HI_RES_MAX_BITRATE" > /dev/null 2>&1 & + watch -n30 -t "/system/bin/impdbg --enc_rc_s 0:52:4:$RTSP_HI_RES_MAX_BITRATE" > /dev/null 2>&1 & fi fi @@ -414,7 +414,7 @@ if [[ "$RTSP_HI_RES_ENABLED" == "true" ]]; then if [[ "$V2" == "true" ]]; then echo "not supported on v2" else - watch -n30 -t "/system/bin/impdbg --enc_rc_s 0:52:4:$RTSP_HI_RES_TARGET_BITRATE" > /dev/null 2>&1 & + watch -n30 -t "/system/bin/impdbg --enc_rc_s 0:48:4:$RTSP_HI_RES_TARGET_BITRATE" > /dev/null 2>&1 & fi fi @@ -475,7 +475,7 @@ if [[ "$RTSP_LOW_RES_ENABLED" == "true" ]]; then if [[ "$V2" == "true" ]]; then watch -n30 -t "/system/bin/impdbg --enc_rc_s 1:28:4:$RTSP_LOW_RES_MAX_BITRATE" > /dev/null 2>&1 & else - watch -n30 -t "/system/bin/impdbg --enc_rc_s 1:48:4:$RTSP_LOW_RES_MAX_BITRATE" > /dev/null 2>&1 & + watch -n30 -t "/system/bin/impdbg --enc_rc_s 1:52:4:$RTSP_LOW_RES_MAX_BITRATE" > /dev/null 2>&1 & fi fi @@ -483,7 +483,7 @@ if [[ "$RTSP_LOW_RES_ENABLED" == "true" ]]; then if [[ "$V2" == "true" ]]; then echo "not supported on v2" else - watch -n30 -t "/system/bin/impdbg --enc_rc_s 1:52:4:$RTSP_LOW_RES_TARGET_BITRATE" > /dev/null 2>&1 & + watch -n30 -t "/system/bin/impdbg --enc_rc_s 1:48:4:$RTSP_LOW_RES_TARGET_BITRATE" > /dev/null 2>&1 & fi fi