2e10d31ab6
Added the ability change the video codec via the config file. Changed the install script to now install the application in the /opt directory and then symm link to /usr/bin. Doing this allowed me to create a run script to start the application and enable the OPENCV_VIDEOIO_DEBUG parameter for opencv. This should make it easier to diagnose video-io issues with opencv. Updated the README documentation with all of the changes done to the application since v1.5.
29 lines
700 B
Bash
29 lines
700 B
Bash
#!/bin/sh
|
|
apt update -y
|
|
apt install -y pkg-config
|
|
apt install -y cmake
|
|
apt install -y make
|
|
apt install -y g++
|
|
apt install -y wget
|
|
apt install -y unzip
|
|
apt install -y git
|
|
apt install -y ffmpeg
|
|
apt install -y gstreamer1.0*
|
|
apt install -y libavcodec-dev
|
|
apt install -y libavformat-dev
|
|
apt install -y libavutil-dev
|
|
apt install -y libswscale-dev
|
|
apt install -y libgstreamer1.0-dev
|
|
apt install -y x264
|
|
apt install -y libx264-dev
|
|
apt install -y libopencv-dev
|
|
apt install -y apache2
|
|
add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
|
apt update -y
|
|
apt install -y gcc-10
|
|
apt install -y gcc-10-base
|
|
apt install -y gcc-10-doc
|
|
apt install -y g++-10
|
|
apt install -y libstdc++-10-dev
|
|
apt install -y libstdc++-10-doc
|