tarina

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

commit c601de0fc5f554c82108208195d0157b42510e43
parent b83de71ff8e7188984bbb144a724bc512579351e
Author: rbckman <rbckman@ceppo>
Date:   Mon,  7 Oct 2019 12:11:37 +0300

still got dropped frames, reducing bitrate even further

Diffstat:
Mtarina.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tarina.py b/tarina.py @@ -568,7 +568,7 @@ def timelapse(beeps,camera,foldername,filename): if recording == False and t > between: if beeps > 0: buzz(150) - camera.start_recording(foldername + 'timelapse/' + filename + '_' + str(n).zfill(3) + '.h264', format='h264', quality=25, bitrate=5000000) + camera.start_recording(foldername + 'timelapse/' + filename + '_' + str(n).zfill(3) + '.h264', format='h264', quality=25, bitrate=3000000) if sound == True: os.system(tarinafolder + '/alsa-utils-1.1.3/aplay/arecord -D hw:0 -f S16_LE -c 1 -r 44100 -vv /dev/shm/' + filename + '_' + str(n).zfill(3) + '.wav &') files.append(foldername + 'timelapse/' + filename + '_' + str(n).zfill(3)) @@ -2235,7 +2235,7 @@ def main(): if os.path.isdir(foldername) == False: os.makedirs(foldername) os.system(tarinafolder + '/alsa-utils-1.1.3/aplay/arecord -D hw:0 -f S16_LE -c 1 -r44100 -vv /dev/shm/' + filename + '.wav &') - camera.start_recording(foldername + filename + '.h264', format='h264', quality=25, bitrate=5000000) + camera.start_recording(foldername + filename + '.h264', format='h264', quality=25, bitrate=3000000) starttime = time.time() recording = True elif recording == True and float(time.time() - starttime) > 0.2: