|
Hi to all,
I want to stream TS in network conerting it into WMV/ASF format, using DirectX. For that I used "WM ASF Writer" filter, using which I can convert & store TS file to WMV/ASF format. But I can't stream Windows Media Encoded Video in Network. Plz, help me for that.
During this, I found 'IWMWriterNetworkSink' Interface, but I don't have it's details, I don't know how to use it with "WM ASF Writer" filter. If anyone have idea about it plz. tell me.
Best Regards,
Aniket
-- modified at 3:40 Wednesday 7th June, 2006
|
|
|
|
|
HI,
I need help with my errors:
--------------------Configuration: LiveVideo - Win32 Debug--------------------
Linking...
LiveVideoDlg.obj : error LNK2001: unresolved external symbol "protected: void __thiscall CLiveVideoDlg::OnRadio4(void)" (?OnRadio4@CLiveVideoDlg@@IAEXXZ)
Debug/LiveVideo.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
LiveVideo.exe - 2 error(s), 0 warning(s)
|
|
|
|
|
Can u please tell me that where u able to compile the interface successfully. because I am getting
ICaptureGraphBuilder2 undeclared identifier
Can u help me in this
S.Yamini
|
|
|
|
|
Hi all,
I am trying to modify the sample code to grab a frame to keep it in memory but I have no idea how to do that. I tried to use ISampleGrabber but that does not work because it is not supported in direct3D > 7 any more (including Qedit.h gives tons of errors). I am using DirectX9.0c and VC++8.
Any suggestions?
Markus
|
|
|
|
|
after i try to capture my Webcam, I have following error messege:
"Couldn´t bind moniker to filter object! hr=0x80004005"
Wjho can help me?
|
|
|
|
|
Doesn't work with cards with 4 ports on one chip.
|
|
|
|
|
Well there is a problem in using CCaptureVideo with other USB video capture devices (not a webcam). F.e. it doesn't work with analog video signal (from video camera) which is converted to USB with the help of D-Link USB Converter (DUB-AV200).
Probably the error is with VFW or WDM driver model...
hr = pDevEnum->CreateClassEnumerator(CLSID_VideoInputDeviceCategory,&pEnum,0);
CLSID_VideoInputDeviceCategory = {CLSID_VFW Capture Class Manager}
Maybe instead of "CLSID_VideoInputDeviceCategory" use "AM_KSCATEGORY_CAPTURE"
Does anybody deal with such a problem ?
|
|
|
|
|
Hello,
i want to grab bitmaps from the live video. What is the easiest way to do that? I read about VMR9 which is able to do that. But i don't know how to modify the existing graph and remove overlay mixer and video renderer and replace it with VMR. Can anyone help me please?
best regards,
Thomas
|
|
|
|
|
I have the same problem, did u solve it? If yes, could you email me please with any info on this subject. Thanks. GREG.
kalenkov@mail.ru
|
|
|
|
|
i solved it by using CNCVideoInput library and adjusting it to my needs
|
|
|
|
|
Thnaks a lot, I'll try it!
By the way, since you are in this topic for some time, if it won't take long, can u give some explaination or link on a following subject:
1. If a camera ( web cam ) is set to 24fps, but works ( i think ) a bit slower, how can I find out if a new frame is captured? In other words, what are the methods to synchronize nominated and physical rates of capturing?
2. anything about RAW fromat capture.
Any how, thanks a lot again.
GREG.
-- modified at 12:12 Wednesday 7th December, 2005
|
|
|
|
|
hi i compile the program and well but when pop the dialog appear a message the error equal to this
Filed in AddSourceFilterForMoniker()! hr=0x80040275
sombody help me please
thank you if you answer me
i dont care of the trobble
|
|
|
|
|
This is VFW_E_NO_CAPTURE_HARDWARE. I assume your webcam is normally working. Have you ever used another webcam in your system? It may be a problem with another capture drivers that were not uninstalled properly. Check carefully strMonikerName that you pass to AddSourceFilterForMoniker - it probably points to a device that is already unplugged.
Jarek
|
|
|
|
|
Whenever I disconnect and reconnect the filters, the handle count increases more than previous. Is it a bug of directshow?
sunjiang
|
|
|
|
|
Sorry if this question is silly.
But i noticed the captured video is in a the default camera resolution, is there anyway to change it?
Guess it's possible to set video capture pin like AMCAP, but how?
|
|
|
|
|
Sorry, I am a beginner of using DirectShow. Maybe my question is very silly.
I would like to ask about the video compression.
In your program, do you apply any video compression method?
If no, is it just captured the video from a web camera by the video card?
If yes, which part of the source code does it indicate the compression method?
THANK YOU!!!
|
|
|
|
|
While compiling the source codes an error comes , it calls for the dshow.h header file which is absent in the zip. where can I get it.
bhanu
|
|
|
|
|
Have you installed DirectX SDK? If not, download it from Microsoft , which is freely available. Set the include path in Visual Studio and run it.
Hope, this helps..
GOOD DAY.!
DK
|
|
|
|
|
In VC6
Click Tools\Options\Directories tab
& then add the Include files as:
C:\Program Files\Microsoft DirectX 9.0 SDK (December 2004)\Include
Dillian
|
|
|
|
|
Could someone explain me how to:
"Create an Object of the class “CCaptureVideo” using Class wizard."
Thanks
|
|
|
|
|
when i was running a program using dshow.h , an error in strmif.h (Generated IDL header file for streams interfaces) which is included in dshow.h occured saying missing semicolon at line 1024 , but i didn't find any error , i don't know what to do ? can any one send me a working strmif.h file ?
|
|
|
|
|
add these two line in header file
typedef long LONG_PTR;
typedef unsigned long DWORD_PTR;
Dillian
|
|
|
|
|
Does anyone know how to add the ISampleGrabber to this current example,
so that a single video frame can be grabbed?
There is a frame grabber example here... http://www.codeproject.com/audio/framegrabber.asp
but I cant seem to get the ISampleGrabber to work this this particualr example,
Thanks
|
|
|
|
|
Nevermind I figured it out,
but what I did not figure out yet, is how to change the video stream size so when I grab a snapshot of the video it is the size I want. ex 640 x 480.
|
|
|
|
|
I'm tring to save video in WMV format.
Adding this code
IFileSinkFilter *pSink = NULL;
IBaseFilter *pMux = NULL;
hr = m_pCaptureMoniker->SetOutputFileName(&MEDIASUBTYPE_Avi,L"C:\\Example.avi",&pMux,&pSink);
hr = m_pCaptureMoniker->RenderStream (&PIN_CATEGORY_CAPTURE, &MEDIATYPE_Video,pBaseFilter, NULL, pMux);
video stream is saved in Avi file, changing SetOutputFileName arguments in (&MEDIASUBTYPE_Asf,L"C:\\Example.wmv",&pAsfWriter,NULL);
the graph couldn't run
Please, could someone explain me why, or give me a way to save video to WMV file or better MPG file?
thanks
|
|
|
|