Some time ago I managed to write working code (on Jetpack) that makes use of NvVideoEncoder (and NvBuffer) to generate some H264 encoded video files.
Unfortunately, to make things work libnvbuf_utils.so is required, which has EGL as a dependency.
As far as I understand, neither the V4L2 interface nor the low level driver seem to require EGL (but some functions on libnvbuf_utils do).
Since I’ve been working for quite some time on a minimal (less than 200MB) image, I would like to avoid EGL and especially X11 or Wayland as dependencies.
Would it be possible to get a version of libnvbuf_utils without this EGL dependencies (since as far as I have seen there is no source code available)?
If not, is there any way to satisfy the EGL requirement without requiring X11 / Wayland / etc (and without runtime errors)?