# Opencv device enum rule

**URL:** <https://forum.opencv.org/t/opencv-device-enum-rule/8396>\
**Category:** C++\
**Tags:** windows, videoio\
**Created:** [April 14, 2022, 8:43am UTC](https://forum.opencv.org/t/opencv-device-enum-rule/8396 "2022-04-14T08:43:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Louis](https://avatars.discourse-cdn.com/v4/letter/l/ecb155/32.png) [@Louis](https://forum.opencv.org/u/Louis)\
**Post date:** [April 14, 2022, 8:43am UTC](https://forum.opencv.org/t/opencv-device-enum-rule/8396/1 "2022-04-14T08:43:22Z")

</div>

The port will be connected at the time of opening, and I would like to know the device enumeration rule in the directshow.
