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

C / C++ / MFC

 
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 
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 
The code does not capture a video and I don't even know how you came to that conclusion. I would suggest you read the code and understand what is going on first. The code gets the current bitmap in the VMR renderer and ensures that it is in RGB24. pImage will end up as an array of RGBTRIPLEs that makes up the image. Note that he discards the bitmap header in GrabFrame() all you have is just the RGB24 data. If you want to create a HBITMAP with this, look up CreateDIBitmap on msdn.

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 
AnswerRe: Which one should I use? Pin
Laxman Auti16-Jun-06 22:25
Laxman Auti16-Jun-06 22:25 
GeneralRe: Which one should I use? Pin
PJ Arends16-Jun-06 22:28
professionalPJ Arends16-Jun-06 22: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.