tce-load -lwi compiletc yasm coreutils sdl2-dev libass-dev faac-dev pulseaudio-dev libtheora-dev bzip2-dev libva2-dev libv4l2-dev libvpx113-dev perl5 lame-dev x264_148-dev libwebp1-dev libbluray-dev libcdio-dev libcdio-paranoia-dev xvid-dev opus-dev x265-dev openal-dev librsvg-dev gnutls35-dev tce-load -lwi svt-av1-dev libaom-dev dav1d-dev squashfs-tools libjxl-dev wget --no-check-certificate -O- https://github.com/FFmpeg/nv-codec-headers/releases/download/n8.1.24.15/nv-codec-headers-8.1.24.15.tar.gz | tar -xz wget --no-check-certificate -O- https://github.com/FFmpeg/FFmpeg/archive/refs/tags/n5.1.4.tar.gz | tar -xz cd nv-codec-headers-8.1.24.15/ make sudo make install cd ../FFmpeg-n5.1.4/ sed -i 's/-lflite"/-lflite -lasound"/' configure CFLAGS="-mtune=generic -Os -pipe" CXXFLAGS="-mtune=generic -Os -pipe" ./configure --prefix=/usr/local --disable-static --enable-gpl --enable-version3 --enable-shared --disable-debug --disable-doc --enable-bzlib --enable-fontconfig --enable-libass --enable-libfreetype --enable-libpulse --enable-libspeex --enable-libtheora --enable-libvorbis --enable-zlib --enable-libmp3lame --enable-libv4l2 --enable-libvpx --enable-vdpau --enable-libx264 --enable-libwebp --enable-libpulse --enable-libspeex --enable-libbluray --enable-libcdio --enable-libxvid --enable-libopus --enable-libx265 --enable-openal --enable-lto --enable-librsvg --enable-gnutls --enable-libsvtav1 --enable-libaom --enable-libdav1d --enable-libjxl mkdir ffmpeg-build sudo make install DESTDIR=./ffmpeg-build cd ffmpeg-build mksquashfs usr/local/lib/libavutil.so* libavutil5.tcz -no-strip mksquashfs usr/local/lib/libswresample.so* libswresample5.tcz -no-strip mksquashfs usr/local/lib/libavcodec.so* libavcodec5.tcz -no-strip mksquashfs usr/local/lib/libavdevice.so* libavdevice5.tcz -no-strip mksquashfs usr/local/lib/libavformat.so* libavformat5.tcz -no-strip mksquashfs usr/local/lib/libpostproc.so* libpostproc5.tcz -no-strip mksquashfs usr/local/lib/libavfilter.so* libavfilter5.tcz -no-strip mksquashfs usr/local/lib/libswscale.so* libswscale5.tcz -no-strip mksquashfs usr/local/bin/* ffmpeg5.tcz -no-strip mksquashfs . ffmpeg5-dev.tcz -e usr/local/bin/ -e *.tcz -e usr/local/share/ -e usr/local/lib/*.so* mv *.tcz ../../ cd ../../