gonzopi

git clone https://git.tarina.org/gonzopi
Log | Files | Refs | README | LICENSE

commit 762f788de9c30fd9cf32e6b2f1a5049dd1333171
parent 4f8da412453c119cbd6565a0e52d38d28ad297c1
Author: rbckman <rob@tarina.org>
Date:   Wed,  9 Apr 2025 12:34:28 +0300

make the bitrate and quality according to RPI version

Diffstat:
Mgonzopi.py | 8++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/gonzopi.py b/gonzopi.py @@ -168,8 +168,12 @@ def main(): fps = 25 fps_selected=8 fps_selection=[] - quality = 20 - bitrate = 8888888 + if 'Raspberry Pi 4 Model B' in raspberrypiversion: + quality = 20 + bitrate = 8888888 + if 'Raspberry Pi 3 Model B' in raspberrypiversion: + quality = 30 + bitrate = 1111111 profilelevel='4.2' headphoneslevel = 40 miclevel = 50