Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Virtual webcam input as byte stream

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.

like image 918
Nikunj Patel Avatar asked Dec 19 '11 06:12

Nikunj Patel


1 Answers

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.

like image 140
Roman R. Avatar answered Oct 07 '22 16:10

Roman R.