Quantcast
Channel: Windows API – Fooling Around
Browsing index pages (49 articles)

Image may be NSFW.
Clik here to view.

Demo: Webcam with YOLOv4 object detection via Microsoft Media Foundation and...

As we see announcements for more and more powerful NPUs and AI support in newer consumer hardware, here is a new demo with Artificial Intelligence attached to a good old sample camera application...

View Article


Demo: Direct3D 11 aware SuperResolution scaler based on AMD framework (updated)

While on it, a quick update to the previous post/application: added dynamic media type change support to upscaler effect MFT the video is automatically upscaled to map 1:1 to effective pixels &...

View Article


Image may be NSFW.
Clik here to view.

Demo: Direct3D 11 aware SuperResolution scaler based on AMD framework

A variant of previous CaptureEngineVideoCapture demo application which features AMD Advanced Media Framework SuperResolution scaler for video. It is basically a live video camera application started...

View Article

Image may be NSFW.
Clik here to view.

MFCreateFMPEG4MediaSink has no H.265/HEVC support

MFCreateFMPEG4MediaSink (CMPEG4MediaSink class) has no support for H.265/HEVC… MF_E_INVALIDMEDIATYPE… It should have been there. We’re not expecting Dolby AC-4 to be supported [yet], but H.265?

View Article

DxgiTakeWindowSnapshot & Window Recording w/ Audio

I am sometimes using a rework of earlier DxgiTakeSnapshot application for one specific purpose mentioned below. In addition to Desktop Duplication API, recent version of Windows offer a similar (in...

View Article


Virtual Camera API in Windows 11 (Build 22000)

There is a new API coming with Windows 11. Finally we will get well defined way to register virtual cameras (perhaps for applications built against Windows Media Foundation API, not DirectShow):...

View Article

Image may be NSFW.
Clik here to view.

Microsoft HEVCVideoExtension software H.265/HEVC encoder

The engineering quality of most recent Microsoft’s work around Media Foundation is terrible. It surely passes some internal tests to make sure that software items meet requirements of the use cases...

View Article

Hardware accelerated JPEG video decoder MFT from AMD

Video GPU vendors (AMD, Intel, NVIDIA) ship their hardware with drivers, which in turn provide hardware-assisted decoder for JPEG (also known as MJPG and MJPEG. and Motion JPEG) video in form-factor...

View Article


Image may be NSFW.
Clik here to view.

Is my system a hybrid (switchable) graphics system?

There is a number of systems out there equipped with multiple GPUs which work cooperatively. The technology itself started from Integrated graphics processing units which brought a “free” GPU into...

View Article


Media 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

Image may be NSFW.
Clik here to view.

DirectShowSpy: 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 Article

Image may be NSFW.
Clik here to view.

About 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 Article

Image may be NSFW.
Clik here to view.

Microsoft 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 Article


NVIDIA 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 Article

Image may be NSFW.
Clik here to view.

H.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 Article


Greetings 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 Article

Microsoft 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 Article


Microsoft 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 Article

Effects of IMFVideoProcessorControl2::EnableHardwareEffects

IMFVideoProcessorControl2::EnableHardwareEffects method: Enables effects that were implemented with IDirectXVideoProcessor::VideoProcessorBlt. […] Specifies whether effects are to be enabled. TRUE...

View Article

No 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 Article
Browsing index pages (49 articles)


Latest Images