Skip to content

Sample C++/WinRT console application decoding video frames from raw H.264 ES file using Media Foundation API

Notifications You must be signed in to change notification settings

roman380/MfEsDecode

Repository files navigation

Decode H.264 ES using Media Foundation

This small project shows how to set up Media Foundation H.264 Video Decoder transform to process raw H.264 ES.

The project comes with a sample file derived from MSDN Forums question

Instructions

Build the project and run from debugger. The project will pick up test.mp4.h264 file and process it decoding video frames. The will be MFSampleExtension_FrameCorruption information included in the output.

Sample project output is included.

Miscellaneous

  • See #1 to find out how hardware assisted decoding is different; the branch uses Direct3D 11 device and DXGI device manager with the decoder and obtains decoded frames in Direct3D 11 textures

About

Sample C++/WinRT console application decoding video frames from raw H.264 ES file using Media Foundation API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages