 |
|
 |
HI,
I need help with my errors:
--------------------Configuration: LiveVideo - Win32 Debug-------------------- Compiling... CaptureVideo.cpp c:\documents and settings\dillianwong\my documents\visual v6\codeproject\livevideo_demo\capturevideo.h(114) : error C2143: syntax error : missing ';' before '*' c:\documents and settings\dillianwong\my documents\visual v6\codeproject\livevideo_demo\capturevideo.h(114) : error C2501: 'ICaptureGraphBuilder2' : missing storage-class or type specifiers c:\documents and settings\dillianwong\my documents\visual v6\codeproject\livevideo_demo\capturevideo.h(114) : error C2501: 'm_pCapture' : missing storage-class or type specifiers c:\documents and settings\dillianwong\my documents\visual v6\codeproject\livevideo_demo\capturevideo.h(122) : error C2143: syntax error : missing ';' before '*' c:\documents and settings\dillianwong\my documents\visual v6\codeproject\livevideo_demo\capturevideo.h(122) : error C2501: 'ICaptureGraphBuilder2' : missing storage-class or type specifiers c:\documents and settings\dillianwong\my documents\visual v6\codeproject\livevideo_demo\capturevideo.h(122) : error C2501: 'm_pCaptureMoniker' : missing storage-class or type specifiers C:\Documents and Settings\DillianWong\My Documents\Visual V6\CodeProject\LiveVideo_demo\CaptureVideo.cpp(33) : error C2065: 'm_pCapture' : undeclared identifier C:\Documents and Settings\DillianWong\My Documents\Visual V6\CodeProject\LiveVideo_demo\CaptureVideo.cpp(40) : error C2065: 'm_pCaptureMoniker' : undeclared identifier . . .
PS: 1. I use Visual C++R 6.0 2. and My DirectX Version is "Microsoft DirectX 9.0 SDK (December 2004)" and I have include it in the Tools\Options\Directories.
Thanks in advance.
modified on Thursday, November 19, 2009 5:23 AM
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi, I want to capture a series of images from video stream. How can I do It. Please Help me to grab image from live video stream.
|
| Sign In·View Thread·PermaLink | 3.00/5 (5 votes) |
|
|
|
 |
|
|
 |
|
|
 |
|
 |
Hi all, have you implemented such a filter for livevideo rotation or flip H/V ?
Any help would be appreciated.
giuegiu@hotmail.com
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Code is compiling successfully but when I try to run it the run time debug error occur. error message in dialog box is " Debug information for 'LiveVideo.exe' can not be found or does not match. Binary was not built with debug information". Exe file did not load. Please help me to run this application.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
 |
|
 |
very nice project. But i need it in C#. how can i convert it into C#.I´m a beginner. please answer me, email : mice35@hotmail.com.
|
| Sign In·View Thread·PermaLink | 1.67/5 (3 votes) |
|
|
|
 |
|
 |
very nice project. But i need it in C#. how can i convert it into C#.I´m a beginner. please answer me, email : mice35@hotmail.com.
|
| Sign In·View Thread·PermaLink | 2.50/5 (2 votes) |
|
|
|
 |
|
 |
I found that the video quality showed by LiveVideo is worse than that showed by the Demo, which is provided together with the capture card. Anyone found the same thing? And Anyone knows why?
chenzd
|
| Sign In·View Thread·PermaLink | 1.50/5 (2 votes) |
|
|
|
 |
|
 |
please help me how to capturing video from PCI card using VB 6.0 and the code too  thanks before
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
|
 |
|
|
 |
|
|
 |
|
|
 |
|
|
 |
|
|
 |
|
 |
I try to add these codes in AddCaptureMonikerToGraph(...) because I want to save capture video as wmv files but failed (failed to run the graph), any ideas?
IBaseFilter *pASFWriterMoniker=0; IConfigAsfWriter *pConfigMoniker=0; hr = m_pCaptureMoniker->SetOutputFileName(&MEDIASUBTYPE_Asf, // Create a Windows Media file. L"C:\\VidCap.wmv", // File name. &pASFWriterMoniker, // Receives a pointer to the filter. NULL); // Receives an IFileSinkFilter interface pointer (optional).
if (FAILED(hr)) { DisplayMesg(TEXT("m_pCaptureMoniker->SetOutputFileName error! hr=0x%x"), hr); return hr; }
hr = pASFWriterMoniker->QueryInterface(IID_IConfigAsfWriter, (void **)&pConfigMoniker); if (SUCCEEDED(hr)) { // Configure the ASF Writer filter. pConfigMoniker->Release(); }
if (FAILED(hr)) { DisplayMesg(TEXT("ASFWriterMoniker->QueryInterface error! hr=0x%x"), hr); return hr; }
hr = m_pCaptureMoniker->RenderStream( &PIN_CATEGORY_CAPTURE, // Capture pin. &MEDIATYPE_Video, // Video. Use MEDIATYPE_Audio for audio. pBaseFilter, // Pointer to the capture filter. NULL, pASFWriterMoniker); // Pointer to the sink filter (ASF Writer).
if (FAILED(hr)) { DisplayMesg(TEXT("m_pCaptureMoniker->RenderStream error! hr=0x%x"), hr); return hr; }
swlan
|
| Sign In·View Thread·PermaLink | 3.00/5 (1 vote) |
|
|
|
 |
|
 |
Hi all,
I have looked at the source files, yet i have failed utterly in understanding. I do have C basics and do programming. I need to understand these codes so that i can implement them into C S-Function in MATLAB: Simulink.
Anyone can give advice on an effective approach to study the source files?
Thanks in advance!
ang_ks
|
| Sign In·View Thread·PermaLink | 1.50/5 (2 votes) |
|
|
|
 |
|
 |
Can u tell me how to use ICaptureGraphBuilder. Because I am getting the error as 'ICaptureGraphBuilder2' : missing storage-class or type specifiers. i am trying to capture a video from a webcam.
S.Yamini
|
| Sign In·View Thread·PermaLink | 2.33/5 (3 votes) |
|
|
|
 |
|
|
 |
|
 |
i have two web cameras on my computer.i want to open that one which i want to open.How shoul i do?Email:fengshunlfs@126.com
|
| Sign In·View Thread·PermaLink | 1.54/5 (8 votes) |
|
|
|
 |
|
 |
I have a webcam, which has video and audio channel. I can only see video.
I has found Audio device and Render it to Graph then I can see video and audio.
But, i can't hear anything from TV Card, which is Hauppauge WinTV HVR-4000. Because Video and Audio are integrated in Video Capture Filter.
I can hear when i build graph by hand. Please click to link: http://hongochuy.googlepages.com/sound1.JPG
But i don't know how do i add "Hauppauge WinTV 88x Audio Capture", because i couldn't found it in SystemDevice. The graph from LiveVideo: http://hongochuy.googlepages.com/nosound.jpg
Please, help me ! Thanks, Huy
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
 |
I like it, nice project. But i need it in C#. how can i convert it into C#. can i use the .lib files?? or if i do the same project in C# what should i do??? plz plz answer me. email: rajibnsu@mail.com waiting for ur answer....
abu syed khan
|
| Sign In·View Thread·PermaLink | 1.00/5 (3 votes) |
|
|
|
 |