# Check GStreamer on Jetson Nano 

**URL:** <https://forums.developer.nvidia.com/t/check-gstreamer-on-jetson-nano/108258>\
**Category:** Jetson Nano\
**Created:** [November 30, 2019, 1:13pm UTC](https://forums.developer.nvidia.com/t/check-gstreamer-on-jetson-nano/108258 "2019-11-30T13:13:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![barzanhayati](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@barzanhayati](https://forums.developer.nvidia.com/u/barzanhayati)\
**Post date:** [November 30, 2019, 1:13pm UTC](https://forums.developer.nvidia.com/t/check-gstreamer-on-jetson-nano/108258/1 "2019-11-30T13:13:54Z")

</div>

I have installed gstreamer on jetson nano and I want to check is it runnable?

I run these commands

```auto
gst-launch-1.0 nvcamerasrc sensor-id=0 ! 'video/x-raw(memory:NVMM),width=1920, height=1080, framerate=30/1, format=NV12' ! nvoverlaysink -ev

```

getting this message:

```auto
WARNING: erroneous pipeline: no element "nvcamerasrc"

```

and by changing **nvcamerasrc** to **nvarguscamerasrc** , I mean this command,

```auto
gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! 'video/x-raw(memory:NVMM),width=1920, height=1080, framerate=30/1, format=NV12' ! nvoverlaysink -ev

```

I got this message:

```auto
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/GstPipeline:pipeline0/GstNvArgusCameraSrc:nvarguscamerasrc0.GstPad:src: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstNvOverlaySink-nvoverlaysink:nvoverlaysink-nvoverlaysink0.GstPad:sink: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:521 No cameras available
Got EOS from element "pipeline0".
Execution ended after 0:00:00.442985083
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...

```

I’ll be thankful if someone could help me.

Camera:

---

<div class="post-metadata">

**Author:** ![DaneLLL](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/danelll/32/14043_2.png) [@DaneLLL](https://forums.developer.nvidia.com/u/DaneLLL)\
**Post date:** [December 2, 2019, 3:08am UTC](https://forums.developer.nvidia.com/t/check-gstreamer-on-jetson-nano/108258/2 "2019-12-02T03:08:12Z")

</div>

Hi,  
Please share which camera you connect to Jetson Nano. Probably it is not supported by default and you need to enable the config and program device tree accordingly.

---

<div class="post-metadata">

**Author:** ![barzanhayati](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@barzanhayati](https://forums.developer.nvidia.com/u/barzanhayati)\
**Post date:** [December 2, 2019, 6:27am UTC](https://forums.developer.nvidia.com/t/check-gstreamer-on-jetson-nano/108258/3 "2019-12-02T06:27:54Z")

</div>

> [@DaneLLL](#):
>
> Hi,  
> Please share which camera you connect to Jetson Nano. Probably it is not supported by default and you need to enable the config and program device tree accordingly.

Hi Danelll,

My camera is a Dahua A5501CU60E (a Machine Vision USB Camera).  
I am working on Jetson Nano. I installed the Drivers that Dahua released. After installing the drivers, /dev/video0 appears when the camera is connected to the USB port (it also vanishes once the camera is disconnected from the USB port).

when I run the command

```auto
v4l2-ctl -d /dev/video0 --list-formats-ext

```

, it shows the following output:

```auto
VIDIOC_QUERYCAP: failed: No such file or directory
/dev/video0: not a v4l2 node
nano@nano-desktop:~/Desktop/ca

```

it seems like the /dev/video0 is recognized, but not as a v4l2 driver. are there any commands to help me check if it is a v4l1 driver (rather than v4l2). please note that when running the command

```auto
gst-launch-1.0 v4l2src device="/dev/video0" name=e ! 'video/x-raw, width=640, height=480' ! videoconvert ! 'video/x-raw, width=640, height=480, format=(string)YUY2' ! xvimagesink

```

to use Gstreamer with v4l2, I get the following error:

```auto
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:e: Error getting capabilities for device '/dev/video0': It isn't a v4l2 driver. Check if it is a v4l1 driver.
Additional debug info:
v4l2_calls.c(94): gst_v4l2_get_capabilities (): /GstPipeline:pipeline0/GstV4l2Src:e:
system error: No such file or directory
Setting pipeline to NULL ...
Freeing pipeline ...

```

---

<div class="post-metadata">

**Author:** ![DaneLLL](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/danelll/32/14043_2.png) [@DaneLLL](https://forums.developer.nvidia.com/u/DaneLLL)\
**Post date:** [December 2, 2019, 7:15am UTC](https://forums.developer.nvidia.com/t/check-gstreamer-on-jetson-nano/108258/4 "2019-12-02T07:15:05Z")

</div>

Hi,  
Please check the suggestion in  
[https://devtalk.nvidia.com/default/topic/1067313/deepstream-sdk/usb-camera-is-not-detected-by-deepstream-sdk/post/5407424/#5407424](https://devtalk.nvidia.com/default/topic/1067313/deepstream-sdk/usb-camera-is-not-detected-by-deepstream-sdk/post/5407424/#5407424)

---

<div class="post-metadata">

**Author:** ![saqibbajwa991](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@saqibbajwa991](https://forums.developer.nvidia.com/u/saqibbajwa991)\
**Post date:** [September 14, 2021, 7:14am UTC](https://forums.developer.nvidia.com/t/check-gstreamer-on-jetson-nano/108258/5 "2021-09-14T07:14:03Z")

</div>

Hi!  
I’m working on running yolo on Tx2 Dev kit. I have installed all of requirements for yolo, OpenCV, CUDA, Cudnn.  
I’ve tested if the onboard camera’s working via gstreamer : gst-launch-1.0 nvarguscamerasrc ! nvvidconv ! xvimagesink  
It works properly.  
Then, I tried to run yolo by your code ./darknet detector demo cfg/coco.data cfg/yolo.cfg yolo.weights “nvcamerasrc ! video/x-raw(memory:NVMM), width=(int)1280, height=(int)720,format=(string)I420, framerate=(fraction)30/1 ! nvvidconv flip-method=0 ! video/x-raw, format=(string)BGRx ! videoconvert ! video/x-raw, format=(string)BGR ! appsink”  
The result is “Video-stream stopped!”  
How could i track the issue?  
Thank

---

<div class="post-metadata">

**Author:** ![kayccc](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/kayccc/32/14043_2.png) [@kayccc](https://forums.developer.nvidia.com/u/kayccc)\
**Post date:** [September 22, 2021, 5:32am UTC](https://forums.developer.nvidia.com/t/check-gstreamer-on-jetson-nano/108258/6 "2021-09-22T05:32:29Z")

</div>


