Skip to content

XniceCraft/ffmpeg-colab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 

Repository files navigation

FFmpeg 7.1

FFmpeg 7.1 binary for Google Colab This FFmpeg depends on opengl.

[=] Installation

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

[=] External Library

  • ffnvcodec 11.1.5.3
  • libaom 3.11.0
  • libass 0.17.3
  • libbluray 1.3.4
  • libdav1d 1.5.0
  • libfdk-aac 2.0.3
  • libfontconfig 2.15.0
  • libfreetype 2.13.3
  • libfribidi 1.0.16
  • libgme 0.6.3
  • libkvazaar 2.3.1
  • libmp3lame 3.100~ (custom)
  • libopencore 0.1.6
  • libopenh264 2.3.1
  • libopenjpeg 2.5.3
  • libopus 1.5.2
  • libshine 3.1.1
  • libsoxr 0.1.3
  • libsrt 1.5.
  • libsvtav1 2.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 4.1
  • libxvid 1.3.7
  • libzimg 3.0.5
  • openssl 1.1.1w
  • zlib 1.3.1

NVENC and NVDEC are supported.

[=] FFmpeg Configuration

configuration: --prefix=/home/ffmpeg-builder/release --pkg-config-flags=--static --extra-libs=-lm --disable-doc --disable-debug --disable-shared --disable-ffprobe --enable-static --enable-gpl --enable-version3 --enable-runtime-cpudetect --enable-avfilter --enable-filters --ld=g++ --enable-nvenc --enable-nvdec --enable-cuvid --toolchain=hardened --disable-stripping --enable-opengl --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 -Wl,--allow-multiple-definition -static-libstdc++ -static-libgcc ' --extra-cxxflags='-static -static-libstdc++ -static-libgcc ' --extra-ldexeflags='-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-libopus --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libshine --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtheora --enable-libvidstab --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 build.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