Support RGB888


I am trying to input RGB888 image data from Camera device to NX, but it does not work. I referred several forum topics and xavier trm doc.

I tried to create Image file corresponding to input RGB888, but pixel format was converted to AR24 automatically at V4L2. And, acquisition of RGB888 data failed

It looks there is no way to connect a device that outputs RGB888 to NX
If there is a way, I would like to know it.

Thank you.

hello rlatae123,

we don’t support RGB888 by default, you may have implementation to extend the supported sensor types.

even though there’s RGB888 format definition,
VI did not support RGB888 memory formats due to it’ll add luminance format. i.e. V4L2_PIX_FMT_ABGR32, AR24.
please also check similar discussion thread, such as Topic 69251, and Topic 108194, as see-also topics.


we check v4l2-ctl -d /dev/video1 --list-formats-ext

Output is

     index       : 0
     Type        : Video Capture
     Pixel Format: 'AR24'
     Name        : 32-bit BGRA 8-8-8-8

and check frame v4l2-ctl command

v4l2-ctl -d /dev/video1 --set-ctrl bypass_mode=0 --stream-mmap --stream-count=1

not working

Trace Result:

what should we check?

hello rlatae123,

according to tracing logs, it’s start-of-frame behind frame-end, which looks incorrect.