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.
Roman R.
Here you go:
- DirectShow Source filter using Dekstop window as source
- Writing a Direct Show Source Filter
- Way to generate video from a bunch of images?
- Writing a virtual webcam?
- Virtual Webcam in C++
- Virtual Webcam Driver
More at MSDN Forums:
- How to render a byte array from socket/application using DirectShow?
- Injecting sample from samplegrabber into a graph
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.
来源:https://stackoverflow.com/questions/8557723/virtual-webcam-input-as-byte-stream