Skip to content

Commit 1751e31

Browse files
committed
Libopus support. This closes #11
1 parent 320ad32 commit 1751e31

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ because I don't have the resources and the time to maintain other systems.
3030
* ogg: Free, open container format
3131
* vorbis: Lossy audio compression format
3232
* theora: Free lossy video compression format
33+
* opus: Lossy audio coding format
3334

3435
## Continuos Integration
3536
ffmpeg-build-script is rockstable. Every commit runs against Linux and OSX with https://travis-ci.org just to make sure everything works as expected.

build-ffmpeg

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# https://github.com/markus-perl/ffmpeg-build-script
44

5-
VERSION=1.6
5+
VERSION=1.7
66
CWD=$(pwd)
77
PACKAGES="$CWD/packages"
88
WORKSPACE="$CWD/workspace"
@@ -217,6 +217,15 @@ if build "lame"; then
217217
build_done "lame"
218218
fi
219219

220+
if build "opus"; then
221+
download "https://archive.mozilla.org/pub/opus/opus-1.3.1.tar.gz" "opus-1.3.1.tar.gz"
222+
cd $PACKAGES/opus-1.3.1 || exit
223+
execute ./configure --prefix=${WORKSPACE} --disable-shared --enable-static
224+
execute make -j $MJOBS
225+
execute make install
226+
build_done "opus"
227+
fi
228+
220229
if build "xvidcore"; then
221230
download "https://downloads.xvid.com/downloads/xvidcore-1.3.5.tar.gz" "xvidcore-1.3.5.tar.gz"
222231
cd $PACKAGES/xvidcore || exit
@@ -380,6 +389,7 @@ cd $PACKAGES/ffmpeg-6023b9f/ || exit
380389
--enable-pthreads \
381390
--enable-libvpx \
382391
--enable-libmp3lame \
392+
--enable-libopus \
383393
--enable-libtheora \
384394
--enable-libvorbis \
385395
--enable-libx264 \

0 commit comments

Comments
 (0)