Skip to content

Commit

Permalink
Build OpenCV with GStreamer
Browse files Browse the repository at this point in the history
  • Loading branch information
rajat2004 committed Dec 29, 2019
1 parent b127b0a commit 790c378
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions opencvDirectInstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ execute sudo apt-get install libfaac-dev libmp3lame-dev -y
execute sudo apt-get install libopencore-amrnb-dev libopencore-amrwb-dev -y
execute sudo apt-get install yasm libtheora-dev libvorbis-dev libxvidcore-dev -y
execute sudo apt-get install libv4l-dev v4l-utils libdc1394-22-dev libdc1394-utils libgphoto2-dev -y # Uncommend if you want to enable other backends
execute sudo apt-get install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly -y

spatialPrint "Java"
execute sudo apt-get install -y ant default-jdk
Expand Down Expand Up @@ -212,6 +213,7 @@ cmake -D CMAKE_BUILD_TYPE=RELEASE \
-D PYTHON3_PACKAGES_PATH="$py3Pack" \
-D PYTHON_DEFAULT_EXECUTABLE="$py3Ex" \
-D WITH_FFMPEG=1 \
-D WITH_GSTREAMER=ON \
-D WITH_V4L=1 \
-D WITH_LIBV4L=1 \
-D WITH_TBB=1 \
Expand Down

0 comments on commit 790c378

Please sign in to comment.