-- make sure package is installed:
curl: install directory /usr/local/curl
-- Install ffmpeg-2.8.6:
~~~
sudo apt-get install yasm
sudo mkdir /usr/local/ffmpeg
wget http://ffmpeg.org/releases/ffmpeg-2.8.6.tar.gz
tar -zxvf ffmpeg-2.8.6.tar.gz
cd ffmpeg-2.8.6
./configure --enable-shared --prefix=/usr/local/ffmpeg
make
make install
~~~
# add line to /etc/ld.so.conf: /usr/local/ffmpeg/lib/
~~~
sudo vim /etc/ld.so.conf
sudo ldconfig
~~~
# configure environment variable: PATH
~~~
export PATH=/usr/local/ffmpeg/bin/:$PATH
~~~
-- Build,Start AND Stop program,Configure
~~~
cd ~/dcapture2
~~~
Build: `./build.sh
`
Start: `./start.sh
`
Stop: `Ctrl + C
`
or killall dcapture2 ffmpeg
Configure: `./start.sh
`