tarina

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

commit 9bfacde3a88792e4aae1a5daaf923085e70a7cb7
parent abfb8edda0a113d45aaad7f5da0dd6fe65693c96
Author: rbckman <rbckman@rbckman>
Date:   Sun, 12 Aug 2018 15:12:39 +0300

update readme

Diffstat:
MINSTALL.md | 73+++++--------------------------------------------------------------------
MREADME.md | 7+++----
Minstall.sh | 47++++++++++++++++++++++-------------------------
Dtarina-proto3.png | 0
4 files changed, 30 insertions(+), 97 deletions(-)

diff --git a/INSTALL.md b/INSTALL.md @@ -1,73 +1,10 @@ -## Installing Adafruit 3.5 pitft screen ## -https://learn.adafruit.com/adafruit-pitft-3-dot-5-touch-screen-for-raspberry-pi/easy-install +## Tarina install instructions ## -## Configurations Rasbian Wheezy ## -Booting to Tarina on Raspbian Wheezy (init) +Run the automatic install script with sudo: ``` -nano /etc/inittab +sudo ./install.sh ``` -comment out line 54 +you are done! now reboot & Tarina will start at bootup: ``` -#1:2345:respawn:/sbin/getty --noclear 38400 tty1 +sudo reboot ``` -add this line instead -``` -1:2345:respawn:/bin/login -f root tty1 </dev/tty1 >/dev/tty1 2>&1 -``` -place this to the end of /root/.bashrc: -``` -if [ $(tty) == /dev/tty1 ]; then - cd /home/pi/tarina - echo -e '\033[?17;0;0c' > /dev/tty1 - python tarina.py > /dev/tty2 2>err.log -fi -``` -## Configurations Rasbian Jessie ## -open new unit file -``` -sudo nano /etc/systemd/system/tarina.service -``` -and put this in it: -``` -[Unit] -Description=Starts Tarina -DefaultDependencies=false # Very important! Without this line, the service - # would wait until networking.service - # has finished initialization. This could add 10 - # more seconds because of DHCP, IP attribution, etc. - -[Service] -Type=simple -ExecStart=/usr/bin/python /home/pi/tarina/tarina.py -WorkingDirectory=/home/pi/tarina/ -StandardInput=tty -#StandardOutput=tty -TTYPath=/dev/tty5 -TTYReset=yes -TTYVHangup=yes - -[Install] -WantedBy=local-fs.target -``` -Then run this -``` -sudo chmod 664 /etc/systemd/system/tarina.service && sudo systemctl daemon-reload -``` - -if USB soundcard - -add this to /etc/modprobe.d/alsa-base.conf -``` -#set index value -options snd_usb_audio index=0 -options snd_bcm2835 index=1 - -#reorder -options snd slots=snd_usb_audio, snd_bcm2835 -``` - -## Known problems ## - -* Seems like the whole thing runs better on Wheezy, even if it's the pi 2. I don't know why? -* Systemd issue? or something else... -* thumbnails is wierd looking on pi 3 with Jessie. Possible bug in python-picamera?? diff --git a/README.md b/README.md @@ -1,12 +1,11 @@ -<img src="https://raw.githubusercontent.com/rbckman/tarina/master/tarina-proto3.png" width="100%"><br> # Tarina # -### DIY camera for filmmakers, vloggers, travellers & hackers ### -Shoot your films as takes, shots and scenes, and see your film come together in-camera. Once you get it there’s no need for editing later. Tarina is designed to be taken apart & is easily modded with all body parts 3d printable. It's built using the Raspberry Pi, running on a Gnu/Linux Raspbian distribution and with an easy python coded interface. +### DIY Filmmaking device ### +A Video camera with the ability to assemble your film, keeping track on your takes, shots and scenes. Rather than editing later do a retake with a dedicated retake button. Once you get it there’s less or no need for editing later. The device is designed with a "hackers/makers philosophy" and is easy to take apart and moddable with body parts 3d printed. It's built using the Raspberry Pi, running on a Gnu/Linux Raspbian distribution and with an python coded interface. ## Hardware ## [Raspberry Pi 3](https://www.raspberrypi.org/products/raspberry-pi-3-model-b/)<br> [Sony IMX219 8-megapixel sensor](https://www.raspberrypi.org/products/camera-module-v2/)<br> -[3.5 inch 800*480 TFT Screen](https://www.aliexpress.com/store/product/U-Geek-Raspberry-Pi-3-5-inch-800-480-TFT-Screen-HD-HighSpeed-LCD-Module-3/1954241_32672157641.html)<br> +[3.5 inch 800x480 TFT Screen](https://www.aliexpress.com/store/product/U-Geek-Raspberry-Pi-3-5-inch-800-480-TFT-Screen-HD-HighSpeed-LCD-Module-3/1954241_32672157641.html)<br> [USB via vt1620a Sound card](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)<br> [9000mAh li-ion Battery](https://www.aliexpress.com/item/3-7v-9000mAh-capacity-18650-Rechargeable-lithium-battery-pack-18650-jump-starter/32619902319.html?spm=2114.13010608.0.0.XcKleV) (10 hours filming)<br> [USB Mobile Power Charger Board Module 3.7V to 5V 1A/2A Booster Converter](http://www.ebay.com/itm/321977677010?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT)<br> diff --git a/install.sh b/install.sh @@ -9,7 +9,7 @@ fi echo "Installing all dependencies..." apt-get update apt-get upgrade -y -apt-get -y install git python-picamera python-imaging python-pexpect libav-tools mediainfo gpac omxplayer sox cpufrequtils usbmount python-dbus python-webpy +apt-get -y install git python-picamera python-imaging python-pexpect libav-tools mediainfo gpac omxplayer sox cpufrequtils usbmount python-dbus python-webpy wicd rpi-update echo "installing python-omxplayer-wrapper..." pip install omxplayer-wrapper @@ -38,7 +38,7 @@ dtoverlay=i2c-gpio,i2c_gpio_scl=24,i2c_gpio_sda=23framebuffer_height=480 disable_splash=1 EOF -echo "Changing hostname to tarina" +echo "Change hostname to tarina" cat <<'EOF' >> /etc/hostname tarina EOF @@ -54,13 +54,8 @@ EOF echo "Adding to /boot/cmdline.txt" printf " consoleblank=0 logo.nologo loglevel=0 vt.global_cursor_default=0" >> /boot/cmdline.txt -echo "Changing splash png" -cp splash.png /usr/share/plymouth/themes/pix/splash.png - -while true; do - read -p "do you have a usb sound card? make it default (y)es or (n)o?" yn - case $yn in - [yy]* ) echo "writing to /etc/modprobe.d/alsa-base.conf"; +echo "USB soundcard to default" +echo "writing to /etc/modprobe.d/alsa-base.conf"; cat <<'EOF' >> /etc/modprobe.d/alsa-base.conf #set index value options snd_usb_audio index=0 @@ -68,16 +63,9 @@ options snd_bcm2835 index=1 #reorder options snd slots=snd_usb_audio, snd_bcm2835 EOF - break;; - [nn]* ) break;; - * ) echo "please answer yes or no.";; - esac -done -while true; do - read -p "do you wish to autostart tarina (y)es or (n)o?" yn - case $yn in - [yy]* ) echo "creating a tarina.service file" +echo "Automatically boot to Tarina" +echo "creating a tarina.service file" echo <<'EOF' >> /etc/systemd/system/tarina.service [Unit] Description=tarina @@ -104,21 +92,30 @@ EOF chmod +x /home/pi/tarina/tarina.py systemctl enable tarina.service systemctl daemon-reload +echo "Congrats everything done!" + +while true; do + read -p "Do you wish to add rbckmans special hacking tools & configurations (y)es or (n)o?" yn + case $yn in + [Yy]* ) echo "Adding hacking tools..." +apt-get -y install vim htop screen nmap +cp extras/.vimrc /root/.vimrc +cp extras/.vimrc /home/pi/.vimrc break;; - [Nn]* ) echo "Congrats everything done! reboot and run sudo tarina.py";break;; + [Nn]* ) echo "Nope, okay!";break;; * ) echo "Please answer yes or no.";; esac done while true; do - read -p "Do you wish to add Robs special hacking tools & configurations (y)es or (n)o?" yn + read -p "Reboot into Tarina now? (y)es or (n)o?" yn case $yn in - [Yy]* ) echo "Configuring Robs special l33t configurations" -apt-get -y install vim htop screen -cp extras/.vimrc /root/.vimrc -cp extras/.vimrc /home/pi/.vimrc + [Yy]* ) echo "Rebooting now..." +reboot break;; - [Nn]* ) echo "Congrats everything done! reboot and run sudo tarina.py";break;; + [Nn]* ) echo "Yes, sir! we are done!";break;; * ) echo "Please answer yes or no.";; esac done + + diff --git a/tarina-proto3.png b/tarina-proto3.png Binary files differ.