Click here to Skip to main content
15,902,299 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalreal time Pin
Michae_geffen17-Aug-04 19:26
Michae_geffen17-Aug-04 19:26 
GeneralRe: real time Pin
Ryan Binns17-Aug-04 19:38
Ryan Binns17-Aug-04 19:38 
GeneralRe: real time Pin
Bob Stanneveld18-Aug-04 3:09
Bob Stanneveld18-Aug-04 3:09 
GeneralRe: real time Pin
Ryan Binns18-Aug-04 3:26
Ryan Binns18-Aug-04 3:26 
GeneralRe: real time Pin
Bob Stanneveld18-Aug-04 7:21
Bob Stanneveld18-Aug-04 7:21 
GeneralRe: real time Pin
Michael Dunn17-Aug-04 21:03
sitebuilderMichael Dunn17-Aug-04 21:03 
QuestionHow to Record TV into PVR Pin
gao200417-Aug-04 16:42
gao200417-Aug-04 16:42 
AnswerRe: How to Record TV into PVR Pin
Antti Keskinen18-Aug-04 0:51
Antti Keskinen18-Aug-04 0:51 
The answer is DirectShow.

All modern capture cards feature a DirectShow filter that can supply you with raw video data from the capture card. The properties of the filter determine what else it can do. Some can supply you with still-images, for example.

Capturing video with DirectShow is easy. You need to build a capture filter chain or, as they are also called, a capture graph. Filter chains in DS are a set of filters connected adjaciently that process the video data in a pass-through manner. An example of a capture graph is as follows:

- The video source, in my example, Logitech QuickCam 4000 Pro video capture filter
- The encoding filter, here, the XViD video compressor filter
- A video multiplexer, here, the AVI Mux multiplexing filter
- And the file writer filter.

If you wish to try this out, you can download the DirectX 9.0 SDK. This SDK also contains a VERY handy set of tools, from which the most interesting is GraphEdit. This program allows you to build any kind of filter chains using any filters available on your system. So, if the video card has it's drivers installed properly, you should find it's capture filter, in GraphEdit, from "Graph -> Insert Filters... -> Video Capture Sources -> Your PCI TV Card brand here"

After you have inserted this filter, right-click on it's 'Output' or 'Capture' pin, and select 'Render Pin'. This will automatically build a filter chain that can display a live video feed from the filter in a small window.

In order to learn how to build filter chains, you should consult the DirectX SDK documentation. I myself am in the process of writing an article on video capture, but it won't be ready until after a few or more days.

-Antti Keskinen

----------------------------------------------
The definition of impossible is strictly dependant
on what we think is possible.
GeneralRe: How to Record TV into PVR Pin
gao200418-Aug-04 15:47
gao200418-Aug-04 15:47 
GeneralRe: How to Record TV into PVR Pin
Antti Keskinen18-Aug-04 23:29
Antti Keskinen18-Aug-04 23:29 
AnswerRe: How to Record TV into PVR Pin
Henry miller18-Aug-04 4:16
Henry miller18-Aug-04 4:16 
GeneralRe: How to Record TV into PVR Pin
gao200418-Aug-04 15:49
gao200418-Aug-04 15:49 
GeneralWhich Comes First: The C or The C++ Pin
---Mark---17-Aug-04 16:12
---Mark---17-Aug-04 16:12 
GeneralRe: Which Comes First: The C or The C++ Pin
Nemanja Trifunovic17-Aug-04 16:26
Nemanja Trifunovic17-Aug-04 16:26 
GeneralRe: Which Comes First: The C or The C++ Pin
Henry miller18-Aug-04 4:24
Henry miller18-Aug-04 4:24 
GeneralNeed help! Pin
donew17-Aug-04 16:03
donew17-Aug-04 16:03 
GeneralRe: Need help! Pin
donew17-Aug-04 16:10
donew17-Aug-04 16:10 
GeneralRe: Need help! Pin
Ryan Binns17-Aug-04 19:04
Ryan Binns17-Aug-04 19:04 
GeneralRe: Need help! Pin
donew20-Aug-04 14:10
donew20-Aug-04 14:10 
Generalpointer to struct Pin
skullnite17-Aug-04 15:29
skullnite17-Aug-04 15:29 
GeneralRe: pointer to struct Pin
Indrawati17-Aug-04 15:34
Indrawati17-Aug-04 15:34 
GeneralRe: pointer to struct Pin
Maximilien17-Aug-04 16:01
Maximilien17-Aug-04 16:01 
Questionbutton/icon on someone else's window? Pin
Peter Weyzen17-Aug-04 13:51
Peter Weyzen17-Aug-04 13:51 
AnswerRe: button/icon on someone else's window? Pin
Ravi Bhavnani17-Aug-04 16:08
professionalRavi Bhavnani17-Aug-04 16:08 
GeneralProblem using the "pow" function Pin
crushinghellhammer17-Aug-04 12:40
crushinghellhammer17-Aug-04 12:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.