Error initializing a CUDA frame pool cuvid hwaccel ....

Questions involving a Windows version of FFmpeg.
Post Reply
mat946
Posts: 1
Joined: Mon Mar 12, 2018 8:18 am

Error initializing a CUDA frame pool cuvid hwaccel ....

Post by mat946 » Mon Mar 12, 2018 8:32 am

Hi there,
I'm a new user of ffmpeg and I'm very happy I found this. I started my tests yesterday, and cpu rendering went smoothly.
Today I tried to use gpu rendering, but it looks like I'm doing something wrong. Could you help me with this?

Code: Select all

r:\test>ffmpeg -hwaccel cuvid -r 25 -f image2 -start_number 00000 -i test_%05d.jpg -c:v h264_nvenc -preset medium -rc vbr_hq -b:v 10M -maxrate:v 12M output.mp4
Error msg i'm getting for every frame:

Code: Select all

[AVHWFramesContext @ 00000000028170c0] Pixel format 'yuvj444p' is not supported
[mjpeg @ 000000000053fac0] Error initializing a CUDA frame pool
cuvid hwaccel requested for input stream #0:0, but cannot be initialized.
Error while decoding stream #0:0: Invalid argument
I'm using:
ffmpeg version N-90288-g2536bd8632 Copyright (c) 2000-2018 the FFmpeg developers

and nvidia gtx970 4gb ram

Post Reply