Multimedia api,libargus,v4l2,xavier nx

Hi all,

I am using a 376*376 camera and I want to stream it on my display…The source can be either libargus or v4l2 but I dont see an appropriate code in multimedia api to stream it…Are there any sample applications to do so…If so can you kindly send…The resolutions seems to be the problem here.


Hi @ShaneCCC ,

Can you please let me know about this?

Thanks in Advance!

Suppose Argus unable support smaller size sensor less than 640*480, Maybe you can try v4l2 base APP and demosaic by software then display to screen.

Hi Shane will try that but can you please explain how to get it through Argus itself…

Current working to support smaller size sensor, but due to we don’t have this kind of design may take more time to figure it out.

Okay thanks @ShaneCCC ,

Can you give a sample v4l2 application to get the mipi data.


You check with v4l2-ctl to get the raw data like below command.

v4l2-ctl --set-fmt-video=width=1920,height=1080,pixelformat=RG10 --set-ctrl bypass_mode=0 --stream-mmap --stream-count=1 --stream-to=ov1080.raw -d /dev/video0 

Yeah @ShaneCCC we have the command but a sample c/c++ application would be better as we need to play around with the bayer data.

Have a check MMAPI sample code.