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 a8ba135

Browse filesBrowse files
authored
Add build section for SRT
Build section, using cmake (to avoid tclsh dependency), disabled included apps. Added ffmpeg option. Test on Docker (macOS), macOS Catalina, Ubuntu
1 parent 2f02c14 commit a8ba135
Copy full SHA for a8ba135

File tree

Expand file treeCollapse file tree

1 file changed

+11
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+11
-1
lines changed

‎build-ffmpeg

Copy file name to clipboardExpand all lines: build-ffmpeg
+11-1Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,15 @@ 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+
execute cmake -DCMAKE_INSTALL_PREFIX:PATH="${WORKSPACE}" -DENABLE_SHARED=OFF -DENABLE_STATIC=ON -DENABLE_APPS=OFF "$PACKAGES"/srt-1.4.1
374+
execute make -j $MJOBS
375+
execute make install
376+
build_done "srt"
377+
fi
378+
370379
CFLAGS="-I$WORKSPACE/include"
371380
LDFLAGS="-L$WORKSPACE/lib"
372381
if command -v nvcc > /dev/null ; then
@@ -417,7 +426,8 @@ cd "$PACKAGES"/ffmpeg-4.3.1/ || exit
417426
--enable-libopencore_amrnb \
418427
--enable-filters \
419428
--enable-libvidstab \
420-
--enable-libaom
429+
--enable-libaom \
430+
--enable-libsrt
421431

422432
execute make -j $MJOBS
423433
execute make install

0 commit comments

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