Jetson_multimedia_api samples

Hi
I have compiled Example 12
/usr/src/jetson_multimedia_api/samples/12_camera_v4l2_cuda
but I see the following error when running
$: ./camera_v4l2_cuda -d /dev/video1 -s 1920x1080 -f UYVY
WARN: request_camera_buff(): (line:380) Camera v4l2 buf length is not expected
WARN: request_camera_buff(): (line:380) Camera v4l2 buf length is not expected
WARN: request_camera_buff(): (line:380) Camera v4l2 buf length is not expected
WARN: request_camera_buff(): (line:380) Camera v4l2 buf length is not expected
Segmentation fault (core dumped)

What is wrong?
Also, I can use /dev/video1 with the following command without any problem
gst-launch-1.0 v4l2src device=“/dev/video1” ! “video/x-raw,width=1920,height=1080, format=(string)UYVY, framerate=(fraction)30/1” ! nvvidconv ! nvoverlaysink

Hi,
Not sure but you may miss export DISPLAY:=0(or 1)

Please also refer to steps in Jetson Nano FAQ
[Q: I have a USB camera. How can I launch it on Jetson Nano?]

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