gonzopi-manual.md (20156B)
1 2  3 4 <br> 5 6  7 8 It's a video camera with tape and scissors! 9 --------------------------------------------------------- 10 Press view button while a scene is selected will glue all last takes of all shots in that scene together and play it. Press view while a film is selected will glue all scenes in that film together. 11 12 And multitrack audio dubbing 13 ---------------------------- 14 Pressing enter/middle button on a film, scene or shot will take you to a multitrack dub settings menu. Here you can press record to begin a new audio dub track, you can have as many dub tracks as you need. Next time you view your shot, scene or film it will be mixed in. 15 16  17 18 Control the GonzoPi with a keyboard or through the network or with physical buttons; Enter, Up, Down, Left, Right, Record, Retake, View and Remove. 19 20 Retake 21 ------- 22 After recording, press record to make next shot or press retake and you'll be filming a new take, the last take in a shot is chosen when viewing a scene or the whole film. 23 Hint! pressing record while browsing existing takes, shots and scenes will take you to the last shot in that scene. Pressing retake will do just that, a retake. Makes perfectly sense, right? Fiddle around with it, you'll totally get it. 24 25 \break 26 27 Keys 28 ==== 29 30 ### Buttons 31  32 33  34 35 ### Keyboard 36  37 38 With keys up and down you change a specific setting, for example shutter speed. With keys left and right you change what settings to change. With view, you can view the last shot or if you have a specific scene highlighted the camera would automatically glue all shots together and play that scene for you, same goes for film. With remove you can remove a specific take, shot, scene or film. With the retake button you retake a bad take, this is how the camera keeps track of your good takes. The last take is always the chosen one. 39 40 Special keys on the keyboard (CAPITAL): 41 42 H = Hide / Show Help 43 44 C = Copy scene/shot 45 46 M = Move (as in cut and paste) scene/shot 47 48 I = Insert empty, copied or cut scene/shot 49 50 S = Screen On / Off 51 52 Spacebar / PageUp = Rec / Stop 53 54 PageDown = Retake 55 56 Tab = View 57 58 A = Hide / Show Menu 59 60  61 62 Menus 63 ===== 64 A short explanation of all the settings and why they are where they are. 65 66 ### Film, scene, shot and take 67 The idea of the workflow is: film only the essential, you can merge your shots of a scene and view it on the spot and do a retake if you need to fix something rather than filming a bunch and fixing it later while editing. When you get the hang of it there won't be not much editing later. 68 69 ### Dubbing 70 If you press enter while you've highlighted the film name or a scene you'll be entering dub settings menu. (ADD:d:1.0/o:1.0) this indicates the volume of the (d)ub to the previous (o)riginal mix. So, for example if you want the dub volume to be 50% of the previous audio, the settings would look like this (ADD:d:0.5/o:1.0). A good all-around background music volume level is only 10% so it would look like this (ADD:d:0.1/o:1.0). The other setting is fade in and out in seconds (in: 0.5) (out: 1.0) whould be half a second in and a second out. Now if you press enter while the ADD is highlighted you'll be dubbing. You can change the settings later if you come back to the menu. 71 72 ### Shutter, iso, red, blue 73 Shutter and iso are well know basic camera concepts. With red and blue you control the colors. If you press enter while on any of these then it will go into auto mode and if you press it again it will go back to manual mode with the current auto settings. I'm using this feature to quickly find a reasonable good value before I'm locking and tuning the settings manually to my likings. Cuz you always will know better than the robots! 74 75 ### Bright, cont, sat 76 Color grade on the go with brightness, contrast and saturation. You will probably have to play with theses to figure out what you want. Remember that as you're making your film ready while you're shooting it take by take, there's no color grading later on so you'll have to settle on your color grade before you film. To get that good old spaghetti western look go with the contrast at -19. 77 78 ### Flip, beep, lenght 79 If you go gonzo, flippin it is the way to go! beep is a countdown timer from the moment you press rec or retake to when it actually starts filming. Lenght let's you put in the lenght of your take before you actually start filming. Both of these are very useful if you film action alone and can't reach for the buttons. 80 81 ### Mic, phones, comp 82 Control teh level of your mic and headphones. Comp is a basic compressor so your message comes across and we hear ya! it's quite harsh at the moment but I like it when it goes craking up abit like in the good old 70s cinema. 83 84 ### Timelapse 85 Do a timelapse when you need to tell about time. There's an under menu here where you can choose the intervall of the takes, now this isn't really a traditional timelapse, it will instead do a 0.2 sec video at each intervall or it can be set to your likings but 0.2 is good for a traditional timelapse effect. At the bottom of the screen is a calculation of how long the clip will be if you do the timelapse for an hour. I'd say don't over do it! a 10 - 20 sec clip is already quite a stretch but its up to you, you're the movie film director. 86 87 ### Dsk, shutdown, srv, wifi 88 Disk space, showing you how much of space left on your sd card. Shutdown, when your really done! it's good to do this before cutting the power or otherwise there's a small chance of sd card corruption. Srv is a network server, if your connected to a network and put this on you should be able to go to any browser on any device and watch your movie films (that is if you've rendered them first), just go to http://gonzopi.local or it might be that you have to know the ip address of your gonzopi (you'll find it when you've connected it. Press enter on wifi. There it is on the bottom of the screen, looks like this 192.168.1.105). If you press enter on wifi you will be transported to a glorious program called Wicd curses, here you really need to have a keyboard to set up your connections. Hints are down on the screen what buttons to press. To get back into Gonzopi press "q". 89 90 ### Update and upload 91 Update the camera to the most exclusive version, this is still pretty much a-work-in-progress and as a warnign expect some bugs! don't worry I'll be improving things but it takes time. Upload your film to the web, there is a youtube uploader mod you can install but you'll have to do some configs to make it work for you. Details coming soon. Reach out to the matrix room if you're in a hurry.. 92 93 to get the youtube api secrets `wget https://gonzopi.org/yt/.client_secrets.json` 94 95 ### Backup 96 It's good to always backup your stuff! Plug in your usb drive and just press enter and sit back and relax as the wonderful work of computer copying does the magic. While you're at it open a beer cuz it can take quite a while if you got much stuff on there. Now, this should be working on almost all hard drives but there are some that still use a very old file system called fat, and its as lazy as its given name and doesnt store critical information we would want, because we want the copying to only copy our new takes or retakes. So please use new drives like ntfs systems or ext or whatever they all are called. You'll find all your takes even the shitty ones on your harddrive in a directory called /gonzopifilms/. One more thing, there are some drives that are very power hungry and doesnt come with it's own power source, now these drives are very bad for this particular use because the Gonzopi has limited amounts of power for usb use, so to be sure it's gonna work, use powered hard drives that has got a power cord. 97 98 ### Load and new 99 You can have many on going films, load em up or start as many films as you like. 100 101 ------------------------------ 102 103 ### [Building, repairing & modding] 104 1. [Get the parts](#get-the-parts) 105 2. [3d printing](#3d-printing) 106 3. [Post processing](#post-processing) 107 4. [Wiring](#wiring) 108 5. [Putting it together](#putting-it-together) 109 6. [Installing software](#installing-software) 110 7. [Tested lenses](#tested-lenses) 111 112 Building, repairing and modding 113 =============================== 114 115 Get the parts 116 -------------- 117 118  119 120 Here is a list of parts that are recommended, there are other parts that probably will work but requires some hacking. 121 122 Raspberry pi 4 B 123 ---------------- 124 Price ~40 eur 125 126 The heart of Gonzopi. Why Raspberry pi you ask? There are several reasons: 127 128 * Huge support. 129 * The great Debian based os Raspbian. 130 * Low price. 131 * Picamera. 132 133 **Links** 134 [Raspberry pi site](https://raspberrypi.org) 135 **Buy** 136 [TME.EU](https://www.tme.eu/fi/details/sc0192-11/raspberry-pi-minitietokoneet/raspberry-pi/raspberry-pi-4-model-b-1gb-ram/?brutto=1¤cy=EUR&utm_source=google&utm_medium=cpc&utm_campaign=FINLANDIA%20%5BPLA%5D%20CSS%20%5BHP%5D&gad_source=1&gclid=EAIaIQobChMI9vy3hKHujAMV1l6RBR3eHRuqEAQYAiABEgJRC_D_BwE) 137 138 64 Gb Samsung Evo+ Micro SD 139 --------------------- 140 Price ~10 eur 141 142 This is a good performance card. 143 144 [Aliexpress](https://www.aliexpress.com/item/32676225311.html?spm=a2g0o.productlist.0.0.11ed1b664kPdEf&algo_pvid=d9155fff-7ddc-47bb-9512-f7e686fe69ac&algo_expid=d9155fff-7ddc-47bb-9512-f7e686fe69ac-0&btsid=e2f36205-1c37-47bc-9a94-c006837f0992&ws_ab_test=searchweb0_0,searchweb201602_7,searchweb201603_55) 145 146 147 Raspberry Pi High Quality Camera 148 ---------------------------------------------- 149 Price ~60 eur 150 151 This is the recommended camera module for Gonzopi, 12.3 megapixel Sony IMX477 sensor, 7.9mm diagonal image size, and back-illuminated sensor architecture, with adjustable back focus and support for C- and CS-mount lenses. 152 153 **Links** 154 **Buy** 155 [Raspberry pi](https://www.raspberrypi.org/products/raspberry-pi-high-quality-camera/?resellerType=home) 156 157 158 Pimoroni Hyperpixel 4 inch screen 159 ----------------------------- 160 Price ~35 eur 161 162 Bright 4 inch responsible screen. Beware when installing the screen, it's quite britle! 163 164 **Links** 165 [Pimoroni](https://learn.pimoroni.com/tutorial/sandyj/getting-started-with-hyperpixel-4) 166 **Buy** 167 [Pimoroni](https://shop.pimoroni.com/products/hyperpixel-4) 168 [Farnell](https://fi.farnell.com/pimoroni/pim370/hyperpixel-board-raspberry-pi/dp/3401805) 169 170 171 USB via vt1620a sound card 172 -------------------------- 173 Price ~1 eur 174 175 Really cheap usb soundcard. It has been working suprisingly well. Have not tested other cards yet. 176 177 **Buy** 178 [Aliexpress](https://www.aliexpress.com/item/Professional-External-USB-Sound-Card-Adapter-Virtual-7-1-Channel-3D-Audio-with-3-5mm-Headset/32588038556.html?spm=2114.01010208.8.8.E8ZKLB) 179 180 181 3.7v 7800mAh li-ion Battery 182 --------------------------- 183 Price ~17 eur 184 185 I have tried several batteries, the adafruit 6800mAh is also fine. 186 187 **Buy** 188 [Aliexpress](https://www.aliexpress.com/item/free-shipping-3-7v-7800mah-18650-li-ion-rechargeable-battery-pack-18650-3P-lithium-ion-battery/32823635264.html?spm=a2g0s.9042311.0.0.49ba4c4dyoKkZS) 189 190 Or you can buy 3 pcs of 3.7V 18650 Lithium cells and protect them with an Lithium Battery Protection Board Overcharge Over-discharge. 191 192 [Aliexpress](https://www.aliexpress.com/item/32826851071.html?spm=a2g0s.9042311.0.0.27424c4dUBojcv) 193 194 Here's a pack with 40 pcs of 2600mAh 3.7V 18650 cells. 195 196 [Aliexpress](https://www.aliexpress.com/item/32795814865.html?spm=a2g0s.9042311.0.0.27424c4dUBojcv) 197 198 Type-C 5v 2A 3.7V Li-ion battery charger booster module 199 ------------------------------------------------------- 200 Price ~2€ 201 202 Enough juice in this booster charger to run teh pi 3b without dropping voltage. 203 204 **Buy** 205 [Ebay](https://www.ebay.com/itm/Type-C-USB-5V-2A-3-7V-18650-Lithium-Li-ion-Battery-Charging-Board-Charger-Module/383717339632?var=652109038482) 206 207 8x8x5MM DIP-4 Silicone Switch Mute Silent button 208 ------------------------------------------------ 209 Price ~2 eur/20 pcs 210 211 You can only buy a pack of 20 pcs but these buttons are good and silent! Not necessary if you want to control with keyboard like Rii mini 8+ 212 213 **Buy** 214 [Ebay](http://www.ebay.com/itm/151723036469?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT) 215 [Aliexpress](https://www.aliexpress.com/item/32777086031.html?spm=a2g0o.productlist.0.0.5cfc6136IYeRxe&algo_pvid=f4209ce9-f7c5-47f1-8d98-6b0cd8affb32&algo_expid=f4209ce9-f7c5-47f1-8d98-6b0cd8affb32-0&btsid=7ceb3856-696f-4ddd-9858-84c295f67c48&ws_ab_test=searchweb0_0,searchweb201602_7,searchweb201603_55) 216 217 218 MCP23017-E/SP DIP-28 16 bit I / O expander I2C 219 ----------------------------------------------- 220 Price ~1 eur 221 222 This will be connected to the screen I2C port. This is not necessary if you intend to control the camera with a keyboard like the Rii mini i8+ 223 224 **Buy** 225 [Aliexpress](https://www.aliexpress.com/item/10PCS-MCP23017-E-SP-DIP-28-MCP23017-16-Bit-I-O-Expander-with-I2C-Interface-IC/32665631086.html?spm=a2g0s.9042311.0.0.27424c4dn4m008) 226 227 Piezo electronic buzzer 228 ----------------------- 229 Price ~1 eur 230 231 Very useful for timing shots! 232 233 **Buy** 234 [Aliexpress](https://www.aliexpress.com/store/product/New-Arrival-Durable-3-24V-Piezo-Electronic-Buzzer-Alarm-95DB-Continuous-Sound-Beeper-For-Arduino-Car/1959068_32666789405.html?spm=2114.search0204.3.1.4cef4057RBI3xn&ws_ab_test=searchweb0_0,searchweb201602_3_10065_10068_10059_5015413_5015313_10696_100031_10084_10083_5016113_10103_451_10618_452_10304_10307_10820_10821_10302_5016013,searchweb201603_45,ppcSwitch_4_ppcChannel&algo_expid=c84318cd-b50e-4370-9cad-6ae9bc7963ae-0&algo_pvid=c84318cd-b50e-4370-9cad-6ae9bc7963ae&priceBeautifyAB=0) 235 236 237 Latching push button switch 10mm 238 -------------------------------- 239 Price ~5 eur/24 pcs 240 241 I use this as the powerbutton. I have tried different versions of safe shutdown buttons for the Raspberry pi but they have not worked as I wanted (they draw power even when Pi is powered off, this is not good). I have solved the problem with a menu button to safely shut down the camera. 242 243 **Buy** 244 [Aliexpress](https://www.aliexpress.com/item/24pcs-latching-push-button-switch-10mm-fixed-pushbutton-switch-latching-maintained-push-buttons/32770346793.html?spm=a2g0s.9042311.0.0.27424c4ddFzv3i) 245 246 247 Nut 1/4 -20 UNC 304 A2 248 ----------------------- 249 Price ~2 eur/10 pcs 250 251 This is the standard camera stand nuts. If you never use a stand then you dont need this. 252 253 **Buy** 254 [Ebay](https://www.ebay.com/itm/1-4-20-UNC-304-A2-Stainless-Steel-Hex-Full-Nuts-Qty-10PCS-/222134363896?hash=item33b83d66f8)<br> 255 256 Screws M3x12mm 257 ----------- 258 Price ~2 eur/25 pcs 259 260 These hold the camera together. 261 262 **Buy** 263 Your local harware store 264 265 [Ebay](https://www.ebay.com/itm/50X-Stainless-M1-6-M2-M3-M4-Countersunk-Flat-Head-Cross-Miniature-Screw-Bolts/392195849737?hash=item5b50b1be09:m:mGdurHGRlBzB-IIMJirP3Dw) 266 267 Screws M3x30mm 268 --------------- 269 Price ~2 eur/30 pcs 270 271 These hold picamera-body to the body. 272 273 **Buy** 274 [Ebay](https://www.ebay.com/itm/20-pcs-M3-Screw-Diameter-3mm-Length-30mm-M3x30-Stainless-Steel-DIY/181846978737?epid=886666073&hash=item2a56ecb0b1:g:F1MAAOxyUylTSh9n) 275 276 Screws 2.2x9.5mm 277 ---------------- 278 Price ~1 eur/20 pcs 279 280 These hold the camera/mic together. 281 282 **Buy** 283 [Ebay](https://www.ebay.com/itm/M2-2x9-5mm-Stainless-Steel-Phillips-Round-Pan-Head-Self-Tapping-Screws-50pcs/391417337610?epid=1563431736&hash=item5b224a970a:g:oC8AAOSwqDhbAlml) 284 285 Rii mini i8+ mini keyboard 286 -------------------------- 287 Price ~17 eur 288 289 Wireless control over camera. You will also need this for wifi settings etc. (Recommended) This is one of the best mini keyboards I've tried. 290 291 **Buy** 292 [Aliexpress](https://www.aliexpress.com/item/Rii-mini-i8-Russian-English-Spanish-Hebrew-Version-Wireless-Backlit-Keyboard-with-Touchpad-for-PC-Smart/32450468690.html?spm=a2g0s.9042311.0.0.27424c4dKdqpVO) 293 294 External USB3 SSD hard-drive 295 ---------------------------- 296 Price ~50 eur 297 298 It's recommended to film to external drive. 299 300 301 Parts grand total ~200 eur 302 303 304 Optional parts 305 ============== 306 307 Gonzopi viewfinder 308 ----------------- 309 310 This is a 3.5 inch viewfinder for Gonzopi that you can 3d print and make by buying these three parts. 311 312 Lens D42 F110mm 313 --------------- 314 Price ~10 eur 315 316 **Buy** 317 [Aliexpress](https://www.aliexpress.com/item/32958816619.html?spm=a2g0s.9042311.0.0.6fb54c4dGb4wI7) 318 319 Rubber Eyepiece 320 --------------- 321 Price ~4 eur 322 323 **Buy** 324 [Aliexpress](https://www.aliexpress.com/item/32780859922.html?spm=a2g0s.9042311.0.0.27424c4dmVqriG) 325 326 Magnets 25mm x 5mm x 1.5mm 327 -------------------------- 328 Price ~3 eur 10 pcs 329 330 **Buy** 331 [Aliexpress](https://www.aliexpress.com/item/32963277127.html?spm=a2g0s.9042311.0.0.27424c4dRc1vCZ) 332 333 334 3d printing 335 =========== 336 337 While waiting for ordered parts lets 3d print the rest of the parts. I recommend printing with a solid 100% infill. Now it is pretty crucial that you have a good calibrated printer so that you don't over/under print. Some parts need to be very precise to work. 338 339 You'll find all the 3d parts in a [blender file](3d/gonzopi.blend) in the [3d folder](3d/). 340 341 [gonzopi-body.stl](3d/gonzopi-body.stl) 342 343  344 345 [gonzopi-button-plate-bottom.stl](3d/gonzopi-button-plate-bottom.stl) 346 347  348 349 [gonzopi-button-plate-upper](3d/gonzopi-button-plate-upper.stl) 350 351  352 353 [gonzopi-hdmi-cap](3d/gonzopi-hdmi-cap.stl) 354 355  356 357 [gonzopi-left-side](3d/gonzopi-left-side.stl) 358 359  360 361 [gonzopi-picamera-body](3d/gonzopi-picamera-hq-body.stl) 362 363  364 365 [gonzopi-right-side](3d/gonzopi-right-side.stl) 366 367  368 369 [gonzopi-screen-lid](3d/gonzopi-screen-lid-hyperpixel.stl) 370 371  372 373 Wiring 374 ====== 375 376  377 378  379 380  381 382  383 384 385 Installing software 386 =================== 387 388 Download latest [Raspbian](https://www.raspberrypi.org/downloads/raspbian/) and follow [install instructions](https://www.raspberrypi.org/documentation/installation/installing-images/README.md). 389 [Ssh into](https://www.raspberrypi.org/documentation/remote-access/ssh/) Raspberry Pi and run: 390 391 Go to home folder 392 ``` 393 cd /home/pi 394 ``` 395 Install git 396 ``` 397 sudo apt-get install git 398 ``` 399 Git clone gonzopi and then run install script with sudo: 400 ``` 401 git clone https://github.com/rbckman/gonzopi.git 402 cd gonzopi 403 sudo ./install.sh 404 ``` 405 You'r ready to rumble: 406 ``` 407 python3 gonzopi.py 408 ``` 409 Happy filming! 410 411  412 413 414 Tested lenses 415 ============= 416 417 Here is what I'm testing right now. 418 419 2.8mm 3MP F1.2 CS 420 ----------------- 421 Price ~ 6 € 422 423 This is a good wide all around lens. Recomended! 424 [Aliexpress](https://www.aliexpress.com/item/32973023765.html?spm=a2g0o.productlist.0.0.4e9c3761rLgRE0&algo_pvid=f9a62bbd-7981-48cb-a080-c39336b9f53f&algo_expid=f9a62bbd-7981-48cb-a080-c39336b9f53f-1&btsid=028c8b49-83e8-4c56-9b8b-6c32c36e65d9&ws_ab_test=searchweb0_0,searchweb201602_7,searchweb201603_55) 425 426 2.5mm 3MP F1.2 CS 427 ----------------- 428 Price ~ 6 € 429 430 This is an even wider lens. Seems to be the same manufacterer. 431 [Aliexpress](https://www.aliexpress.com/item/32970488708.html?spm=a2g0o.detail.1000023.1.782e6003A85K1u) 432 433 Yumiki 6-60mm 1/3" CS Lens CCTV Lens IR F1.6 Manual Zoom Manual Iris 434 -------------------------------------------------------------------- 435 436 [Aliexpress](https://www.aliexpress.com/item/6-60mm-1-3-CS-Lens-CCTV-Lens-IR-F1-6-Manual-Zoom-Manual-Iris-for/32793850795.html?spm=a2g0s.9042311.0.0.27424c4dmtk6IZ) 437 438 439 Camera Lens 2.8-12mm Varifocal 440 ------------------------------ 441 442 This lens is good. Will write a longer review once I have more filming hours. 443 444 [Aliexpress](https://www.aliexpress.com/item/Megapixel-Fixed-Iris-HD-CCTV-Camera-Lens-2-8-12mm-Varifocal-HD-Security-Camera-Lens-Manual/32644427822.html?spm=a2g0s.9042311.0.0.27424c4dmtk6IZ) 445 446 --- 447