tarinaretake

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

DEVELOPERS.md (2731B)


      1 DEVELOPERS
      2 ==========
      3 
      4 If you want to join me in this journey to make the best open filmmaking camera please do not hesitate to contact me on features.
      5 
      6 Teh best way to develop is using screen in terminal and starting tarina in one window then you'll get debug messages directly in that window.
      7 
      8 THINGS
      9 ======
     10 
     11 Notes to myself as I'm the only developer at teh moment.
     12 -Rob
     13 
     14 Quality / Usability
     15 -------------------
     16 
     17 Found a sweet spot between usability and quality (23), bitrate (5 mb/s)
     18 This produces about 25 mb per minute. The convertion to mp4 format does not feel so slow anymore likewise the compiling of the film. This is good stuff.
     19 
     20 Image sensors
     21 -------------
     22 
     23 There's plenty of image sensors for the Raspberry Pi to choose from, I want to support as many sensors I can. Currently though you need to change your sensor in tarina.py, search for 'ov5' and you'll find where to select. They all have different oscillators so the framerate varies pretty much. But when you get it right the sound will be in sync. Will make a tarina config file in home folder so when you start tarina interface for the first time it will ask you about your sensor.
     24 
     25 Cancel renderer
     26 ---------------
     27 
     28 This is a must feature, and I sort of know how to implement it.
     29 
     30 Viewfinder for 3.5 inch screen
     31 ------------------------------
     32 
     33 There's no such thing to buy so I had to make a viewfinder myself, took a while before I found the right convex lens but I have it now. It works with magnet snap on. Really, really usefull! will write it in the manual as a addon thing...
     34 
     35 How to update alsa-tools arecord
     36 =================================
     37 
     38 The vumeter comes directly from alsa-tools arecord, it's just modified so it writes the vumeter directly to /dev/shm/vumeter. If you need to update alsa-tools here's how:
     39 
     40 You need to be able to build alsa-utils from source
     41 enable dev-src in /etc/apt/sources.list
     42 
     43 ```
     44 apt source alsa-utils
     45 cd alsa-utils*
     46 sudo apt update
     47 sudo apt install libncurses5-dev
     48 sudo apt install libasound2-dev
     49 ./configure
     50 make
     51 cd aplay
     52 make
     53 make arecord
     54 ```
     55 
     56 
     57 Ecasound update
     58 ===============
     59 
     60 ### Python example
     61 
     62 ```
     63 from pyeca import *
     64 e = ECA_CONTROL_INTERFACE()
     65 e.command("cs-add chainsetup")
     66 e.command("c-add 1st_chain")
     67 e.command("ai-add plughw,0,0 ")
     68 e.command("ao-add /dev/dsp")
     69 e.command("cop-add -efl:100")
     70 e.command("cop-select 1")
     71 e.command("copp-select 1")
     72 e.command("cs-connect")
     73 e.command("start")
     74 ```
     75 
     76 ### Ecasound config file
     77 
     78 ```
     79 # ecasound chainsetup file
     80 
     81 # general 
     82 -B:rtlowlatency -n:"write_chain" -X -z:noxruns -z:nopsr -z:mixmode,sum
     83 
     84 # audio inputs 
     85 -a:1chain,2chain -f:s16_le,2,44100 -i:alsahw,3,0,0
     86 
     87 # audio outputs 
     88 -a:1chain -f:s16_le,2,44100 -o:alsahw,3,0,0
     89 -a:2chain -f:s16_le,2,44100 -o:test.wav,
     90 ```