Microsoft DirectX 8.1 (C++) |
An analog TV graph is simply one type of WDM video capture graph. It can be built using the capture graph builder, as discussed in the article How to Write a Capture Application. The basic principle is to start with the capture filter and then add the downstream filters for each pin whose data you wish to render or capture. The upstream filters are added last.
The PlayCap Sample demonstrates how to make a basic preview graph. You can use this code as the starting point for a simple analog TV graph. The AmCap Sample shows how to provide additional features, such as capture and closed captioning. (However, AMCap does not demonstrate how to pull in other VBI-related filters for capturing NABTS or teletext data.)