[Libav-user] av_hwdevice_ctx_create fails when using AV_HWDEVICE_TYPE_CUDA

Strahinja Radman dr.strashni at gmail.com
Wed Jul 6 08:05:46 EEST 2022



> On 5. 7. 2022., at 14:31, Santosh Kamble <skamble at cemtrexlabs.com> wrote:
> 
> Available device types:
> dxva2
> d3d11va
> 
> output does not contain cuda.
> but as I mentioned in my issue post, ffmpeg outputs it in hardware accelerators list.
> 

Maybe your device is somehow disabled or not loaded. If you have a laptop check if your GPU is in a “sleeping" state. Those two device types are, I think, integrated intel GPU. Maybe set your nVidia GPU as primary and try again.

Kind regards,
Strahinja


More information about the Libav-user mailing list