diff --git a/board/raspberrypi/motioneye-modules/streameyectl.py b/board/raspberrypi/motioneye-modules/streameyectl.py index 930734c501..1e84bbc930 100755 --- a/board/raspberrypi/motioneye-modules/streameyectl.py +++ b/board/raspberrypi/motioneye-modules/streameyectl.py @@ -416,7 +416,7 @@ def _get_streameye_settings(camera_id): 'seMJPEGWidth': 640, 'seMJPEGHeight': 480, 'seMJPEGFramerate': 5, - 'seMJPEGBitrate': 1000000 + 'seMJPEGBitrate': 800000 } if os.path.exists(STREAMEYE_CONF): @@ -478,7 +478,7 @@ def _set_streameye_settings(camera_id, s): s.setdefault('seMJPEGWidth', 640) s.setdefault('seMJPEGHeight', 480) s.setdefault('seMJPEGFramerate', 5) - s.setdefault('seMJPEGBitrate', 2000000) + s.setdefault('seMJPEGBitrate', 800000) main_config = config.get_main() username = main_config['@normal_username'] @@ -1283,9 +1283,9 @@ def seMJPEGBitrate(): return { 'label': 'MJPEG Bitrate', - 'description': 'the MJPEG Bitrate fed to the frontend and used for motion detection on remote machines when streaming RTSP; for motion detection, 2000000 works good', + 'description': 'the MJPEG Bitrate fed to the frontend and used for motion detection on remote machines when streaming RTSP; for motion detection, 800000 works good', 'type': 'number', - 'min': 1000000, + 'min': 0, 'max': 25000000, 'section': 'streaming', 'camera': True, diff --git a/board/raspberrypi/overlay/usr/bin/streameye.sh b/board/raspberrypi/overlay/usr/bin/streameye.sh index ab2a1e0099..f56cc23b16 100755 --- a/board/raspberrypi/overlay/usr/bin/streameye.sh +++ b/board/raspberrypi/overlay/usr/bin/streameye.sh @@ -61,8 +61,8 @@ function start() { RTSP_PORT=${RTSP_PORT:-554} MJPEG_WIDTH=${MJPEG_WIDTH:-640} MJPEG_HEIGHT=${MJPEG_HEIGHT:-480} - MJPEG_FRAMERATE=${MJPEG_FRAMERATE:-2} - MJPEG_BITRATE=${MJPEG_BITRATE:-2000000} + MJPEG_FRAMERATE=${MJPEG_FRAMERATE:-5} + MJPEG_BITRATE=${MJPEG_BITRATE:-800000} audio_path="" audio_opts="" diff --git a/board/raspberrypi2/motioneye-modules/streameyectl.py b/board/raspberrypi2/motioneye-modules/streameyectl.py index 930734c501..1e84bbc930 100755 --- a/board/raspberrypi2/motioneye-modules/streameyectl.py +++ b/board/raspberrypi2/motioneye-modules/streameyectl.py @@ -416,7 +416,7 @@ def _get_streameye_settings(camera_id): 'seMJPEGWidth': 640, 'seMJPEGHeight': 480, 'seMJPEGFramerate': 5, - 'seMJPEGBitrate': 1000000 + 'seMJPEGBitrate': 800000 } if os.path.exists(STREAMEYE_CONF): @@ -478,7 +478,7 @@ def _set_streameye_settings(camera_id, s): s.setdefault('seMJPEGWidth', 640) s.setdefault('seMJPEGHeight', 480) s.setdefault('seMJPEGFramerate', 5) - s.setdefault('seMJPEGBitrate', 2000000) + s.setdefault('seMJPEGBitrate', 800000) main_config = config.get_main() username = main_config['@normal_username'] @@ -1283,9 +1283,9 @@ def seMJPEGBitrate(): return { 'label': 'MJPEG Bitrate', - 'description': 'the MJPEG Bitrate fed to the frontend and used for motion detection on remote machines when streaming RTSP; for motion detection, 2000000 works good', + 'description': 'the MJPEG Bitrate fed to the frontend and used for motion detection on remote machines when streaming RTSP; for motion detection, 800000 works good', 'type': 'number', - 'min': 1000000, + 'min': 0, 'max': 25000000, 'section': 'streaming', 'camera': True, diff --git a/board/raspberrypi2/overlay/usr/bin/streameye.sh b/board/raspberrypi2/overlay/usr/bin/streameye.sh index ab2a1e0099..f56cc23b16 100755 --- a/board/raspberrypi2/overlay/usr/bin/streameye.sh +++ b/board/raspberrypi2/overlay/usr/bin/streameye.sh @@ -61,8 +61,8 @@ function start() { RTSP_PORT=${RTSP_PORT:-554} MJPEG_WIDTH=${MJPEG_WIDTH:-640} MJPEG_HEIGHT=${MJPEG_HEIGHT:-480} - MJPEG_FRAMERATE=${MJPEG_FRAMERATE:-2} - MJPEG_BITRATE=${MJPEG_BITRATE:-2000000} + MJPEG_FRAMERATE=${MJPEG_FRAMERATE:-5} + MJPEG_BITRATE=${MJPEG_BITRATE:-800000} audio_path="" audio_opts="" diff --git a/board/raspberrypi3/motioneye-modules/streameyectl.py b/board/raspberrypi3/motioneye-modules/streameyectl.py index 930734c501..1e84bbc930 100755 --- a/board/raspberrypi3/motioneye-modules/streameyectl.py +++ b/board/raspberrypi3/motioneye-modules/streameyectl.py @@ -416,7 +416,7 @@ def _get_streameye_settings(camera_id): 'seMJPEGWidth': 640, 'seMJPEGHeight': 480, 'seMJPEGFramerate': 5, - 'seMJPEGBitrate': 1000000 + 'seMJPEGBitrate': 800000 } if os.path.exists(STREAMEYE_CONF): @@ -478,7 +478,7 @@ def _set_streameye_settings(camera_id, s): s.setdefault('seMJPEGWidth', 640) s.setdefault('seMJPEGHeight', 480) s.setdefault('seMJPEGFramerate', 5) - s.setdefault('seMJPEGBitrate', 2000000) + s.setdefault('seMJPEGBitrate', 800000) main_config = config.get_main() username = main_config['@normal_username'] @@ -1283,9 +1283,9 @@ def seMJPEGBitrate(): return { 'label': 'MJPEG Bitrate', - 'description': 'the MJPEG Bitrate fed to the frontend and used for motion detection on remote machines when streaming RTSP; for motion detection, 2000000 works good', + 'description': 'the MJPEG Bitrate fed to the frontend and used for motion detection on remote machines when streaming RTSP; for motion detection, 800000 works good', 'type': 'number', - 'min': 1000000, + 'min': 0, 'max': 25000000, 'section': 'streaming', 'camera': True, diff --git a/board/raspberrypi3/overlay/usr/bin/streameye.sh b/board/raspberrypi3/overlay/usr/bin/streameye.sh index ab2a1e0099..f56cc23b16 100755 --- a/board/raspberrypi3/overlay/usr/bin/streameye.sh +++ b/board/raspberrypi3/overlay/usr/bin/streameye.sh @@ -61,8 +61,8 @@ function start() { RTSP_PORT=${RTSP_PORT:-554} MJPEG_WIDTH=${MJPEG_WIDTH:-640} MJPEG_HEIGHT=${MJPEG_HEIGHT:-480} - MJPEG_FRAMERATE=${MJPEG_FRAMERATE:-2} - MJPEG_BITRATE=${MJPEG_BITRATE:-2000000} + MJPEG_FRAMERATE=${MJPEG_FRAMERATE:-5} + MJPEG_BITRATE=${MJPEG_BITRATE:-800000} audio_path="" audio_opts="" diff --git a/board/raspberrypi4/motioneye-modules/streameyectl.py b/board/raspberrypi4/motioneye-modules/streameyectl.py index 930734c501..1e84bbc930 100755 --- a/board/raspberrypi4/motioneye-modules/streameyectl.py +++ b/board/raspberrypi4/motioneye-modules/streameyectl.py @@ -416,7 +416,7 @@ def _get_streameye_settings(camera_id): 'seMJPEGWidth': 640, 'seMJPEGHeight': 480, 'seMJPEGFramerate': 5, - 'seMJPEGBitrate': 1000000 + 'seMJPEGBitrate': 800000 } if os.path.exists(STREAMEYE_CONF): @@ -478,7 +478,7 @@ def _set_streameye_settings(camera_id, s): s.setdefault('seMJPEGWidth', 640) s.setdefault('seMJPEGHeight', 480) s.setdefault('seMJPEGFramerate', 5) - s.setdefault('seMJPEGBitrate', 2000000) + s.setdefault('seMJPEGBitrate', 800000) main_config = config.get_main() username = main_config['@normal_username'] @@ -1283,9 +1283,9 @@ def seMJPEGBitrate(): return { 'label': 'MJPEG Bitrate', - 'description': 'the MJPEG Bitrate fed to the frontend and used for motion detection on remote machines when streaming RTSP; for motion detection, 2000000 works good', + 'description': 'the MJPEG Bitrate fed to the frontend and used for motion detection on remote machines when streaming RTSP; for motion detection, 800000 works good', 'type': 'number', - 'min': 1000000, + 'min': 0, 'max': 25000000, 'section': 'streaming', 'camera': True, diff --git a/board/raspberrypi4/overlay/usr/bin/streameye.sh b/board/raspberrypi4/overlay/usr/bin/streameye.sh index ab2a1e0099..f56cc23b16 100755 --- a/board/raspberrypi4/overlay/usr/bin/streameye.sh +++ b/board/raspberrypi4/overlay/usr/bin/streameye.sh @@ -61,8 +61,8 @@ function start() { RTSP_PORT=${RTSP_PORT:-554} MJPEG_WIDTH=${MJPEG_WIDTH:-640} MJPEG_HEIGHT=${MJPEG_HEIGHT:-480} - MJPEG_FRAMERATE=${MJPEG_FRAMERATE:-2} - MJPEG_BITRATE=${MJPEG_BITRATE:-2000000} + MJPEG_FRAMERATE=${MJPEG_FRAMERATE:-5} + MJPEG_BITRATE=${MJPEG_BITRATE:-800000} audio_path="" audio_opts=""