Little known DirectShow VMR-7 snapshot problem
There is so little information about this problem (not really a bug, rather a miscalculation) out there because it is coming up with customized Video Mixing Renderer Filter 7 and there is no problem...
View ArticleAnniversary Webcam Saga: It’s clear who’s guilty, now what to do? (Updated)
As new and new people discover the Windows 10 Anniversary Update breaking changes (expectedly running mad), let’s reiterate the possible solutions: You don’t like the idea that video sharing service...
View ArticleNumber of streams served by IMFSourceReader interface
It looks confusing that IMFSourceReader interface does not offer a dedicated method to find out the number of streams behind it. There is a IMFMediaSource instance behind the reader, and its streams...
View ArticleDirectShowCaptureCapabilities and MediaFoundationCaptureCapabilities: API...
Both tools now include exact version of the API and also include an export or registry key related to frame server. mfcore.dll version of 10.0.14393.105 corresponds to Cumulative Update for Windows 10...
View ArticleKB3176938’s Frame Server update visually
M-JPEG and H.264 media types are available again (good) Nevertheless connected, H.264 video is not processed correctly; new bug or old one? Not clear. Even though it sort of works, in DirectShow it...
View ArticleApplicability of Virtual DirectShow Sources
Virtual DirectShow sources have been a long time synonym of software-only camera implementation exposed to applications along with physical cameras in a way that applications consume the sources...
View ArticleBug in Media Foundation MPEG-4 File Source related to timestamping video...
Some recent update in Media Foundation platform introduced a new bug related to fragmented MP4 files and H.264 video. The bug shows up consistently with file versions: mfplat.dll – 10.0.14393.351...
View ArticleIntel Quick Sync Video Consumption by Applications
I wrote a few posts on hardware H.264 encoding (e.g. this and the latest one Applying Hardsubs to H.264 Video with GPU). A blog reader asked a question regarding availability of the mentioned Intel...
View ArticleMedia Foundation’s MFT_MESSAGE_SET_D3D_MANAGER with Frame Rate Converter DSP
It might look weird why would someone try Direct3D mode with a DSP, which is not supposed to be Direct3D aware, but still. I am omitting the part why I even got to such scenario. The documentation says...
View ArticleNo conversion with MF_CONNECT_ALLOW_CONVERTER
Microsoft Media Foundation Media Session API topology resolution is way less clear compared to DirectShow. The API takes away a part of component connection process and makes it less transparent to API...
View ArticleEffects of IMFVideoProcessorControl2::EnableHardwareEffects
IMFVideoProcessorControl2::EnableHardwareEffects method: Enables effects that were implemented with IDirectXVideoProcessor::VideoProcessorBlt. […] Specifies whether effects are to be enabled. TRUE...
View ArticleMicrosoft Media Foundation code samples online
Media Foundation Team Blog (2009-2011) lost connection with the community some time ago, and its sample code hosted at http://code.msdn.microsoft.com/mfblog passed away too. Three Four of the five...
View ArticleMicrosoft AAC Encoder’s MF_E_TRANSFORM_NEED_MORE_INPUT after...
Media Foundation AAC Encoder is a pure MFT, as opposed to legacy DSP’s which are made dual DMO/MFT interfaced and presumably have higher chances for smaller artifacts. The transform is synchronous and...
View ArticleGreetings from H.265 / HEVC Video Decoder Media Foundation Transform
H.265 / HEVC Video Decoder Media Foundation has been around for a while, but using Media Foundation overall one step off straightforward basic paths is like walking a minefield. A twenty-liner below...
View ArticleH.265/HEVC Video Decoder issues in Windows 10 Fall Creators Update
Microsoft released new Windows 10 update and again there is a new tsunami approaching. Media Foundation H.265 decoder: there is no longer “preliminary documentation” notice in MSDN article. The decoder...
View ArticleNVIDIA H.264 Encoder Media Foundation Transform’s REGDB_E_CLASSNOTREG
For already years Nvidia’s H.264 video encoder Media Foundation Transform has been broken giving REGDB_E_CLASSNOTREG “Class not registered” failure in certain circumstances, like main display is not...
View ArticleMicrosoft Media Foundation webcam video capture in one screen of code
Being complicated for many things, Media Foundation is still quite simple for the basics. To capture video with Media Foundation the API offers Source Reader API which uses Media Foundation primitives...
View ArticleAbout Microsoft FLAC Audio Encoder MFT
This is basically a cross-post of StackOverflow answer: How do I encode raw 48khz/32bits PCM to FLAC using Microsoft Media Foundation? So, Microsoft introduced a FLAC Media Foundation Transform (MFT)...
View ArticleDirectShowSpy: Who sent EC_ERRORABORT once again
A few years ago the question was already asked: DirectShow Spy: Who Sent EC_ERRORABORT?. The spy already attempted to log a call stack in order to identify the sender of the message. However overtime...
View ArticleMedia Foundation API primitive styling of WinRT windows.mediaCodec
An interesting Media Foundation question on StackOverflow: Weird connection between CoInitializeSecurity() and Media Foundation Encoders A developer has reasons to discard standard COM security and go...
View Article