I am ingesting tx2 data from cameras, doing some processing, overlaying bounding boxes, and outputting that output out to a v4l2loopback(git clone https://github.com/umlaeute/v4l2loopback.git) device which I am showing in a web browser in Chromium. Currently, the camera streams are coming in as NV12 input. We have to color convert those to RGB24(I believe) before we can output to the v4l2loopback device and have it shown in Chromium.
My question is, DO we have to convert to RGB24 or something other than NV12? When we convert, all is well and the camera feeds show up appropriately in Chromium via WebRTC (meaning the exclusive_caps are being recognized by the browser). However, when I switch the output to maintain NV12 format, all I get out is a gray box in the browser. Does anyone have an idea what is going on or have some suggestions for utilizing NV12 OUTPUT to v4l2loopback and chromium?