[FFmpeg-user] problem ffmpeg with cuda and scale

Dennis Mungai dmngaie at gmail.com
Thu Oct 17 22:59:47 EEST 2019


On Thu, 17 Oct 2019 at 22:54, Michele Salerno <mikysal78 at gmail.com> wrote:

> Il giorno gio 17 ott 2019 alle ore 19:05 Dennis Mungai
> <dmngaie at gmail.com> ha scritto:
> >
> > My bad, try this:
> >
> >  ffmpeg -threads 8 -hwaccel nvdec -hwaccel_output_format cuda -i "$i"
> > -vf scale_cuda=720:-1 -c:v h264_nvenc -preset slow "convert/$i";
> >
> > That should fix the issue above.
> >
> Driver does not support the required nvenc API version. Required: 9.1
> Found: 9.0
> [h264_nvenc @ 0x560d30a9b6c0] The minimum required Nvidia driver for
> nvenc is 435.21 or newer
> Error initializing output stream 0:0 -- Error while opening encoder
> for output stream #0:0 - maybe incorrect parameters such as bit_rate,
> rate, width or height
>
> I have installed:
> NVIDIA-Linux-x86_64-430.50.run and cuda_10.1.243_418.87.00_linux.run
> on debian buster-
> i compled ffmpeg:
> https://pastebin.com/WVPcZsCV
> _______________________________________________
>

You should not install the device driver bundled with the SDK, as it’s
quite dated. If you’re to use the latest ffmpeg with the current ffnvcodec
header package, then you must be using driver 435, at the very least.


More information about the ffmpeg-user mailing list