Directshow? question
-
Need to create a single instance of WMP with two video screens the same, one for default monitor and one for the second monitor (fullscreen). It was suggested that I would need to do this through DirectShow and specifically IFilterGraph. However I have never learned C. I usually program in VFP so my question is, what would be a good book or article for someoe to learn the basics of DirectShow allowing the creation of a control that I could use inside of a VFP program. TIA
-
Need to create a single instance of WMP with two video screens the same, one for default monitor and one for the second monitor (fullscreen). It was suggested that I would need to do this through DirectShow and specifically IFilterGraph. However I have never learned C. I usually program in VFP so my question is, what would be a good book or article for someoe to learn the basics of DirectShow allowing the creation of a control that I could use inside of a VFP program. TIA
If you do not understand C, then you are in a world of hurt with DirectShow. It requires a very solid understanding of C and COM. It also requires a good deal of persistence and savy just to get the Examples up and running cleanly. If you want to start a very long trek of learning, here you go: [1] You need to download the Platform SDK (e.g., I have PSDK-x86.exe). [2] You need to download the DirectX SDK (e.g., I have dxsdk_feb2007.exe). After doing [1] and [2] you should read the "Graphics and Multimedia > Direct Show" section from the Platform SDK Help. That is about a good an intro to Direct Show you will find; I don't know of a single reference that does more than re-iterate this intro. After that you should try to get the Examples working. If you make this far, then post again and I'll advise further. Hoss Fly
-
Need to create a single instance of WMP with two video screens the same, one for default monitor and one for the second monitor (fullscreen). It was suggested that I would need to do this through DirectShow and specifically IFilterGraph. However I have never learned C. I usually program in VFP so my question is, what would be a good book or article for someoe to learn the basics of DirectShow allowing the creation of a control that I could use inside of a VFP program. TIA
You can make using DirectShow much simpler than MAHorn makes it sound by following the instructions in the DierectX/DirectShow SDKs pertaining to setting up the build environment, building the directshow base classes (if you'll be writing filters), and building the examples. Good luck :) Mark
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
You can make using DirectShow much simpler than MAHorn makes it sound by following the instructions in the DierectX/DirectShow SDKs pertaining to setting up the build environment, building the directshow base classes (if you'll be writing filters), and building the examples. Good luck :) Mark
Mark Salsbery Microsoft MVP - Visual C++ :java:
To get the SDK and get it working [1] and [2] must be done - there is no SIMPLER way - period1. Graham also said "never learned C". DirectShow without knowing C (or COM) is impossible - period2. The Example are notoriously out of date. They also do not easily update across IDE versions. Someone with no C would have yet further problems. Do no make a tough chore sound easy and cause a great big 'ol waste of time and headache.
-
To get the SDK and get it working [1] and [2] must be done - there is no SIMPLER way - period1. Graham also said "never learned C". DirectShow without knowing C (or COM) is impossible - period2. The Example are notoriously out of date. They also do not easily update across IDE versions. Someone with no C would have yet further problems. Do no make a tough chore sound easy and cause a great big 'ol waste of time and headache.
VFP doesn't support COM? Bummer. Hence the "good luck".
Hoss Fly wrote:
Do no make a tough chore sound easy and cause a great big 'ol waste of time and headache.
You got it boss. I will mend my ways!
Mark Salsbery Microsoft MVP - Visual C++ :java: