# How to capture video from a WiFi/IP Camera on Windows 10 in C++

**URL:** <https://forum.opencv.org/t/how-to-capture-video-from-a-wifi-ip-camera-on-windows-10-in-c/7833>\
**Category:** C++\
**Tags:** videoio, espressif\
**Created:** [March 6, 2022, 9:15pm UTC](https://forum.opencv.org/t/how-to-capture-video-from-a-wifi-ip-camera-on-windows-10-in-c/7833 "2022-03-06T21:15:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adam\_S](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/adam_s/32/4669_2.png) [@Adam\_S](https://forum.opencv.org/u/Adam_S)\
**Post date:** [March 6, 2022, 9:15pm UTC](https://forum.opencv.org/t/how-to-capture-video-from-a-wifi-ip-camera-on-windows-10-in-c/7833/1 "2022-03-06T21:15:57Z")

</div>

New to OpenCV, I’ve been following youtube tutorials to get a project up and running. As per the title, my goal is to capture video from a WiFi connected camera on Windows 10 in C++. [Specifically this camera from Freenove](https://www.amazon.com/Freenove-ESP32-WROVER-Bluetooth-Compatible-Tutorials/dp/B09BC5CNHM/ref=sr_1_3?crid=1OYMN5L2ZN3IJ&keywords=freenove+esp32+wrover&qid=1646600910&sprefix=freenove+esp32+wrover%2Caps%2C107&sr=8-3).

I’ve got the camera working and can view the video feed by typing in an IP address in my browser and I’ve successfully captured video from a USB webcam on my desktop in OpenCV. What I can’t seem to do is capture the video from the IP of the Freenove WiFi camera in OpenCV. Any assistance would be greatly appreciated.

---

<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:** [March 7, 2022, 10:38am UTC](https://forum.opencv.org/t/how-to-capture-video-from-a-wifi-ip-camera-on-windows-10-in-c/7833/2 "2022-03-07T10:38:56Z")

</div>

you’d have to know how that stream is done, i.e. figure out what software runs on that thing, _or_ inspect that web page it serves, and find the URL for the video itself.

---

<div class="post-metadata">

**Author:** ![Adam\_S](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/adam_s/32/4669_2.png) [@Adam\_S](https://forum.opencv.org/u/Adam_S)\
**Post date:** [March 7, 2022, 6:03pm UTC](https://forum.opencv.org/t/how-to-capture-video-from-a-wifi-ip-camera-on-windows-10-in-c/7833/3 "2022-03-07T18:03:01Z")

</div>

Good thinking, I inspected the web page and got a URL from the video that actually works in OpenCV. Thanks!
