Capture DV to File
[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]
This section describes how to capture digital video (DV) from a DV camera or from a VTR tape.
- Create an instance of the MSDV Driver filter. For more information, see Selecting a Capture Device.
- Initialize the Capture Graph Builder, as described in About the Capture Graph Builder.
- Build the capture graph, depending on the target file type:
- Run the graph.
Capturing from a VTR tape works just like capturing live video from the camera, except that you must play the tape, as described in Controlling a DV Camcorder. To avoid losing any frames, run the graph first, and then play the tape. When you are done transmitting, stop the tape first and then stop the graph.
Note
The camcorder must be in VTR mode. See Device Mode.
Related topics