visual c++ - stop video preview using directshow in vc++ -
.. I just wrote the application for the preview show for the user and the capture graphor filter for capture image Image using Pin.PREEPE Pin User For Preview Video Only going good. But when I close the preview it has an effect on the capture capture capture image
I am using the control stream for stop preview.
pl Please help
To use a solution, you can add several graphs together and control them independently can do. In this way, you can get 3 graphs, which connects your source with two sinks:
source - (capture pin) - & gt; Capture Sync - (Preview Pin) - & gt; Preview Sync
For a preview:
Preview Source - & gt; Renderer
and to capture the other:
Capture Source - & gt; Sample Strike
Using GMFBridge, you can hook Capture Sync to Capture Source and Preview Sync to Preview Source. Once this happens, you can start or stop the preview graph without affecting the capture graph, and vice versa. Hopes
Comments
Post a Comment