[Libav-user] Nvenc_H264 very slow compared to Libx264
dr.strashni at gmail.com
Sun Jan 19 08:56:22 EET 2020
> 1. Would you mind elaborating on how to create a hardware frames context?
I found this example on how to do it with VAAPI. Should I just copy the
set_hwframe_ctx() function? What should I change the pix_fmt to for nvenc?
> I noticed in the example you sent me
call av_hwdevice_find_type_by_name(argv). Do I need to do this as
well/should I replace argv by "cuda" since I want to do nvenc? >
Look at this example, it has the missing info that you require.
argv should be replaced by "cuda", yes.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user