c++ and directshow
-
hi every one this is my first post here in fact i'm confused little bit cause i got to finish a project that i haven't started yet i need to capture image with directshow in fact i haven't understand directshow very well it's questions and pin ... difficult to grasp for the first time . the second point if i need a window in which i have to put my components should i create it by hand (from scratch by code ) IVideoWindow ?? and what about list & button ??
let me know
-
hi every one this is my first post here in fact i'm confused little bit cause i got to finish a project that i haven't started yet i need to capture image with directshow in fact i haven't understand directshow very well it's questions and pin ... difficult to grasp for the first time . the second point if i need a window in which i have to put my components should i create it by hand (from scratch by code ) IVideoWindow ?? and what about list & button ??
let me know
mexmerou wrote:
i haven't understand directshow very well
There is nothing much we can offer except to study the documentation[^] and to use Google to search for samples and tutorials.
mexmerou wrote:
the second point
... is not very clear, perhaps you could give some more detail about how your application will be built.
One of these days I'm going to think of a really clever signature.
-
hi every one this is my first post here in fact i'm confused little bit cause i got to finish a project that i haven't started yet i need to capture image with directshow in fact i haven't understand directshow very well it's questions and pin ... difficult to grasp for the first time . the second point if i need a window in which i have to put my components should i create it by hand (from scratch by code ) IVideoWindow ?? and what about list & button ??
let me know
DShow isn't as intimidating as it looks You create an IFilterGraph, add the filters you want, then create a ICaptureGraphBuilder2, point it at the IFilterGraph, and ask it to RenderStream You don't really have to worry about pins unless you intend to write your own source or transforms As regards IVideoWindow, yes, create your own child window and point IVideoWindow at it There are numerous examples kicking around
-
hi every one this is my first post here in fact i'm confused little bit cause i got to finish a project that i haven't started yet i need to capture image with directshow in fact i haven't understand directshow very well it's questions and pin ... difficult to grasp for the first time . the second point if i need a window in which i have to put my components should i create it by hand (from scratch by code ) IVideoWindow ?? and what about list & button ??
let me know
Take a look at GraphEdit tool, where you can drag and drop several filters and test it. Or you can just drag and drop a Avi file into graphedit, immediately it will show the filters and connections. Also take a look at sample direct show filters (comes with dxsdk) . Start with simple BallFilter http://msdn.microsoft.com/en-us/library/windows/desktop/dd318194(v=vs.85).aspx[^] Hopes this helps jkchan http://cgmath.blogspot.com[^]
If u can Dream... U can do it http://cgmath.blogspot.com/