13

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.

Nikunj Patel
  • 21,853
  • 23
  • 89
  • 133
  • possible duplicate of [Writing a Direct Show Source Filter](http://stackoverflow.com/questions/6413769/writing-a-direct-show-source-filter) – Roman R. Dec 19 '11 at 06:25

1 Answers1

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.

Community
  • 1
  • 1
Roman R.
  • 68,205
  • 6
  • 94
  • 158
  • http://stackoverflow.com/questions/6243891/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. – Nikunj Patel Dec 19 '11 at 06:45
  • See http://social.msdn.microsoft.com/Forums/is/windowsdirectshowdevelopment/thread/e0294135-239d-4f13-88f5-d73ca8ad7d36 – Roman R. Dec 19 '11 at 06:56
  • 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? – Nikunj Patel Dec 19 '11 at 07:34
  • 1
    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. – Roman R. Dec 19 '11 at 11:08