# How to read video stream from local video file or webcamera?

**URL:** <https://discourse.slicer.org/t/how-to-read-video-stream-from-local-video-file-or-webcamera/30508>\
**Category:** Development\
**Created:** [July 11, 2023, 2:21am UTC](https://discourse.slicer.org/t/how-to-read-video-stream-from-local-video-file-or-webcamera/30508 "2023-07-11T02:21:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jay1987](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jay1987/32/16183_2.png) [@jay1987](https://discourse.slicer.org/u/jay1987)\
**Post date:** [July 11, 2023, 2:21am UTC](https://discourse.slicer.org/t/how-to-read-video-stream-from-local-video-file-or-webcamera/30508/1 "2023-07-11T02:21:04Z")

</div>

my boss want to show live video in slicer 3d window via Video capture card and local video , I searched for information about the community and came to the conclusion that webcamera can be implemented using the Plus plugin (I’m not sure if it’s correct), but how do I implement local video streams?

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [July 13, 2023, 2:11am UTC](https://discourse.slicer.org/t/how-to-read-video-stream-from-local-video-file-or-webcamera/30508/2 "2023-07-13T02:11:15Z")

</div>

[SlicerIGSIO extension](https://github.com/IGSIO/SlicerIGSIO) adds compressed video file reading/writing/recording/replaying (using Sequences module).

There are a lot of legal complications around usage of video codecs, so we only support the unencumbered .mkv file format and VP9 codec.
