Virtual webcam input as byte stream
Asked Answered
D

1

14

I dont have webcam. And I want to implement virtual webcam (or fake device driver may be) that would work as normal webcam(virtual webcam) and takes memory stream or bytes as input. How can I develop this? Can DirectShow be helpful in this? I dont know anything. Please help

i have found that there are many software that takes video file as input but I want to have byte stream as input.

Diatom answered 19/12, 2011 at 6:8 Comment(1)
possible duplicate of Writing a Direct Show Source FilterWillis
W
28

Here you go:

More at MSDN Forums:

If you prefer to skip programming and to just install a virtual camera that you don't happen to have available, you can install a virtual DirectShow camera backed by an IP camera put on Internet and continue your DirectShow experience from there.

Willis answered 19/12, 2011 at 6:23 Comment(4)
https://mcmap.net/q/412056/-writing-a-virtual-webcam seemed to be clearer but I dont get the idea from where to start. I mean What shall I do to write DirectShow Filter that takes bytes as input and gives me output as webcam which later would be listed as normal webcam in any software for video capturing device. Please elaborate it.Diatom
See social.msdn.microsoft.com/Forums/is/…Willis
I would use DirectShow.NET and then try to call proper functions and pass the args and then maybe use graphedit and register the DLL. am i right?Diatom
Please do research on the subject, it has discussed multiple times. You will need to write a filter in C++, or use a third party filter as a proxy in order to push your data into DirectShow pipeline.Willis

© 2022 - 2024 — McMap. All rights reserved.