Skip to content

2. Setup

Nicolae Carabut edited this page Mar 6, 2017 · 35 revisions

Download and Boot

  • Download https://www.raspberrypi.org/downloads/raspbian (as of today the latest is 2017-03-02-raspbian-jessie.zip)
  • unzip 2017-03-02-raspbian-jessie.zip -> creates 2017-03-02-raspbian-jessie.img
  • sudo dd if=2017-03-02-raspbian-jessie.img of=/dev/mmcblk0 bs=8M oflag=sync status=progress -> should take approx 13 min, based on Arch Linux
  • Boot the Pi, connect to the Internet, if later remotely you need to find the IP then run this sudo arp-scan --localnet

Update & Dependencies

  • sudo apt-get update
  • sudo apt-get install libpython2.7-dev
  • sudo pip install http_parser
  • sudo apt-get install libfontconfig1-dev
  • sudo apt-get install libfribidi-dev
  • sudo apt-get install libmp3lame-dev
  • sudo apt-get install libx264-dev

Build FFmpeg

  • git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg
  • cd ffmpeg
  • Without GPU
    • ./configure --enable-gpl --enable-nonfree --enable-libx264 --enable-libmp3lame --enable-libfreetype --enable-libfontconfig --enable-libfribidi
  • With GPU
    • apt-get install libomxil-bellagio-dev
    • ./configure --enable-gpl --enable-nonfree --enable-libx264 --enable-libmp3lame --enable-libfreetype --enable-libfontconfig --enable-libfribidi --enable-omx --enable-omx-rpi
  • make -j4 -> the compilation takes abouth 30 min
  • make install

Install Autonomia Client SDK

  • git clone https://github.com/Autonomia/Autonomia-SDK-Python.git
    • cd Autonomia-SDK-Python
    • sudo python setup install

Clone this wiki locally