-
Notifications
You must be signed in to change notification settings - Fork 0
How to install?
This solution consists of two parts: for Linux OS and for Windows OS.
For complete installation of the Linux part of the solution we will need to pass thru next steps:
- Updating packages
- Installing wget
- Installing video processing software
- Installing cron
- Installing git
- Fetching sources
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.
For video files downloading we need wget software package.
To install it we must execute next command: sudo apt-get install wget -y
.
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.
For scheduling tasks we can need cron tool.
To install it simply run command sudo apt-get install cron -y
.
For fetching project sources we need git to be installed.
It can be done by using command sudo apt-get install git -y
.
Now project files can be downloaded via git using command:
sudo git clone https://github.com/STwilight/UBD-Timelapse /home/ubdm
.
For full installation of the Windows part of the solution we will need to pass thru only two simple steps:
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
.
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).