Camera Streaming Issue in orin nx

I think the command shows the pipeline like nvarguscamerasrc → nvvidconv ->xvimagesink(display)

okay is there any other way in nvidia to see which pipeline is being used ?

If you what to check the element of the pipeline you can use gst-inspect-1.0 like below.

gst-inspect-1.0 nvarguscamerasrc

Hello,

Thank you for your support.

We are trying to excute below commands in sequence:

  • gst-launch-1.0 -v nvarguscamerasrc sensor-id=1 sensor-mode=6 ! nv3dsink
  • gst-launch-1.0 -v nvarguscamerasrc sensor-id=1 ! ‘video/x-raw(memory:NVMM),format=NV12,width=3840,height=2160’ ! nvv4l2h264enc bitrate=8000000 ! h264parse ! qtmux ! filesink location=output52.mp4 -e
  • gst-launch-1.0 -v nvarguscamerasrc sensor-id=1 sensor-mode=6 ! nv3dsink

Note: sensor-mode=6 is classified with 1080p. Earlier we are checking with sensor-mode=0 (4k)

When we are executing first two commands, it will give the proper frames, but when we are trying to stream on hdmi (mentioned in 3rd command), we are getting distorted frames. Reference image is attached here.

We were earlier working with 4K resolution and we have the black screen issue… We have tried multiple times and came to understanding that 1080p mode is working for us in those multiple iteration… However the problem now is while running the 1080p mode first time it is giving the desired output, but after running fake sink and then again trying the 1080p mode in filesink or in nv3dsink it is giving us this destorted frame.. Although we are receiving frames continuously (and it is visible also )but it is destorted. Can you help us with this ?

We are using imx678 camera sensor with orin NX devkit.

Please help us to resolve this issue, as it is blocker for us.

Please try below command.

gst-launch-1.0 -v nvarguscamerasrc sensor-id=1 sensor-mode=6 ! 'video/x-raw(memory:NVMM),width=1920,height=1080,framerate=30/1,format=NV12' ! nv3dsink

Hi, The issue is same with the above command I am attaching the image below for that…

Also I have an update.. We have tried getting the YUV image dumps on the nvarguscamerasrc using this below command and checked those frames in vooya platform.. I am receiving these corrupted frames there also so it might suggests that the frames coming at nvarguscamerasrc is corrupted only so we need to check that source for debugging… Can you help us with that ? or do you have any knowledge on issue like that ?

For YUV frames dump “gst-launch-1.0 nvarguscamerasrc sensor-id=1 ! ‘video/x-raw(memory:NVMM), width=1920, height=1080, format=NV12, framerate=30/1’ ! nvvidconv ! ‘video/x-raw, format=NV12’ ! filesink location=1.yuv”

I would suspect the incorrect sensor configuration cause the problem.
Maybe consult with sensor vendor to dump the REG to figurate out the problem.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.