# openCV and capture with ezcap device

**URL:** <https://forum.opencv.org/t/opencv-and-capture-with-ezcap-device/10109>\
**Category:** Uncategorized\
**Created:** [September 8, 2022, 7:03am UTC](https://forum.opencv.org/t/opencv-and-capture-with-ezcap-device/10109 "2022-09-08T07:03:56Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![karavision](https://avatars.discourse-cdn.com/v4/letter/k/ed655f/32.png) [@karavision](https://forum.opencv.org/u/karavision)\
**Post date:** [September 8, 2022, 7:03am UTC](https://forum.opencv.org/t/opencv-and-capture-with-ezcap-device/10109/1 "2022-09-08T07:03:56Z")

</div>

Hello! Need to recognize and use video stream from ezcap device.  
How can I do the same?

---

<div class="post-metadata">

**Author:** ![crackwitz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/crackwitz/32/14_2.png) [@crackwitz](https://forum.opencv.org/u/crackwitz)\
**Post date:** [September 8, 2022, 10:40am UTC](https://forum.opencv.org/t/opencv-and-capture-with-ezcap-device/10109/2 "2022-09-08T10:40:07Z")

</div>

what have you tried?

---

<div class="post-metadata">

**Author:** ![karavision](https://avatars.discourse-cdn.com/v4/letter/k/ed655f/32.png) [@karavision](https://forum.opencv.org/u/karavision)\
**Post date:** [September 8, 2022, 1:02pm UTC](https://forum.opencv.org/t/opencv-and-capture-with-ezcap-device/10109/3 "2022-09-08T13:02:01Z")

</div>

Tried to google a lot, but still no a slight clue for windows and Opencv

---

<div class="post-metadata">

**Author:** ![crackwitz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/crackwitz/32/14_2.png) [@crackwitz](https://forum.opencv.org/u/crackwitz)\
**Post date:** [September 8, 2022, 1:45pm UTC](https://forum.opencv.org/t/opencv-and-capture-with-ezcap-device/10109/4 "2022-09-08T13:45:53Z")

</div>

what exact terms did you google? what were the top results?

so you’re telling me you did find example code for reading and displaying camera video _in the official opencv docs_? **did that work for you? if not, why not?** show me what you found. I can make this as hard or easy as it needs to be

---

<div class="post-metadata">

**Author:** ![karavision](https://avatars.discourse-cdn.com/v4/letter/k/ed655f/32.png) [@karavision](https://forum.opencv.org/u/karavision)\
**Post date:** [September 9, 2022, 11:10am UTC](https://forum.opencv.org/t/opencv-and-capture-with-ezcap-device/10109/5 "2022-09-09T11:10:12Z")

</div>

ezcap opencv site:stackoverflow.com  
ezcap videocapture

There is not code at all, folks complaining about blue screens and crashes.  
I do have some working code, capturing from my screen, but I dont know how to adapt it to capture from ezcap’ed device screen

Many thanks for your kind advice

---

<div class="post-metadata">

**Author:** ![karavision](https://avatars.discourse-cdn.com/v4/letter/k/ed655f/32.png) [@karavision](https://forum.opencv.org/u/karavision)\
**Post date:** [September 9, 2022, 11:35am UTC](https://forum.opencv.org/t/opencv-and-capture-with-ezcap-device/10109/6 "2022-09-09T11:35:36Z")

</div>

Most accurate question I can have now:  
what is the name for captured video stream from ezcap device ?

---

<div class="post-metadata">

**Author:** ![crackwitz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/crackwitz/32/14_2.png) [@crackwitz](https://forum.opencv.org/u/crackwitz)\
**Post date:** [September 9, 2022, 11:37am UTC](https://forum.opencv.org/t/opencv-and-capture-with-ezcap-device/10109/7 "2022-09-09T11:37:00Z")

</div>

what is this “ezcap” anyway? why do you think you need a solution _specific_ to that manufacturer? are their devices _special_ in any way? don’t they support standard drivers? can you view the video stream from VLC or your operating system’s “camera” app?

if you contact the manufacturer, what do they say?

---

<div class="post-metadata">

**Author:** ![karavision](https://avatars.discourse-cdn.com/v4/letter/k/ed655f/32.png) [@karavision](https://forum.opencv.org/u/karavision)\
**Post date:** [October 3, 2023, 12:45pm UTC](https://forum.opencv.org/t/opencv-and-capture-with-ezcap-device/10109/8 "2023-10-03T12:45:11Z")

</div>

crackwitz, thank you for reply, I made it work, needed to set some permissions to my /dev/ device, then I could extract Cv mat itself
