How do I present a webcam filter instead of a video file? I'm looking at vmr9compositor examples included in eyewitness SDK. It provides a video file I want to stream from webcam in the feed. It should look possible, but I do not have much information on DirectShow.
This method currently uses the call:
hr = g_graph-> RenderFile (PFileName, NULL);
Seeing the playcap instance in the SDK which can display the webcam feed in the window, I think its use
hr = g_pCapture-> Gt; Renderstream (& amp; pin_CATEGORY_PREVIEW, & amp; MEDIATYPE_Video, pSrcFilter, NULL, NULL));
Windows XP, Visual Studio 2008 C ++
Tell webcam (video capture) sources and explain here Create a source filter using the techniques gone:
From there, you add it as a source filter in your graph.
More details on video capture here with the dishes.
Comments
Post a Comment