Tag: Media Foundation
-
How to Burn Images and Text into MP4 Frames with Media Foundation - Source Reader, Drawing, Color Conversion, Sink Writer, and a One-File C++ Sample
A practical way to burn images and text into every MP4 frame with Media Foundation, organized as Source Reader, drawing, color conversion, and Sink Writer, w...
-
How to Convert YUV Frames to RGB with Media Foundation - Source Reader Auto Conversion and Manual Conversion Patterns
A practical guide to converting YUV video frames to RGB with Media Foundation, covering Source Reader auto-conversion to RGB32 and manual NV12 / YUY2 convers...
-
How to Extract a Still Image from an MP4 with Media Foundation - A Single .cpp File You Can Paste into a C++ Console App
How to use the Media Foundation Source Reader to extract the frame nearest a target timestamp from an MP4 and save it as PNG, with a final one-file .cpp samp...
-
What Media Foundation Is - Why It Starts to Feel Like COM and Windows Media APIs at the Same Time
A practical introduction to Media Foundation that explains the basic terms of Windows media APIs together with COM concepts such as HRESULT, IMFSourceReader,...