So I have a Jetson TX2 Developper Kit but I wasn’t able to use the onboard camera.
I tried :
gst-launch-1.0 nvcamerasrc ! 'video/x-raw(memory:NVMM), width=640, height=480, framerate=30/1, format=NV12' ! nvvidconv flip-method=2 ! nvegltransform ! nveglglessink -e
but there is an error message :
Setting pipeline to PAUSED ...
Using winsys: x11
Socket read error. Camera Daemon stopped functioning.....
gst_nvcamera_open() failed ret=0
ERROR: Pipeline doesn't want to pause.
Got context from element 'eglglessink0': gst.egl.EGLDisplay=context, display=(GstEGLDisplay)NULL;
ERROR: from element /GstPipeline:pipeline0/GstNvCameraSrc:nvcamerasrc0: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure.
Additional debug info:
gstbasesrc.c(3354): gst_base_src_start (): /GstPipeline:pipeline0/GstNvCameraSrc:nvcamerasrc0:
Failed to start
Setting pipeline to NULL ...
Caught SIGSEGV
#0 0x0000007f95c4f130 in pthread_join (threadid=547918643712,
#1 0x0000007f95d05e40 in ?? () from /lib/aarch64-linux-gnu/libglib-2.0.so.0
#2 0x0000000000000011 in ?? ()
Spinning. Please run 'gdb gst-launch-1.0 7805' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.
I tried running the
gdb gst-launch-1.0 7885
but :
Attaching to program: /usr/bin/gst-launch-1.0, process 7805
ptrace: No such process.
/home/nvidia/7805: No such file or directory.
I’ve tried :
v4l2-ctl -d /dev/video0 --list-formats-ext
but :
Failed to open /dev/video0: No such file or directory