nvidia-vaapi-driver icon indicating copy to clipboard operation
nvidia-vaapi-driver copied to clipboard

[Feature request] NVENC support

Open thesword53 opened this issue 2 years ago • 8 comments

Do you plan to add encoding support via NVENC?

thesword53 avatar Sep 30 '22 19:09 thesword53

Originally I had planned to look into it, but I'm not so sure now. I don't know if hardware video encoding is useful for the very few programs that can actually make use of this library.

elFarto avatar Oct 01 '22 13:10 elFarto

Sway/Nvidia user here. This is the only working solution for hardware accel for me. Sunshine comes to mind. Would be amazing to have NVENC.

exalented avatar Oct 01 '22 22:10 exalented

Since Firefox can use the driver, would supporting encoding also open up hardware-accelerated encoding for screen sharing or sharing webcam video in conferencing solutions such as Jitsi / Microsoft Teams / Google Meet / ...?

NoTuxNoBux avatar Oct 14 '22 11:10 NoTuxNoBux

It would also be useful for Virgl video encoding: https://www.phoronix.com/news/Virgl-Encode-H264-H265

thesword53 avatar Nov 18 '22 17:11 thesword53

Any news on this? I'll pitch in $50.

exalented avatar Feb 11 '23 05:02 exalented

I did take a quick look at it. NVENC looks pretty straight forward to use, but I struggled to understand how to use VA-API to encode. From what I can tell, the mapping between the two isn't as straight forward as the decoding side is.

elFarto avatar Feb 12 '23 18:02 elFarto

I also have a use for this, I use multiple different machines for hardware encoding, some of which have NVIDIA, others Intel and others again AMD GPUs, and having VA-API support on NVIDIA would drastically simplify the required ffmpeg command creation.

JeWe37 avatar May 10 '23 23:05 JeWe37

Waypipe could also benefit from this

BlauerHunger avatar May 13 '23 00:05 BlauerHunger