tarina

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

commit 0880c723babd7bbcd8c3758fad325b5cc6701afa
parent 0336dd5c228ef25278f3a1184c8d08ad193e15c9
Author: rbckman <robinbackman@gmail.com>
Date:   Mon, 26 Nov 2018 08:39:23 +0200

recording sound 0.1 s longer so there's no gap od sound

Diffstat:
Mdocs/makedocs.sh | 2+-
Mdocs/tarina-build-instructions.html | 2+-
Mdocs/tarina-build-instructions.md | 2+-
Mdocs/tarina-build-instructions.pdf | 0
Mtarina.py | 9++++++---
5 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/docs/makedocs.sh b/docs/makedocs.sh @@ -1,6 +1,6 @@ #!/bin/bash ## install dependencies -## sudo apt install pandoc texlive-fonts-recommended texlive-latex-recommended +sudo apt install -y pandoc texlive-fonts-recommended texlive-latex-recommended pandoc tarina-build-instructions.md -f markdown -V keywords="Camera, 3d Printed, Filmmaker, Raspberry pi, Lazy" -V title-prefix="Tarina" -V css="style.css" -V pagetitle="a 3d printable camera for lazy filmmakers" -s -o tarina-build-instructions.html pandoc tarina-build-instructions.md -f markdown -V papersize="A4" -s -o tarina-build-instructions.pdf diff --git a/docs/tarina-build-instructions.html b/docs/tarina-build-instructions.html @@ -43,7 +43,7 @@ <h2 id="arducam-5-mp-ov5647-camera-module-with-cs-lens">Arducam 5 MP OV5647 camera module with CS lens</h2> <p>Price ~30 eur</p> <p>This module and lens gives good hd video quality with the ability to manually focus and replace lenses. See tested lenses down below.</p> -<p><strong>Links</strong> <a href="http://arducam.com/">Arducam</a> <strong>Buy</strong> [ebay]((https://www.ebay.com/itm/OV5647-Camera-Board-w-CS-mount-Lens-for-Raspberry-Pi-3-B-B-2-Model-B-/281212355128?txnId=1913825600018)</p> +<p><strong>Links</strong> <a href="http://arducam.com/">Arducam</a> <strong>Buy</strong> <a href="https://www.ebay.com/itm/OV5647-Camera-Board-w-CS-mount-Lens-for-Raspberry-Pi-3-B-B-2-Model-B-/281212355128?txnId=1913825600018">ebay</a></p> <hr /> <h2 id="ugeek-3.5-inch-800x480-tft-screen">Ugeek 3.5 inch 800x480 TFT Screen</h2> <p>Price ~35 eur</p> diff --git a/docs/tarina-build-instructions.md b/docs/tarina-build-instructions.md @@ -61,7 +61,7 @@ This module and lens gives good hd video quality with the ability to manually fo **Links** [Arducam](http://arducam.com/) **Buy** -[ebay]((https://www.ebay.com/itm/OV5647-Camera-Board-w-CS-mount-Lens-for-Raspberry-Pi-3-B-B-2-Model-B-/281212355128?txnId=1913825600018) +[ebay](https://www.ebay.com/itm/OV5647-Camera-Board-w-CS-mount-Lens-for-Raspberry-Pi-3-B-B-2-Model-B-/281212355128?txnId=1913825600018) --- diff --git a/docs/tarina-build-instructions.pdf b/docs/tarina-build-instructions.pdf Binary files differ. diff --git a/tarina.py b/tarina.py @@ -1118,7 +1118,7 @@ def startcamera(lens): #lensshade = npzfile['lens_shading_table'] table = read_table('lenses/' + lens) #camera.framerate = 24.999 - camera.framerate = 26.04 + camera.framerate = 26.03 camera.crop = (0, 0, 1.0, 1.0) #camera.video_stabilization = True camera.led = False @@ -1270,6 +1270,7 @@ def main(): diskleft = str(disk.f_bavail * disk.f_frsize / 1024 / 1024 / 1024) + 'Gb' recording = False camera.stop_recording() + time.sleep(0.1) #get audio at least 0.1 longer os.system('pkill arecord') if beeps > 0: buzz(150) @@ -1284,7 +1285,9 @@ def main(): updatethumb = True compileshot(foldername + filename) delayerr = audiodelay(foldername,filename) - buzz(300) + if beeps > 0: + buzz(300) + #if not in last shot or take then go to it if pressed == 'record' and recordable == False: takes = counttakes(filmname, filmfolder, scene, shot) if takes > 0: @@ -1712,7 +1715,7 @@ def main(): settings = filmname, str(scene), str(shot), str(take), rectime, camerashutter, cameraiso, camerared, camerablue, str(camera.brightness), str(camera.contrast), str(camera.saturation), str(flip), str(beeps), str(reclenght), str(miclevel), str(headphoneslevel), diskleft + ' ' + delayerr, '', '', lens, serverstate, wifistate, '', '' writemenu(menu,settings,selected,'') #Rerender menu five times to be able to se picamera settings change - if rerendermenu < 100000: + if rerendermenu < 10000: rerendermenu = rerendermenu + 1 rendermenu = True else: