Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 731e0d4

Browse filesBrowse files
techdragonskvark
authored andcommitted
MacOS FFMpeg builds. (opencv#56)
* Build LGPL FFmpeg shared libraries. OpenCV should automatically use them. * Also disable the x264 encoder. * Also disable xvid * Confirm FFmpeg is being built correctly. * Make log easier to read. * Travis-CI Mac environment only has 2 cores.
1 parent 228b6ab commit 731e0d4
Copy full SHA for 731e0d4

File tree

1 file changed

+8
-2
lines changed
Filter options

1 file changed

+8
-2
lines changed

‎travis/build-wheels-osx.sh

Copy file name to clipboardExpand all lines: travis/build-wheels-osx.sh
+8-2Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,15 @@ echo 'PIP and brew installs'
1010

1111
pip install "$BUILD_DEPENDS"
1212

13+
echo 'Installing QT4'
1314
brew tap cartr/qt4
1415
brew tap-pin cartr/qt4
1516
brew install qt@4
17+
echo '-----------------'
18+
echo 'Installing FFmpeg'
19+
brew install ffmpeg --without-x264 --without-xvid --without-gpl
20+
brew info ffmpeg
21+
echo '-----------------'
1622

1723
qmake -query
1824

@@ -113,13 +119,13 @@ echo 'Begin build'
113119

114120
if [[ $PYTHON_VERSION == 2* ]]; then
115121
echo 'Build for Py2'
116-
make -j8 opencv_python2
122+
make -j2 opencv_python2
117123

118124
fi
119125

120126
if [[ $PYTHON_VERSION == 3* ]]; then
121127
echo 'Build for Py3'
122-
make -j8 opencv_python3
128+
make -j2 opencv_python3
123129

124130
fi
125131

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.