Skip to content

Releases: camenduru/gaussian-splatting-colab

colab

09 Sep 10:29
7aeaa9f
Compare
Choose a tag to compare
# https://docs.nvidia.com/video-technologies/video-codec-sdk/12.0/ffmpeg-with-nvidia-gpu/index.html#compiling-for-linux

%cd /content
!git clone https://git.videolan.org/git/ffmpeg/nv-codec-headers
%cd /content/nv-codec-headers
!make install
%cd /content
!git clone https://git.ffmpeg.org/ffmpeg
%cd /content/ffmpeg
!apt install build-essential yasm cmake libtool libc6 libc6-dev unzip wget libnuma1 libnuma-dev
!./configure --enable-nonfree --enable-cuda-nvcc --enable-libnpp --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64 --disable-static --enable-shared
!make -j 8
!make install
!ldconfig /usr/local/lib

https://huggingface.co/camenduru/ffmpeg-cuda

ffmpeg version N-111992-ga234e5cd80 Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04)
configuration: --enable-nonfree --enable-cuda-nvcc --enable-libnpp --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64 --disable-static --enable-shared
libavutil      58. 19.100 / 58. 19.100
libavcodec     60. 26.100 / 60. 26.100
libavformat    60. 11.100 / 60. 11.100
libavdevice    60.  2.101 / 60.  2.101
libavfilter     9. 11.100 /  9. 11.100
libswscale      7.  3.100 /  7.  3.100
libswresample   4. 11.100 /  4. 11.100
%cd /content
!git clone -b v2.0.0 https://github.com/NVIDIA/VideoProcessingFramework
%cd /content/VideoProcessingFramework
!pip wheel -v .
!pip wheel -v src/PytorchNvCodec