This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pkg install git clang ffmpeg nasm rust -y | |
| git clone --depth 1 https://github.com/master-of-zen/Av1an | |
| cd Av1an | |
| export CARGO_PROFILE_RELEASE_LTO="fat" | |
| export RUSTFLAGS="-C target-cpu=native -C codegen-units=1" | |
| #Snapdragon (ARMv9 and above) use this instead | |
| #export RUSTFLAGS="-C target-cpu=native -C codegen-units=1 -C target-feature=-sve" | |
| cargo install --path av1an | |
| export PATH=$HOME/.cargo/bin:$PATH | |
| echo 'export PATH=$HOME/.cargo/bin:$PATH' >> ~/.bashrc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pkg install git clang nasm rust -y | |
| # Use my fork for now | |
| git clone -b Termux https://github.com/Uranite/xav.git | |
| cd xav | |
| cargo install --path . | |
| export PATH=$HOME/.cargo/bin:$PATH | |
| echo 'export PATH=$HOME/.cargo/bin:$PATH' >> ~/.bashrc | |
| source ~/.bashrc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pkg install zig git -y | |
| git clone https://github.com/gianni-rosato/fssimu2 | |
| cd fssimu2 | |
| zig build --release=fast -Dtarget=aarch64-linux-musl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # idk the deps anymore | |
| pkg install build-essential nasm git -y | |
| git clone https://code.videolan.org/videolan/x264.git | |
| cd x264 | |
| ./configure --prefix=$PREFIX --disable-lavf --disable-swscale --extra-cflags="-march=native" --enable-lto --enable-strip --enable-pic | |
| make install -j$nproc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pkg install git cmake nasm clang ninja -y | |
| # Ideally install ffmpeg now, if you're going to install ffmpeg later | |
| # Because svt-av1 will override svt-av1-hdr | |
| # So if you install ffmpeg after svt-av1-hdr | |
| # You're going to need to rerun ninja -C svt_build install | |
| pkg install ffmpeg -y | |
| git clone -b testing --depth 100 https://github.com/juliobbv-p/svt-av1-hdr.git | |
| cd svt-av1-hdr | |
| LDFLAGS=-lm cmake --fresh -B svt_build -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DSVT_AV1_LTO=OFF -DNATIVE=ON -DCMAKE_CXX_FLAGS_RELEASE="-flto -O2 -DNDEBUG" -DCMAKE_C_FLAGS_RELEASE="-flto -O2 -DNDEBUG" -DCMAKE_INSTALL_PREFIX=$PREFIX | |
| # If you're using Snapdragon (ARMv9 and above) and it crashes, try removing -DNATIVE=ON |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Requires VapourSynth, either you have compiled VapourSynth yourself, | |
| # Or install from Termux repo | |
| # pkg install vapoursynth | |
| # We avoid building scipy from pip which takes a really long time | |
| pkg install python python-pip python-numpy python-scipy -y | |
| pip install vsjetpack |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pkg install cmake git ninja clang nasm perl -y | |
| git clone https://gitlab.com/damian101/aom-psy101.git --depth 1 | |
| cd aom-psy101 | |
| cmake -B aom_build -G Ninja -DBUILD_SHARED_LIBS=0 -DENABLE_DOCS=0 -DCONFIG_TUNE_BUTTERAUGLI=0 -DCONFIG_TUNE_VMAF=0 -DCONFIG_AV1_DECODER=0 -DENABLE_TESTS=0 -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-flto -march=native" -DCMAKE_C_FLAGS="-flto -march=native" -DCMAKE_INSTALL_PREFIX=$PREFIX | |
| ninja -C aom_build install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pkg install git cmake ninja clang -y | |
| git clone https://github.com/HomeOfAviSynthPlusEvolution/neo_f3kdb | |
| cd neo_f3kdb | |
| CFLAGS="-march=native -flto" CXXFLAGS="-march=native -flto" cmake -B build | |
| #If you're using Snapdragon (ARMv9 and above) and it crashes, try this one | |
| #CFLAGS="-march=native+nosve -flto" CXXFLAGS="-march=native+nosve -flto" cmake -B build | |
| cmake --build build | |
| # install | |
| cp build/libneo-f3kdb.so $PREFIX/lib/vapoursynth/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pkg install git clang opencl-headers boost-headers -y | |
| git clone https://github.com/Khanattila/KNLMeansCL | |
| cd KNLMeansCL | |
| CFLAGS="-march=native" CXXFLAGS="-march=native" meson setup build --prefix=$PREFIX -Db_lto=true | |
| ninja -C build install | |
| # to use KNLMeansCL, you need opencl | |
| # pkg install opencl-vendor-driver -y | |
| # Note: OpenCL doesn't work on Adreno GPUs https://github.com/termux/termux-packages/issues/23866 | |
| # You can try https://github.com/termux/termux-packages/issues/27640#issuecomment-3659540855 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pkg install git -y | |
| git clone -b gitmodules https://github.com/dnjulek/vapoursynth-zip.git --recursive --shallow-submodules | |
| cd vapoursynth-zip | |
| wget "https://ziglang.org/download/0.15.2/zig-aarch64-linux-0.15.2.tar.xz" | |
| tar -xf "zig-aarch64-linux-0.15.2.tar.xz" | |
| zig-aarch64-linux-0.15.2/zig build -Doptimize=ReleaseFast -Dtarget=aarch64-linux-musl | |
| cp zig-out/lib/libvszip.so $PREFIX/lib/vapoursynth/ |
NewerOlder