This website works better with JavaScript.
Home
Explore
Help
Sign In
use
/
ffmpeg_build_scripts
Watch
1
Star
0
Fork
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
Browse Source
Enable libsvtav1
master
use
1 year ago
parent
6e53c4eb96
commit
f7679067f9
2 changed files
with
35 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-2
build.sh
+32
-0
deps/23_libsvtav1/build.sh
+ 3
- 2
build.sh
View File
@ -35,10 +35,10 @@ make distclean
--enable-libvpx
\
--enable-libdrm
\
--enable-libzimg
\
--enable-libsvtav1
\
--enable-gpl
\
--enable-runtime-cpudetect
\
--cpu
=
native
\
--enable-libfdk-aac
\
--enable-libfdk_aac
\
--enable-libx264
\
--enable-libx265
\
--enable-openssl
\
@ -47,6 +47,7 @@ make distclean
--enable-libass
\
--enable-libfreetype
\
--enable-libsrt
\
--cpu
=
native
\
--enable-nonfree
# --disable-debug \
+ 32
- 0
deps/23_libsvtav1/build.sh
View File
@ -0,0 +1,32 @@
#!/bin/bash
export
PKG_CONFIG_PATH
=
/app/ffmpeg/install/lib/pkgconfig:/app/ffmpeg/install/lib64/pkgconfig/
curDir
=
"
$PWD
"
pkg
=
"SVT-AV1"
if
!
[
[
-d
"
$pkg
"
]
]
then
git clone https://gitlab.com/AOMediaCodec/SVT-AV1.git
fi
cd
"
$pkg
/Build
"
make clean
make distclean
cmake
\
-DCMAKE_BUILD_TYPE
=
Realease
\
-DCMAKE_INSTALL_PREFIX
=
"/app/ffmpeg/install/"
\
.. -G
"Unix Makefiles"
make -j8
if
make
then
make install
cd
"
$curDir
"
rm -rf
"
$pkg
"
else
cd
"
$curDir
"
echo
"BUILD FAILED"
fi
echo
"Done"
Write
Preview
Loading…
Cancel
Save