Skip to content

Commit 1cad3b7

Browse files
authored
added x266 support
added x266 support by including libvvenc in the build.
1 parent 4071dcf commit 1cad3b7

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

build_safe.sh

+18-1
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,8 @@ do_git_checkout https://code.videolan.org/videolan/x264.git "$BUILD_DIR"/x264-gi
469469

470470
do_git_checkout https://bitbucket.org/multicoreware/x265_git.git "$BUILD_DIR"/x265-git fa2770934b8f3d88aa866c77f27cb63f69a9ed39 #master #3.2.1
471471

472+
do_git_checkout https://github.com/fraunhoferhhi/vvenc.git "$BUILD_DIR"/vvenc-git v1.13.0
473+
472474
do_git_checkout https://chromium.googlesource.com/webm/libvpx "$BUILD_DIR"/libvpx-git 2c38ade434e51c6b1980a675b1c8cbee229b49ff #main #1.8.2
473475

474476
do_git_checkout https://github.com/georgmartius/vid.stab.git vid.stab-git 8dff7ad3c10ac663745f2263037f6e42b993519c #master #0.98b
@@ -1648,6 +1650,19 @@ echo
16481650
make install
16491651
}
16501652

1653+
build_vvenc() {
1654+
echo
1655+
/bin/echo -e "\e[93m*** Building vvenc ***\e[39m"
1656+
echo
1657+
cd $BUILD_DIR/vvenc-*
1658+
mkdir -p build
1659+
cd build
1660+
cmake -G "Unix Makefiles" .. -DCMAKE_INSTALL_PREFIX="$TARGET_DIR" -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=0 # -DCMAKE_INSTALL_DATAROOTDIR=$TARGET_DIR -DCMAKE_INSTALL_LIBDIR=$TARGET_DIR/lib
1661+
make -j $jval
1662+
make install
1663+
# cmake --build .
1664+
}
1665+
16511666
build_libvpx() {
16521667
echo
16531668
/bin/echo -e "\e[93m*** Building libvpx ***\e[39m"
@@ -1757,6 +1772,7 @@ if [ "$platform" = "linux" ]; then
17571772
--enable-libwebp \
17581773
--enable-libx264 \
17591774
--enable-libx265 \
1775+
--enable-libvvenc \
17601776
--enable-libxcb \
17611777
--enable-libxcb-shm \
17621778
--enable-libxcb-xfixes \
@@ -1864,6 +1880,7 @@ elif [ "$platform" = "darwin" ]; then
18641880
--enable-libwebp \
18651881
--enable-libx264 \
18661882
--enable-libx265 \
1883+
--enable-libvvenc \
18671884
--enable-libxvid \
18681885
--enable-libzimg \
18691886
--enable-nonfree \
@@ -1977,6 +1994,7 @@ build_dav1d #wants nasm, meson, ninja, doxygen, dot
19771994
build_Xvid #wants yasm,
19781995
build_x264 #
19791996
build_x265 #wants numa, nasm
1997+
build_vvenc
19801998
build_libvpx #
19811999
build_libvidstab #
19822000
build_libaom #
@@ -2033,4 +2051,3 @@ finish_time=$(date +%H:%M)
20332051
echo $finish_time
20342052
echo -en "\007"
20352053
hash -r
2036-

0 commit comments

Comments
 (0)