Consume EGl streams created using libargus (jetson multimedia API) in nvxio (visionworks)

Hi Thanks for getting back to me,
Codewise I’m in a similar situation as this post

on vx end I’m trying to use the function NVXIO_EXPORT std::unique_ptr<FrameSource> createDefaultFrameSource(vx_context context, const std::string& uri);

My URI (as instructed in the source comments) is device:///v4l2?index=0" however it does not work as it is , sadly my camera requires more than the frame index to get it to dump raw, However I can use the command v4l2-ctl --stream-mmap --stream-count --stream-skip=16 --stream-to=out.raw -cpreferred_stride=4096 -csensor_mode=0 which I believe is not compatible with the createDefaultFrameSource() function above.

My solution A was to use the “Argus<->VisionWorks” to convert between EGL and VX compatible images.

Solution B stick to the Argus and EGL land?

PS: I’ve also considered creating a loopback device but not sure if that’s a great idea or if it can interoperate all the instructions to v4l2-ctl or how to instruct createDefaultFrameSource to ingest that is straightforward (as providing a URI derived from /dev/videox)?