Skip to content

XniceCraft/ffmpeg-colab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

FFmpeg 6.0

FFmpeg 6.0 binary for Google Colab This FFmpeg depends on opengl. So it isn't static binary

[=] Installation

!bash <(curl -s https://raw.githubusercontent.com/XniceCraft/ffmpeg-colab/master/install)

[=] External Library

  • ffnvcodec 11.1.5.2
  • libaom 3.6.1
  • libass 0.17.1
  • libbluray 1.3.3
  • libdav1d 1.0.0
  • libfdk-aac 2.0.2
  • libfontconfig 2.14.1
  • libfreetype 2.12.1
  • libfribidi 1.0.12
  • libgme 0.6.3
  • libkvazaar 2.1.0
  • libmp3lame 3.100~ (custom)
  • libopencore 0.1.6
  • libopenh264 2.3.1
  • libopenjpeg 2.5.0
  • libopus 1.3.1
  • libshine 3.1.1
  • libsoxr 0.1.3
  • libsrt 1.5.1
  • libsvtav1 1.3.0
  • libtheora 1.1.1
  • libvidstab 1.1.0
  • libvmaf 2.3.1
  • libvorbis 1.3.7
  • libvpx 1.12.0
  • libx264 (see x264-stable branch)
  • libx265 3.5
  • libxvid 1.3.7
  • libzimg 3.0.4
  • openssl 1.1.1s
  • zlib 1.2.13

NVENC and NVDEC are supported.

[=] FFmpeg Configuration

./configure --prefix=/home/ffmpeg-builder/release --pkg-config-flags=--static --extra-libs=-lm --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-debug --disable-shared --disable-ffprobe --enable-static --enable-gpl --enable-version3 --enable-runtime-cpudetect --enable-avfilter --enable-filters --enable-nvenc --enable-nvdec --enable-cuvid --pkgconfigdir=/home/ffmpeg-builder/release/lib/pkgconfig --extra-cflags='-I/home/ffmpeg-builder/release/include -static -static-libstdc++ -static-libgcc ' --extra-ldflags='-L/home/ffmpeg-builder/release/lib -fstack-protector -static -static-libstdc++ -static-libgcc ' --extra-cxxflags='-static -static-libstdc++ -static-libgcc ' --extra-libs='-ldl -lrt -lpthread' --enable-ffnvcodec --enable-gmp --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libfdk-aac --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libkvazaar --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtheora --enable-libvidstab --ld=g++ --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzimg --enable-openssl --enable-zlib --enable-nonfree --extra-libs=-lpthread --enable-pthreads --extra-libs=-lgomp

[=] Builder Script

https://github.com/XniceCraft/ffmpeg-builder

CFLAGS="-mtune=generic" python ffmpeg-builder.py --use-system-build-tools --use-nonfree-libs --static-ffmpeg --exclude-targets "ffmpeg-msys2-deps" --disable-ffplay --extra-ffmpeg-args="--enable-nvenc --enable-nvdec --enable-cuvid --toolchain=hardened --disable-stripping --enable-opengl " --build

[=] Credit