Click here to Skip to main content
15,899,679 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Capturing Video Surface Pin
Chiew Heng Wah4-Aug-03 1:04
Chiew Heng Wah4-Aug-03 1:04 
GeneralRe: Capturing Video Surface Pin
Kochise4-Aug-03 2:02
Kochise4-Aug-03 2:02 
GeneralRe: Capturing Video Surface Pin
Chiew Heng Wah4-Aug-03 22:07
Chiew Heng Wah4-Aug-03 22:07 
GeneralRe: Capturing Video Surface Pin
Member 161799930-May-05 4:53
Member 161799930-May-05 4:53 
QuestionHow to capture the file name while doing saving process of a file Pin
tha_siva3-Aug-03 20:01
tha_siva3-Aug-03 20:01 
GeneralBitmap constructor Pin
devvvy3-Aug-03 19:47
devvvy3-Aug-03 19:47 
GeneralLooking for graphics app shell Pin
Ken Turkowki3-Aug-03 19:45
Ken Turkowki3-Aug-03 19:45 
GeneralRe: Looking for graphics app shell Pin
Andrew Walker4-Aug-03 1:53
Andrew Walker4-Aug-03 1:53 
DirectShow which is a part of DirectX might be what you're after. It offers the ability to write 'transform filters' to operate on a media sample, which might be video / audio or something else. The learning overhead for DirectShow is quite high (in my opinion, but I'm only a university student Wink | ;) ).

It helps if you already have a good grasp of COM, and are prepared to sift through a fair bit of documentation, a muddle of macros (at times) and the sample applications which come with the DirectX API, available from Microsoft. The sample apps are probably the only viable place to start, you might find that you don't need to change too much code to get you running quite quickly. The samples are installed to C:\DXSDK\Samples\C++\DirectShow on my machine after a default install.

DirectShow includes GraphEdit a tool for combining transform filters into 'filter graphs' (source -> filter -> renderer pipelines). If you want to get going fast, copy and paste (changing the GUID's of course) from one of the sample filters, modifying the transform method and look at the output in GraphEdit. You can get the dialogs end of the application running (to a certain extent) by using property sheets. I found one of the best sources on how to set up custom property sheets that can be called from GraphEdit was in the OpenCV (Open Computer Vision) library (available on Source Forge) which contains a 'CamShift' DirectShow image processing filter, amongst heaps of other cool stuff.

Getting up and running in your own application can be a bit more challenging, one place to start is with the SampleGrabber filter and/or the playcap capture sample. The benefit of going this way allows you all the flexibility of choosing your windowing library (WTL, MFC or raw Win32) for all the really complex GUI stuff.




If you can keep you head when all about you
Are losing theirs and blaming it on you;
If you can dream - and not make dreams your master;
If you can think - and not make thoughts you aim;
Yours is the Earth and everything that's in it.

Rudyard Kipling

GeneralRetrieving LAN ipaddress range programmatically Pin
haritadala3-Aug-03 19:04
haritadala3-Aug-03 19:04 
GeneralRe: Retrieving LAN ipaddress range programmatically Pin
geo_m3-Aug-03 21:16
geo_m3-Aug-03 21:16 
GeneralCreate Header & Source Files Pin
yitzhak3-Aug-03 18:46
yitzhak3-Aug-03 18:46 
GeneralRe: Create Header & Source Files Pin
Frank K3-Aug-03 19:52
Frank K3-Aug-03 19:52 
GeneralRe: Create Header & Source Files Pin
Toni783-Aug-03 19:54
Toni783-Aug-03 19:54 
GeneralVC++ method to get List of Pluggins installed Pin
RaajaOfSelf3-Aug-03 18:43
RaajaOfSelf3-Aug-03 18:43 
GeneralXML access Pin
deanoA3-Aug-03 17:31
deanoA3-Aug-03 17:31 
GeneralRe: XML access Pin
Ravi Bhavnani3-Aug-03 19:40
professionalRavi Bhavnani3-Aug-03 19:40 
QuestionWhy there are memory leaks? Pin
EastDragon3-Aug-03 16:48
EastDragon3-Aug-03 16:48 
AnswerRe: Why there are memory leaks? Pin
Brian Shifrin3-Aug-03 17:05
Brian Shifrin3-Aug-03 17:05 
AnswerRe: Why there are memory leaks? Pin
Joe Woodbury3-Aug-03 22:14
professionalJoe Woodbury3-Aug-03 22:14 
GeneralOverriding "Window | Close All" Pin
Ravi Bhavnani3-Aug-03 16:39
professionalRavi Bhavnani3-Aug-03 16:39 
GeneralRe: Overriding "Window | Close All" Pin
Neville Franks4-Aug-03 0:26
Neville Franks4-Aug-03 0:26 
GeneralRe: Overriding "Window | Close All" Pin
Ravi Bhavnani4-Aug-03 3:27
professionalRavi Bhavnani4-Aug-03 3:27 
GeneralRe: Overriding "Window | Close All" Pin
Neville Franks4-Aug-03 3:35
Neville Franks4-Aug-03 3:35 
GeneralRe: Overriding "Window | Close All" Pin
Ravi Bhavnani5-Aug-03 1:27
professionalRavi Bhavnani5-Aug-03 1:27 
Generalreseditor Pin
devvvy3-Aug-03 16:28
devvvy3-Aug-03 16:28 

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.