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 885e89e

Browse filesBrowse files
committed
Slight update
- Added some documentation - Update cmake from 3.5.0 to 3.5.2 - Enable pthreads - Line breaks for readability - Enable version3
1 parent 997b42b commit 885e89e
Copy full SHA for 885e89e

File tree

Expand file treeCollapse file tree

1 file changed

+46
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+46
-2
lines changed

‎build-ffmpeg

Copy file name to clipboardExpand all lines: build-ffmpeg
+46-2Lines changed: 46 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ if build "pkg-config"; then
235235
fi
236236

237237
if build "cmake"; then
238-
download "https://cmake.org/files/v3.5/cmake-3.5.0.tar.gz" "cmake-3.5.0.tar.gz"
238+
download "https://cmake.org/files/v3.5/cmake-3.5.2.tar.gz" "cmake-3.5.2.tar.gz"
239239
cd $PACKAGES/cmake* || exit
240240
rm Modules/FindJava.cmake
241241
perl -p -i -e "s/get_filename_component.JNIPATH/#get_filename_component(JNIPATH/g" Tests/CMakeLists.txt
@@ -281,7 +281,51 @@ build "ffmpeg"
281281
download "http://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2 " "ffmpeg-snapshot.tar.bz2 "
282282
cd $PACKAGES/ffmpeg* || exit
283283
CFLAGS="-I$WORKSPACE/include" LDFLAGS="-L$WORKSPACE/lib"
284-
execute ./configure --arch=64 --prefix=${WORKSPACE} --extra-cflags="-I$WORKSPACE/include" --extra-ldflags="-L$WORKSPACE/lib" --extra-version=static --disable-debug --disable-shared --enable-static --extra-cflags=--static --disable-ffplay --disable-ffserver --disable-doc --enable-version3 --enable-libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-gpl --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-nonfree --enable-filters --enable-libvidstab --enable-libx265 --enable-runtime-cpudetect --enable-libfdk-aac
284+
execute ./configure --arch=64 --prefix=${WORKSPACE} --extra-cflags="-I$WORKSPACE/include" --extra-ldflags="-L$WORKSPACE/lib" \
285+
--extra-version=static \
286+
--extra-cflags=--static \
287+
--enable-static \
288+
--disable-debug \
289+
--disable-shared \
290+
--disable-ffplay \
291+
--disable-ffserver \
292+
--disable-doc \
293+
--enable-gpl \
294+
--enable-version3 \
295+
--enable-nonfree \
296+
--enable-pthreads \
297+
--enable-libvpx \
298+
--enable-libmp3lame \
299+
--enable-libtheora \
300+
--enable-libvorbis \
301+
--enable-libx264 \
302+
--enable-libx265 \
303+
--enable-runtime-cpudetect \
304+
--enable-libfdk-aac \
305+
--enable-avfilter \
306+
--enable-libopencore_amrwb \
307+
--enable-libopencore_amrnb \
308+
--enable-filters \
309+
--enable-libvidstab
310+
# enable all filters
311+
# enable AAC de/encoding via libfdk-aac [no]
312+
# enable detecting cpu capabilities at runtime (smaller binary)
313+
# enable HEVC encoding via x265 [no]
314+
# enable H.264 encoding via x264 [no]
315+
# enable Vorbis en/decoding via libvorbis, native implementation exists [no]
316+
# enable Theora encoding via libtheora [no]
317+
# enable MP3 encoding via libmp3lame [no]
318+
# enable VP8 and VP9 de/encoding via libvpx [no]
319+
# enable pthreads [autodetect]
320+
# allow use of nonfree code, the resulting libs and binaries will be unredistributable [no]
321+
# upgrade (L)GPL to version 3 [no]
322+
# allow use of GPL code, the resulting libs and binaries will be under GPL [no]
323+
# do not build documentation
324+
# disable ffserver build
325+
# disable ffplay build
326+
# build static libraries [no]
327+
# disable debugging symbols
328+
# disable build shared libraries [no]
285329
execute make -j $MJOBS
286330
execute make install
287331

0 commit comments

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