Tool/software:
v4l2h264enc
encoder's input requirements:
Camera Output (v4l2-ctl):
-
YUV formats (YUYV, UYVY, etc.)
-
Bayer formats (BA81, GBRG, etc.)
-
Greyscale (GREY)
-
RGB formats (RGBR, XR24, etc.)
v4l2h264enc Input (gst-inspect-1.0):
-
Accepts:
video/x-raw
-
Supported formats: Y42B, NV16, NV61, NV21, NV12, I420
-
Supports resolutions 1x1 to 32768x32768 and various frame rates.
Key Issue: The camera's primary outputs (like YUYV/UYVY) aren't directly compatible with the encoder's required formats (like NV12/I420). This means we can't feed the camera output directly into v4l2h264enc
.
Question: Given this mismatch, is format conversion necessary before encoding?