jrottenberg / ffmpeg

Docker build for FFmpeg on Ubuntu / Alpine / Centos / Scratch / nvidia / vaapi
https://hub.docker.com/r/jrottenberg/ffmpeg/
Apache License 2.0
1.37k stars 450 forks source link

Feature Request: yadif_cuda and vamf support #353

Open alturismo opened 1 year ago

alturismo commented 1 year ago

Hi, may a chance to get those features enabled by default ?

mainly cuda-llva to get yadif_cuda and scale_cuda up and running.

vamf would be "nice to have" ;)

thanks ahead

jrottenberg commented 1 year ago

Hello !

Not familiar how to get those features added ? Are they flag on the ffmpeg compile step, do you have any documentation ?

alturismo commented 1 year ago

good morning, i thought this had been already covered here as its a main nice feature, as sample the yadif_cuda is ~ 2x faster then yadif with no real loss in quality.

https://github.com/jrottenberg/ffmpeg/pull/319

now i saw the flag wasnt set, --enable-cuda-llvm, but i guess there is a bit more todo ... when i try to build with this flag.

image

about vamf support, just a neat feature to compute a quality score from the encoded video's, not really a major thing

as sample https://ottverse.com/vmaf-ffmpeg-ubuntu-compilation-installation-usage-guide/

thanks for taking a look

alturismo commented 1 year ago

@jrottenberg small update, its not enable llvm, its simple enable sdk

--enable-cuda-sdk \

result compared

image

image