directshow

IVideoWindow update problem

Hi all! I want to render the video from my webcam into QWidget. I've set QWidget, as a parent to IVideoWindow. Here is the code: m_iVideoWindow->put_Owner((OAHWND)widget_->winId()); m_iVideoWindow->put_WindowStyle(WS_CHILD | WS_CLIPCHILDREN); m_iVideoWindow->put_Left(0); m_iVideoWindow->put_Top(0); widget_->setChild(m_iVideoWindow); A...

Browser crashes when switching to IP cameras in flash

Has anyone managed to switch to/from IP cameras with actionscript? ...

Flash crashes when stopping directshow source filter

Here's the callstack : 0480b000() vcam.ax!CSourceStream::DoBufferProcessingLoop() + 0xe1 bytes vcam.ax!CSourceStream::ThreadProc() + 0x13e bytes vcam.ax!CAMThread::InitialThreadProc() + 0x51 bytes kernel32.dll!7c80b713() The callstack is from this thread: 0 > 0x000015b8 Worker Thread CAMT...

ActiveX HWND, DirectX WindowLess mode

Hi. I would like to render video in ActiveX control (not in pop-up DirectShow window). I have: IID_IVMRWindowlessControl IID_IVMRFilterConfig9 CLSID_VideoMixingRenderer9 I would like to set WindowLess mode, but I don't know how to get HWND of..., exactly, of what? IEFrame, HTML element? hr = pWc->SetVideoClippingWindow(???); Anyo...

Behavior of DirectSound audio renderer with the reference clock

Hi everyone, I'm working on a source filter which feeds video/audio captured by our software through a DirectShow graph. I got the video working relatively painlessly, but now trying to add an audio output pin is proving to be quite a challenge. The specific question I have is does audio renderer modify the actual reference clock as i...

DirectShow CBasePin::ConnectedTo() returns a VFW_E_NOT_CONNECTED error after returning from Windows Lock

Hello everyone, We have an application that uses DShow filters to play video off of IP cameras. I'm currently trying to fix the following bug: Normally, the app will build a graph, connecting the video renderer filter and the source filter on request for live video feed. Now, if while the player is running the PC goes into windows lock...

How to make directshow filters not crash in Flash Player?

Does anyone have a sample which implemented at least necessary SetFormat/SetMediaType properties so it works on Flash? Or any guide or help or starting point for implementing all SetFormat/SetMediaType? ...

DirectShow BaseClasses - a video renderer class with video and input pin

Hello I couldn't find a suitable renderer class in BaseClasses that has 2 input pins - one for video and one for audio. Can anybody recommend/provide some code? Regards Dominik ...

What does the InputSize field mean in VIDEO_STREAM_CONFIG_CAPS?

Quoted from here: Size of the incoming signal, expressed through the Win32 SIZE structure as the image rectangle's width and height in pixels. For a compressor, the size is taken from the width and height members of the Win32 BITMAPINFOHEADER structure in the input pin's AM_MEDIA_TYPE structure. For a capture ...

How to get pointer to IUnknown in C#

.NET interop wraps COM objects into .NET objects (runtime-callable wrappers, RCWs), which hide the usual interface querying. In order to register a COM object representing a filter graph with the Running Objects Table, I need the (native) address of its IUnknown interface (see How can I reverse engineer a DirectShow graph?). So the ques...

Grabbing images from a DVD using direct show

Hi All, Is anybody aware of a way of grabbing images from a DVD using DirectShow and C++? The sample grabber is not supported when using the DVD renderer and if I use GetCurrentImage, which is part of the VMR9 windoless control, it doesn't appear to work. ...

DirectShow USB camera LED flash access

I'm using C++ and need to access a USB camera's LED flash feature. I'm currently using DirectShow to interface with the camera in other ways (live preview stream, grabbing samples, etc.). I found the CameraControl_Flash enumeration element on MSDN, but it appears to be implemented only for Windows Embedded CE 6.0 and Windows Mobile: ht...

How to play MPEG-TS videos by DirectShow on Windows 7?

Our application uses IGraphBuilder::RenderFile to build filter graph. On Windows 7, this application can play MPEG-PS videos smoothly, but it cannot open/play MPEG-TS(transport stream) videos. IGraphBuilder::RenderFile returns an error code VFW_E_UNSUPPORTED_STREAM. On my Windows 7, Windows Media Player can open/play those MPEG-TS HDV v...

How to create platform independent 3D video on 3D TV via HDMI 1.4?

I am writing a real-time, interactive 3D visualization program and at each point in the program, I can compute 2 images (bitmaps) that are meant to look 3D together by means of stereoscopy. How do I get my program to display the image pairs such that they look 3D on a 3D TV? Is there a platform independent way of accomplishing it? (...