using a video stream from a file without any problems.
But when I change type to 1 to run a camera (I tried both raspberry pi camera and logitec webcam): #Type - 1=CameraV4L2 2=URI 3=MultiURI
type=1
camera-width=640
camera-height=360
camera-fps-n=30
camera-v4l2-dev-node=0
I get this error:
ERROR from src_elem: Internal data stream error
i got to know “Gstreamer provides different commands for capture images were two is nvarguscamerasrc and v4l2src.” in NVIDIA Xavier - GStreamer, and my kernel is
Linux 4.9.140-tegra aarch64,so I can only use nvarguscamerasrc.
my question is : "CameraV4L2 " stand for v4l2src, What stands for nvarguscamerasrc
nvarguscamerasrc is for the camera which camera data go through Jetson SOC internal ISP , that is, CSI interface → Internal ISP → nvarguscamerasrc capture → …
mchi
thanks for reply,I did not express my question clearly,sorry,in the file “/opt/nvidia/deepstream/deepstream-5.0/sources/objectDetector_Yolo/deepstream_app_config_yoloV3.txt” has a opthion named “source0”,content as follow:
Argus camera:
in configure file, the ssource format is “uri=csi:dev_node/sensor_id”, e.g. uri=csi:/dev/video0
the type in code is : NV_DS_SOURCE_CAMERA_CSI
USB camera:
in configure file, the ssource format is “uri=:dev_node/sensor_id”, e.g. uri=usb:/dev/video0
the type in code is : NV_DS_SOURCE_CAMERA_V4L2