Click here to Skip to main content
15,904,822 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Simultaneous Previewing & Video Capture using DirectShow Pin
aloha181217-Jun-06 22:01
aloha181217-Jun-06 22:01 
GeneralRe: Simultaneous Previewing & Video Capture using DirectShow Pin
Justin Tay18-Jun-06 0:00
Justin Tay18-Jun-06 0:00 
GeneralRe: Simultaneous Previewing & Video Capture using DirectShow Pin
aloha181218-Jun-06 16:51
aloha181218-Jun-06 16:51 
GeneralRe: Simultaneous Previewing & Video Capture using DirectShow Pin
Justin Tay18-Jun-06 18:07
Justin Tay18-Jun-06 18:07 
GeneralRe: Simultaneous Previewing & Video Capture using DirectShow Pin
aloha181218-Jun-06 18:28
aloha181218-Jun-06 18:28 
GeneralRe: Simultaneous Previewing & Video Capture using DirectShow Pin
Justin Tay18-Jun-06 18:41
Justin Tay18-Jun-06 18:41 
GeneralRe: Simultaneous Previewing & Video Capture using DirectShow Pin
aloha181218-Jun-06 18:55
aloha181218-Jun-06 18:55 
GeneralRe: Simultaneous Previewing & Video Capture using DirectShow Pin
Justin Tay18-Jun-06 19:13
Justin Tay18-Jun-06 19:13 
You still aren't answering my questions. And I still don't know what the problem is nor what you are trying to do.

The article presents a very unconventional way of capturing an image off a filter graph, and requires that a VMR video renderer be used. Depending on what you need, and what you can assume of the system it will be installed in, this may or may not be a good technique to use.

Ok how about this, you copy the OnTimer handler and put it in your handler.

DWORD dwSize;
dwSize=this->m_VMRCap.GrabFrame();
if(dwSize>0)
{
  BYTE *pImage;
  this->m_VMRCap.GetFrame (&pImage);
  this->m_ctrlCaptureIMG .ShowImage (pImage);
}

GeneralRe: Simultaneous Previewing & Video Capture using DirectShow [modified] Pin
aloha181219-Jun-06 20:39
aloha181219-Jun-06 20:39 
GeneralRe: Simultaneous Previewing & Video Capture using DirectShow Pin
Justin Tay19-Jun-06 22:53
Justin Tay19-Jun-06 22:53 
AnswerRe: Simultaneous Previewing & Video Capture using DirectShow Pin
Christian Graus16-Jun-06 23:22
protectorChristian Graus16-Jun-06 23:22 
GeneralRe: Simultaneous Previewing & Video Capture using DirectShow Pin
Justin Tay16-Jun-06 23:27
Justin Tay16-Jun-06 23:27 
GeneralRe: Simultaneous Previewing & Video Capture using DirectShow Pin
Christian Graus16-Jun-06 23:56
protectorChristian Graus16-Jun-06 23:56 
GeneralRe: Simultaneous Previewing & Video Capture using DirectShow Pin
aloha181217-Jun-06 22:06
aloha181217-Jun-06 22:06 
GeneralRe: Simultaneous Previewing & Video Capture using DirectShow Pin
Christian Graus18-Jun-06 10:23
protectorChristian Graus18-Jun-06 10:23 
GeneralRe: Simultaneous Previewing & Video Capture using DirectShow Pin
aloha181218-Jun-06 17:05
aloha181218-Jun-06 17:05 
GeneralRe: Simultaneous Previewing & Video Capture using DirectShow Pin
Christian Graus18-Jun-06 17:10
protectorChristian Graus18-Jun-06 17:10 
GeneralRe: Simultaneous Previewing & Video Capture using DirectShow Pin
aloha181218-Jun-06 17:59
aloha181218-Jun-06 17:59 
GeneralRe: Simultaneous Previewing & Video Capture using DirectShow Pin
Christian Graus18-Jun-06 18:12
protectorChristian Graus18-Jun-06 18:12 
GeneralRe: Simultaneous Previewing & Video Capture using DirectShow Pin
aloha181218-Jun-06 18:31
aloha181218-Jun-06 18:31 
QuestionWhich one should I use? Pin
cgsp_wei16-Jun-06 21:50
cgsp_wei16-Jun-06 21:50 
AnswerRe: Which one should I use? Pin
_AnsHUMAN_ 16-Jun-06 22:15
_AnsHUMAN_ 16-Jun-06 22:15 
GeneralRe: Which one should I use? Pin
ThatsAlok16-Jun-06 22:44
ThatsAlok16-Jun-06 22:44 
AnswerRe: Which one should I use? Pin
PJ Arends16-Jun-06 22:19
professionalPJ Arends16-Jun-06 22:19 
AnswerRe: Which one should I use? Pin
ThatsAlok16-Jun-06 22:22
ThatsAlok16-Jun-06 22:22 

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.