Unable to capture image using IMX219 | IMX477

** Message: 16:30:12.863: main:4670 iterating capture loop …
NvMMLiteOpen : Block : BlockType = 4
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 4
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:568 Failed to create CaptureSession

I am getting this error message as I try to capture the image using CSI camera. My camera driver is working properly.

Hi @shrey.intern.cilans,

What do you mean that the camera driver is working properly? Have you verified succesful streaming capture with a v4l2-ctl command like below?

v4l2-ctl --set-fmt-video=width=3840,height=2160,pixelformat=RG10 --stream-mmap --stream-count=1 -d /dev/video0 --stream-to=IMX477.raw

Also I recall that when I have seen this issue in the past is because another session was already using the video device (perhaps another gst-launch command or custom application?). Make sure no other process is using the same video device you need, also restarting the nvargus daemon is worth the try:

sudo service nvargus-daemon restart

Are you testing with GStreamer or a custom libargus application? If it GStreamer can you please share the pipeline description?

Jafet Chaves,
Embedded SW Engineer at RidgeRun
Contact us: support@ridgerun.com
Developers wiki: https://developer.ridgerun.com/
Website: www.ridgerun.com

1 Like

Thanks for the reply. I will try the above method and will let you know if it works or not. If I get some other error I will reach out to you.

Shrey.intern.cilans

1 Like

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