we are trying to capture video from a v4l2 source using GStreamer pipeline. We wrote a v4l2 driver for our device. It outputs video in BGRx color format.
We have problems to find a way to capture directly into GPU memory (NVMM).
nvgstcapture and nvv4l2camerasrc do not support the color formats.
Hi,
Yo can download source code of nvv4l2camerasrc and customize it to support BGRx. The matched NvBuffer format is NvBufferColorFormat_XRGB32. All source code is packetized into https://developer.nvidia.com/embedded/linux-tegra
L4T Driver Package (BSP) Sources
FYR, there is also jetson_multimedia_api sample demonstrating v4l2 capture: