Click here to Skip to main content
15,913,027 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CWnd::CreateControl Pin
Kurt _B27-Mar-06 5:11
Kurt _B27-Mar-06 5:11 
GeneralRe: CWnd::CreateControl Pin
CQub27-Mar-06 18:08
CQub27-Mar-06 18:08 
GeneralRe: CWnd::CreateControl Pin
Kurt _B28-Mar-06 2:05
Kurt _B28-Mar-06 2:05 
Question[Message Deleted] Pin
ddmcr27-Mar-06 2:00
ddmcr27-Mar-06 2:00 
AnswerRe: Allocating memory on the heap - limitations Pin
David Crow27-Mar-06 4:46
David Crow27-Mar-06 4:46 
AnswerRe: Allocating memory on the heap - limitations Pin
Shoaib Patel27-Mar-06 19:50
Shoaib Patel27-Mar-06 19:50 
GeneralRe: Allocating memory on the heap - limitations Pin
ThatsAlok27-Mar-06 23:15
ThatsAlok27-Mar-06 23:15 
QuestionAbout DirectX Video Capture Pin
crazymubashir27-Mar-06 1:48
crazymubashir27-Mar-06 1:48 
Cry | :((

Hey,

I am having trouble capturing video from my pc cammera. The directx SDK
directshow sample "Play Cap" have developed my previewing skills. But capturing is not going so well. In the DX9 Book it is said that just by making some minor changes in the ICaptureBuilderGraph2::RenderStream() we developers be able to capture live video. But thats not happening. In the
"Play Cap" sample code when i do this minor changes as told it raises an error.

<br />
//After g_pCapture->AddFilter(pSrcFilter);<br />
<br />
IBaseFilter *pMux;<br />
<br />
hr = g_Capture->SetOutPutFileName(&MEDIASUBTYPE_Avi,<br />
                                  L"C:\\Test.avi",<br />
                                  &pMux,<br />
                                  NULL);<br />
<br />
hr = g_Capture->RenderStream(&PIN_CATEGORY_CAPTURE, &MEDIATYPE_Avi,<br />
                             pSrcFilter, NULL, pMux /*NULL*/);<br />
<br />
pMux->Release();<br />
pSrcFilter->Release();<br />
<br />
hr = setupVideoWindow(); // Raises an error at the first line<br />
<br />
// if i leave the renderstream last variable NULL then the program runs<br />
// succesfully. But capturing doesn't takes place.<br />

AnswerRe: About DirectX Video Capture Pin
Justin Tay27-Mar-06 1:58
Justin Tay27-Mar-06 1:58 
QuestionRe: About DirectX Video Capture Pin
crazymubashir27-Mar-06 2:46
crazymubashir27-Mar-06 2:46 
AnswerRe: About DirectX Video Capture Pin
Justin Tay27-Mar-06 3:04
Justin Tay27-Mar-06 3:04 
GeneralRe: About DirectX Video Capture Pin
crazymubashir28-Mar-06 1:01
crazymubashir28-Mar-06 1:01 
GeneralRe: About DirectX Video Capture Pin
Justin Tay28-Mar-06 23:49
Justin Tay28-Mar-06 23:49 
GeneralRe: About DirectX Video Capture Pin
crazymubashir4-Apr-06 21:27
crazymubashir4-Apr-06 21:27 
AnswerRe: About DirectX Video Capture Pin
aloha181226-Apr-06 0:39
aloha181226-Apr-06 0:39 
QuestionMultithreading Pin
Waldermort27-Mar-06 1:36
Waldermort27-Mar-06 1:36 
AnswerRe: Multithreading Pin
sunit527-Mar-06 1:48
sunit527-Mar-06 1:48 
AnswerRe: Multithreading Pin
Justin Tay27-Mar-06 1:51
Justin Tay27-Mar-06 1:51 
GeneralRe: Multithreading Pin
Waldermort27-Mar-06 2:10
Waldermort27-Mar-06 2:10 
GeneralRe: Multithreading Pin
Waldermort27-Mar-06 2:17
Waldermort27-Mar-06 2:17 
GeneralRe: Multithreading Pin
Justin Tay27-Mar-06 2:33
Justin Tay27-Mar-06 2:33 
GeneralRe: Multithreading Pin
David Crow27-Mar-06 4:53
David Crow27-Mar-06 4:53 
GeneralRe: Multithreading Pin
Waldermort27-Mar-06 18:04
Waldermort27-Mar-06 18:04 
QuestionRe: Multithreading Pin
David Crow28-Mar-06 2:29
David Crow28-Mar-06 2:29 
AnswerRe: Multithreading Pin
El Corazon27-Mar-06 2:14
El Corazon27-Mar-06 2:14 

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.