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 771edb0

Browse filesBrowse files
authored
Merge pull request markus-perl#53 from markus-perl/libsrt
Libsrt
2 parents 2f02c14 + 0fa7aed commit 771edb0
Copy full SHA for 771edb0

File tree

Expand file treeCollapse file tree

1 file changed

+16
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+16
-3
lines changed

‎build-ffmpeg

Copy file name to clipboardExpand all lines: build-ffmpeg
+16-3Lines changed: 16 additions & 3 deletions
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.14
5+
VERSION=1.15
66
CWD=$(pwd)
77
PACKAGES="$CWD/packages"
88
WORKSPACE="$CWD/workspace"
@@ -339,7 +339,7 @@ if build "fdk_aac"; then
339339
fi
340340

341341
if build "av1"; then
342-
download "https://aomedia.googlesource.com/aom/+archive/69a986c7d4c354dfbccec570ccbc44688612c083.tar.gz" "av1.tar.gz" "av1"
342+
download "https://aomedia.googlesource.com/aom/+archive/0f5cd05bb3d6209e2583ce682d1acd8e21ae24b8.tar.gz" "av1.tar.gz" "av1"
343343
cd "$PACKAGES"/av1 || exit
344344
mkdir -p "$PACKAGES"/aom_build
345345
cd "$PACKAGES"/aom_build || exit
@@ -367,6 +367,18 @@ if build "openssl"; then
367367
build_done "openssl"
368368
fi
369369

370+
if build "srt"; then
371+
download "https://github.com/Haivision/srt/archive/v1.4.1.tar.gz" "v1.4.1.tar.gz"
372+
cd "$PACKAGES"/srt-1.4.1 || exit
373+
export OPENSSL_ROOT_DIR="${WORKSPACE}"
374+
export OPENSSL_LIB_DIR="${WORKSPACE}"/lib
375+
export OPENSSL_INCLUDE_DIR="${WORKSPACE}"/include/
376+
execute ./configure --prefix="${WORKSPACE}" --disable-shared --enable-static
377+
execute cmake "$PACKAGES"/srt-1.4.1 -DCMAKE_INSTALL_PREFIX:PATH="${WORKSPACE}" -DENABLE_SHARED=OFF -DENABLE_STATIC=ON -DENABLE_APPS=OFF
378+
execute make install
379+
build_done "srt"
380+
fi
381+
370382
CFLAGS="-I$WORKSPACE/include"
371383
LDFLAGS="-L$WORKSPACE/lib"
372384
if command -v nvcc > /dev/null ; then
@@ -417,7 +429,8 @@ cd "$PACKAGES"/ffmpeg-4.3.1/ || exit
417429
--enable-libopencore_amrnb \
418430
--enable-filters \
419431
--enable-libvidstab \
420-
--enable-libaom
432+
--enable-libaom \
433+
--enable-libsrt
421434

422435
execute make -j $MJOBS
423436
execute make install

0 commit comments

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