My goal is to capture the screen on a Ubuntu 18.04 and encode the image with NVENC.
I’ve looked at several things:
- ffmpeg for capture + nvenc
- DRM/KMS APIs
- X11 (doesn’t do zero-copy so it’s not low latency)
- NvFBC (couldn’t get the sample to work but was told this end-of-life by folks at NVIDIA)