Open Brainiarc7 opened 4 months ago
I think the FFmpeg build failure is due to the missing libcuda.so.1 library file.
The vmaf is linked with libcuda.so.1 because of SONAME of libcuda.so is libcuda.so.1
When enable libvmaf of FFmpeg, it requires libcuda.so.1 but this file does not exist when building the Docker image.
I am unsure why the SONAME of /usr/local/cuda/lib64/stubs/libcuda.so is libcuda.so.1.
According to this issue on the NVIDIA GitHub repository, there are no plans to fix this.
This patch is a fix to #1379, wherein:
ldconfig
's cache.libvmaf
is set toshared
./usr/local/share/model
for re-usability with custom FFmpeg pipelines as needed.ldconfig
is called up immediately afterlibvmaf
build so thatFFmpeg
can detect it.