CSI camera running with gstreamer and nvgstcapture-1.0 but not with visionworks1.6

Hi, I am using IMX219 which is working fine with gstreamer and nvgst-capture-1.0 but whenever i try to run with visionworks demo it return error.

river Info (not using libv4l2):
	Driver name   : tegra-video
	Card type     : vi-output, imx219 10-0010
	Bus info      : platform:15c10000.vi:2
	Driver version: 4.9.253
	Capabilities  : 0x84200001
		Video Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps   : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format

and ./nvx_demo_feature_tracker --source=device:///nvcamera?index=0
produce

VisionWorks library info:
	 VisionWorks version : 1.6.0
	 OpenVX Standard version : 1.1.0

GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected...
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 3264 x 2464 FR = 21.000000 fps Duration = 47619048 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 3264 x 1848 FR = 28.000001 fps Duration = 35714284 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1920 x 1080 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1640 x 1232 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1280 x 720 FR = 59.999999 fps Duration = 16666667 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

ARGUS_ERROR: Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute: 880 Frame Rate specified is greater than supported
GST_ARGUS: Running with following settings:
   Camera index = 0 
   Camera mode  = 0 
   Output Stream W = 3264 H = 2464 
   seconds to Run    = 0 
   Frame Rate = 21.000000 
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
ARGUS_ERROR: Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute: 1100 InvalidState.
GST_ARGUS: Cleaning up
nvbuf_utils: dmabuf_fd -1 mapped entry NOT found
nvbuf_utils: Can not get HW buffer from FD... Exiting...
CONSUMER: ERROR OCCURRED
Error: Can't open source URI device:///nvcamera?index=0

Hi user14266,
Did you manage to use VisionWorks demo with another camera ?
This issue can come from VisionWorks and not your camera, see this topic.
Hope this helps.

Yes, I got the stream from USB camera after making changes in source code. I am facing with CSI/MIPI camera

After days of working on this problem i found that the format of resolution coded by the vision works do not support the resolution of IMX219, so changing the resolution in source code worked for me.

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