mirror of
https://github.com/MartinEesmaa/VVCEasy.git
synced 2025-06-05 21:59:20 +02:00
improve opus, add speex and codec2 in linux script
This commit is contained in:
@@ -12,6 +12,8 @@ git clone --depth=1 https://github.com/gnome/libxml2 && \
|
|||||||
git clone --depth=1 https://github.com/xiph/opus && \
|
git clone --depth=1 https://github.com/xiph/opus && \
|
||||||
git clone --depth=1 https://code.videolan.org/videolan/dav1d && \
|
git clone --depth=1 https://code.videolan.org/videolan/dav1d && \
|
||||||
git clone --depth=1 https://github.com/MartinEesmaa/FFmpeg-FixVVC && \
|
git clone --depth=1 https://github.com/MartinEesmaa/FFmpeg-FixVVC && \
|
||||||
|
git clone --depth=1 https://github.com/xiph/speex && \
|
||||||
|
git clone --depth=1 https://github.com/drowe67/codec2 && \
|
||||||
cd vvenc && sudo make install-release install-prefix=/usr/local disable-lto=1 && \
|
cd vvenc && sudo make install-release install-prefix=/usr/local disable-lto=1 && \
|
||||||
cd .. && \
|
cd .. && \
|
||||||
cd vvdec && sudo make install-release install-prefix=/usr/local disable-lto=1 && \
|
cd vvdec && sudo make install-release install-prefix=/usr/local disable-lto=1 && \
|
||||||
@@ -20,8 +22,15 @@ cd fdk-aac && autoreconf -if && ./configure --prefix=/usr/local --enable-static
|
|||||||
cd .. && \
|
cd .. && \
|
||||||
cd libxml2 && autoreconf -if && ./configure --prefix=/usr/local --enable-static --disable-shared && sudo make install -j $nproc && \
|
cd libxml2 && autoreconf -if && ./configure --prefix=/usr/local --enable-static --disable-shared && sudo make install -j $nproc && \
|
||||||
cd .. && \
|
cd .. && \
|
||||||
cd opus && autoreconf -if && ./configure --prefix=/usr/local --enable-static --disable-shared && sudo make install -j $nproc && \
|
cd opus && autoreconf -if && CFLAGS="-O2 -D_FORTIFY_SOURCE=0" LDFLAGS="-flto -s" ./configure --prefix=/usr/local --enable-static --disable-shared && sudo make install -j $nproc && \
|
||||||
cd .. && \
|
cd .. && \
|
||||||
|
cd speex && autoreconf -if && ./configure --prefix=/usr/local --enable-static --disable-shared && sudo make install -j $nproc && \
|
||||||
|
cd .. && \
|
||||||
|
cd codec2
|
||||||
|
grep -ERl "\b(lsp|lpc)_to_(lpc|lsp)" --include="*.[ch]" | \
|
||||||
|
xargs -r sed -ri "s;((lsp|lpc)_to_(lpc|lsp));c2_\1;g"
|
||||||
|
mkdir build && cd build && cmake -DCMAKE_EXE_LINKER_FLAGS="-static" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local -D{UNITTEST,INSTALL_EXAMPLES}=off .. && sudo make install -j $nproc && \
|
||||||
|
cd ../../ && \
|
||||||
cd SDL && mkdir build && cd build && cmake -DCMAKE_EXE_LINKER_FLAGS="-static" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local .. && sudo make install -j $nproc && \
|
cd SDL && mkdir build && cd build && cmake -DCMAKE_EXE_LINKER_FLAGS="-static" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local .. && sudo make install -j $nproc && \
|
||||||
cd ../../ && \
|
cd ../../ && \
|
||||||
mkdir dav1d/build && cd dav1d/build && meson -Denable_docs=false -Ddefault_library=static -Dprefix=/usr/local .. && sudo ninja install && \
|
mkdir dav1d/build && cd dav1d/build && meson -Denable_docs=false -Ddefault_library=static -Dprefix=/usr/local .. && sudo ninja install && \
|
||||||
|
Reference in New Issue
Block a user