Tag: DirectShow

CLSID_FilterGraphNoThread and IMediaEvent::WaitForCompletion

An interesting find about CLSID_FilterGraphNoThread version of DirectShow fitler graph implementation is that its WaitForCompletion method available through IMediaEvent and IMediaEventEx interfaces is not implemented: the immediately returned value is E_NOTIMPL. CLSID_FilterGraphNoThread itself is not well documented and is rather a spin off the baseline implementation (which is – my guess would be – was…

Read the full article

GDCL MPEG-4 filters update

As mentioned recently in DirectShowSpy media sample trace update, I uploaded a fork of MPEG-4 filters developed by Geraint Davies, which includes a few updates made over time. They are worth mentioning in a separate post: the projects received type libraries and it is easier to reference filters now by #importing the type library into…

Read the full article

DirectShowSpy: Media Sample Traces

Overview DirectShow filters pass media samples (portions of data) through graphs and details of how the streaming happens exactly is important for debugging and troubleshooting DirectShow graphs and development. A developer needs clear understanding of parts of streaming process, importance of which increases with multiple streams, threads, parallelization, cut-off times, multiple graphs working simultaneously. Details…

Read the full article

Enumeration of DirectShow Capture Capabilities (Video and Audio)

The tool appears to be unmentioned here, and this is to fix the problem. DirectShowCaptureCapabilities application enumerates video and audio capture devices and lists their typical DirectShow properties, specifically: Moniker names (including USB identification) Pins and property pages Supported interfaces Formats and capabilities available through IAMStreamConfig interface Video and audio devices The utility allows to save output and…

Read the full article

Windows Media Player encountered a problem while playing ASF/WMV file with multiple audio tracks

This is not really obvious: Windows Media Player refuses to open a Windows Media (ASF) file with an undescriptive error message: “Windows Media Player encountered a problem while playing the file”. The problem, however, is that the file is actually good, more or less. The file plays well in DirectShow and Media Foundation APIs. There…

Read the full article

Audio playback at non-standard rates in DirectShow

DirectShow streaming and playback in particular offers flexible playback rates for scenarios where playback is requested to take place slower or faster than real time. For a DirectShow developer, the outer interface is pretty straightforward:IMediaPosition::put_Rate takes playback rate and that’s it. Playback rate. Must not be zero. The playback rate is expressed as a ratio of…

Read the full article

DirectShow Spy: Integration with GraphStudioNext

DirectShow Spy is introducing integration with GraphStudioNext (and GraphEdit too) to let a developer quickly open a filter graph through Running Object table with external inspection tool. Note that you need a revision 301 GraphStudioNext or later, prebuilt versions available for download here: graphstudionext.exe (Win32), graphstudionext64.exe (x64). DirectShow Filter Graph list window offers context menu items and hotkeys to…

Read the full article