commit a4fde6081b0ed645eabaf4fe03760895df322e48
parent 639099e6614cea97d2c6775b6c6bfc2bcfa3ba05
Author: rbckman <rob@tarina.org>
Date: Wed, 17 Jul 2024 08:37:55 +0100
use bitrate instead
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gonzopi.py b/gonzopi.py
@@ -1308,7 +1308,7 @@ def main():
os.system(gonzopifolder + '/alsa-utils-1.1.3/aplay/arecord -D dsnoop:' + str(plughw) + ' -f '+soundformat+' -c ' + str(channels) + ' -r '+soundrate+' -vv '+ foldername + filename + '.wav &')
sound_start = time.time()
if onlysound != True:
- camera.start_recording(filmfolder+ '.videos/'+video_origins+'.h264', format='h264', quality=quality, level=profilelevel)
+ camera.start_recording(filmfolder+ '.videos/'+video_origins+'.h264', format='h264', bitrate = 5555555, level=profilelevel)
starttime = time.time()
os.system('ln -sfr '+filmfolder+'.videos/'+video_origins+'.h264 '+foldername+filename+'.h264')
recording = True