Skip to content

How to install?

Symrak edited this page Sep 3, 2017 · 6 revisions

This solution consists of two parts: for Linux OS and for Windows OS.

Installing on Linux OS

For complete installation of the Linux part of the solution we will need to pass thru next steps:

Updating packages

For fetching info about last packages versions use command sudo apt-get update.
After that you'll need to run sudo apt-get upgrade -y command for updating already installed packages.

Installing wget

For video files downloading we need wget software package.
To install it we must execute next command: sudo apt-get install wget -y.

Installing video processing software

We can choose which software do we want to use (at this time FFmpeg and Libav are supported).

For installing FFmpeg (if package is available for our system), we must run sudo apt-get install ffmpeg -y.
If FFmpeg package is not available, we must build it from sources by ourselves or use static builds (see instructions below).

If it's suitable for us, then we can use static build of FFmpeg for our hardware architecture instead of installing package from repository.
For this we will need after project sources fetching replace ffmpeg binary file (release 3.3.3 for armel 32 bit architecture provided by default) in linux/tools folder with appropriate file and mark it as executable, using sudo chmod +x /home/ubdm/linux/tools/ffmpeg command.

For installing Libav (if package is available for our system), we must run sudo apt-get install libav-tools -y.
If Libav package is not available, we must build it from sources by ourselves.

Installing cron

For scheduling tasks we can need cron tool.
To install it simply run command sudo apt-get install cron -y.

Installing git

For fetching project sources we need git to be installed.
It can be done by using command sudo apt-get install git -y.

Fetching sources

Now project files can be downloaded via git using command:
sudo git clone https://github.com/STwilight/UBD-Timelapse /home/ubdm.

Installing on Windows OS

For full installation of the Windows part of the solution we will need to pass thru only two simple steps:

Fetching archive

On the Windows OS the simpliest way for the most users will be to grab project files in format of .zip archive.
For it we will download sources from next link, save the archive file and extract its content to the suitable place.
After that we must rename UBD-Timelapse-master folder to ubdm.

Updating software

If we want, we can update provided by default versions of tools (FFmpeg and CRC32 sum calculation tool) by replacing them with the newer versions in tools folder.
Please note, that original binary files naming must be saved (ffmpeg.exe for FFmpeg and crc32.exe for CRC32 sum calculation tool).