File tree Expand file tree Collapse file tree 1 file changed +16
-3
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +16
-3
lines changed
Original file line number Diff line number Diff line change 2
2
3
3
# https://github.com/markus-perl/ffmpeg-build-script
4
4
5
- VERSION=1.14
5
+ VERSION=1.15
6
6
CWD=$( pwd)
7
7
PACKAGES=" $CWD /packages"
8
8
WORKSPACE=" $CWD /workspace"
@@ -339,7 +339,7 @@ if build "fdk_aac"; then
339
339
fi
340
340
341
341
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"
343
343
cd " $PACKAGES " /av1 || exit
344
344
mkdir -p " $PACKAGES " /aom_build
345
345
cd " $PACKAGES " /aom_build || exit
@@ -367,6 +367,18 @@ if build "openssl"; then
367
367
build_done " openssl"
368
368
fi
369
369
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
+
370
382
CFLAGS=" -I$WORKSPACE /include"
371
383
LDFLAGS=" -L$WORKSPACE /lib"
372
384
if command -v nvcc > /dev/null ; then
@@ -417,7 +429,8 @@ cd "$PACKAGES"/ffmpeg-4.3.1/ || exit
417
429
--enable-libopencore_amrnb \
418
430
--enable-filters \
419
431
--enable-libvidstab \
420
- --enable-libaom
432
+ --enable-libaom \
433
+ --enable-libsrt
421
434
422
435
execute make -j $MJOBS
423
436
execute make install
You can’t perform that action at this time.
0 commit comments