# Unable to open Camera

**URL:** <https://forums.developer.nvidia.com/t/unable-to-open-camera/185207>\
**Category:** Jetson Nano\
**Tags:** camera\
**Created:** [July 30, 2021, 11:40am UTC](https://forums.developer.nvidia.com/t/unable-to-open-camera/185207 "2021-07-30T11:40:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![abhilashsl](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@abhilashsl](https://forums.developer.nvidia.com/u/abhilashsl)\
**Post date:** [July 30, 2021, 11:40am UTC](https://forums.developer.nvidia.com/t/unable-to-open-camera/185207/1 "2021-07-30T11:40:00Z")

</div>

I’ve plugged the MIPI CSI camera but nothing comes up when I open the camera.The output getting when open the camera was:

nvarguscamerasrc ! video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1 ! nvvidconv flip-method=0 ! video/x-raw, width=(int)1280, height=(int)720, format=(string)BGRx ! videoconvert ! video/x-raw, format=(string)BGR ! appsink

but when gst-launch-1.0 command give the camera opened.

---

<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:** [July 31, 2021, 3:48am UTC](https://forums.developer.nvidia.com/t/unable-to-open-camera/185207/2 "2021-07-31T03:48:29Z")

</div>

Hi,  
Do you mean it the string works in _gst-launch-1.0_ command, but cannot work in _cv2.VideoCapture()_?

Please share your release version for reference.

---

<div class="post-metadata">

**Author:** ![abhilashsl](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@abhilashsl](https://forums.developer.nvidia.com/u/abhilashsl)\
**Post date:** [August 2, 2021, 5:37am UTC](https://forums.developer.nvidia.com/t/unable-to-open-camera/185207/3 "2021-08-02T05:37:09Z")

</div>

Hi

Yes,when cv2.videocapture() use it shows the above result only.

---

<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:** [August 3, 2021, 8:01am UTC](https://forums.developer.nvidia.com/t/unable-to-open-camera/185207/4 "2021-08-03T08:01:46Z")

</div>

hello abhilashsl,

dose there shows any failure from kernel side? please execute `$ dmesg --follow`, to gather kernel logs while you enable camera stream.  
please also check release tag for the L4T version you’re working with, i.e. `$ cat /etc/nv_tegra_release`.  
thanks

---

<div class="post-metadata">

**Author:** ![IRyo](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/iryo/32/260622_2.png) [@IRyo](https://forums.developer.nvidia.com/u/IRyo)\
**Post date:** [August 3, 2021, 12:07pm UTC](https://forums.developer.nvidia.com/t/unable-to-open-camera/185207/5 "2021-08-03T12:07:01Z")

</div>

> [@abhilashsl](#):
>
> SI camera but n

Did you run it with python (Python2 version) or python3?

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/system/32/68080_2.png) [@system](https://forums.developer.nvidia.com/u/system)\
**Post date:** [October 2, 2021, 12:07pm UTC](https://forums.developer.nvidia.com/t/unable-to-open-camera/185207/6 "2021-10-02T12:07:13Z")

</div>

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