# Failure to use gst-launch-1.0 nvarguscamerasrc to capture image

**URL:** https://forums.developer.nvidia.com/t/failure-to-use-gst-launch-1-0-nvarguscamerasrc-to-capture-image/286500
**Category:** Jetson Orin NX
**Tags:** camera
**Created:** [March 19, 2024, 6:26am UTC](https://forums.developer.nvidia.com/t/failure-to-use-gst-launch-1-0-nvarguscamerasrc-to-capture-image/286500 "2024-03-19T06:26:43Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![JerryChang](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/jerrychang/32/14043_2.png) [@JerryChang](https://forums.developer.nvidia.com/u/JerryChang)
#### Post date: [March 20, 2024, 2:09am UTC](https://forums.developer.nvidia.com/t/failure-to-use-gst-launch-1-0-nvarguscamerasrc-to-capture-image/286500/5 "2024-03-20T02:09:37Z")

</div>

hello 1075471989,

I rarely using `nvdrmvideosink`, you may try adding `nvvidconv` for converting the formats for testing.  
for example,  
`$ gst-launch-1.0 nvarguscamerasrc ! 'video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1' nvvidconv ! 'video/x-raw(memory:NVMM), format=(string)I420' ! queue ! nvdrmvideosink -e`

> [@1075471989](#):
>
> make a pipeline for cv2.VideoCapture,

you may see-also [Topic 140648](https://forums.developer.nvidia.com/t/displaying-to-the-screen-with-opencv-and-gstreamer/140648/9) for samples using `cv2.VideoCapture`

---

_[View the full topic](https://forums.developer.nvidia.com/t/failure-to-use-gst-launch-1-0-nvarguscamerasrc-to-capture-image/286500)._
