From 5fa418dd5bd02093ceb20388869f19533b0ea42b Mon Sep 17 00:00:00 2001 From: Martin Eesmaa Date: Fri, 16 Sep 2022 14:29:03 +1000 Subject: [PATCH] add make opus for linux --- FFMPEGVVC.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/FFMPEGVVC.md b/FFMPEGVVC.md index 29fb83b..f15e4c6 100644 --- a/FFMPEGVVC.md +++ b/FFMPEGVVC.md @@ -154,6 +154,7 @@ git clone --depth=1 https://github.com/fraunhoferhhi/vvdec && \ git clone --depth=1 https://github.com/mstorsjo/fdk-aac && \ git clone --depth=1 https://github.com/libsdl-org/SDL && \ 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/MartinEesmaa/FFmpeg-FixVVC && \ wget https://gist.githubusercontent.com/MartinEesmaa/6c4c8158139e04d432f49ac005ba7528/raw/04b05601cb51eec7e5041f8a45b71caa552669c2/libvvenc.pc.in && \ cp libvvenc.pc.in vvenc/pkgconfig/ && \ @@ -165,11 +166,13 @@ cd fdk-aac && autoreconf -if && ./configure --prefix=/usr/local --enable-static cd .. && \ cd libxml2 && autoreconf -if && ./configure --prefix=/usr/local --enable-static --disable-shared && sudo make install -j $nproc && \ cd .. && \ +cd opus && autoreconf -if && ./configure --prefix=/usr/local --enable-static --disable-shared && sudo make install -j $nproc && \ +cd .. && \ cd SDL && ./configure --prefix=/usr/local --enable-static --disable-shared && sudo make install -j $nproc && \ cd .. && cd FFmpeg-FixVVC && \ ./configure --enable-static --pkg-config-flags="--static" --extra-ldexeflags="-static" \ --enable-libfdk-aac --enable-libvvenc --enable-libvvdec --enable-pic \ ---enable-libxml2 --enable-sdl2 && \ +--enable-libxml2 --enable-libopus --enable-sdl2 && \ make -j ``` @@ -179,9 +182,7 @@ If compiling is success and finished, you can install FFmpeg VVC, using the code mv ffmpeg ffmpeg_vvceasy mv ffplay ffplay_vvceasy mv ffprobe ffprobe_vvceasy -sudo cp ffmpeg_vvceasy /usr/local/bin -sudo cp ffplay_vvceasy /usr/local/bin -sudo cp ffprobe_vvceasy /usr/local/bin +sudo cp ffmpeg_vvceasy ffplay_vvceasy ffprobe_vvceasy /usr/local/bin ``` # Special thanks