An open API service indexing awesome lists of open source software.

https://github.com/mrfearless/mfplayer-library

Library of functions that wrap the IMFPMediaPlayer and IMFPMediaItem objects.
https://github.com/mrfearless/mfplayer-library

asm assembler imfpmediaitem imfpmediaplayer library masm32 mfplay radasm uasm uasm64 x64 x86

Last synced: about 1 year ago
JSON representation

Library of functions that wrap the IMFPMediaPlayer and IMFPMediaItem objects.

Awesome Lists containing this project

README

          

# ![](./assets/mfplayerlogo.png) MFPlayer Library

MFPlayer Library consists of functions that wrap the MFPlay COM implementation of the [IMFPMediaPlayer](https://learn.microsoft.com/en-us/previous-versions/windows/desktop/api/mfplay/nn-mfplay-imfpmediaplayer) and [IMFPMediaItem](https://learn.microsoft.com/en-us/previous-versions/windows/desktop/api/mfplay/nn-mfplay-imfpmediaitem) objects. [MFPlay](https://learn.microsoft.com/en-us/previous-versions/windows/desktop/api/mfplay/) is a [Microsoft Media Foundation](https://learn.microsoft.com/en-us/windows/win32/medfound/microsoft-media-foundation-sdk) API for creating media playback applications. Thus the MFPlayer Library functions hide the complexities of interacting with the COM objects.

[![](https://img.shields.io/badge/Assembler-MASM%206.14.8444-brightgreen.svg?style=flat-square&logo=visual-studio-code&logoColor=white&colorB=C9931E)](http://www.masm32.com/download.htm) [![](https://img.shields.io/badge/Assembler-UASM%20v2.5x-green.svg?style=flat-square&logo=visual-studio-code&logoColor=white&colorB=1CC887)](http://www.terraspace.co.uk/uasm.html) [![](https://img.shields.io/badge/RadASM%20-v2.2.2.x%20-red.svg?style=flat-square&colorB=C94C1E&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAgCAYAAAASYli2AAACcklEQVR42tWVXWiPURzHz/FyQZOiVuatuFEoKzfKSCs35EJeCqFcEEa5s2heNrXiApuXFDYveUlKSywlIRfczM0WjZvJlGKTRLb5fHvOU6fT+T/PY3bj1Kff8z8vn+f8znPO+dshihnBYv8L4awRcl2FRTarBy8bQzgEjdbabzl9nxCW2IwOFYTrsBTKEH7PET4lLLYlGpcTrkC5qxqL8HeO8CVhoQ0qRxMOw34Y5TVVIPyYI+whTLVehZ9iWgZAL1mN8G6GbArhA/TZEilqKx2HCbADXkAV0oESwhOEfdChbXOUh1ovxS+wlcH3aNvC82VX3wx7Qyl9NhEugXZEU7ixX8E6Br13nTVDPU927R3QCl0wTX2h2rUNQqUv/ATLkHUGM1hLuBF8pFipZ+zBcIZKpw1O0vjYk24mnIXxEZHGNMIBxgxJ2M2P2PF7DafhGh1/0G8Gzzv1cWASfIZn0EJ7VzpIQqWyUguulFUXiDXwApxhYE9O2ibc2PMJNbAxkp5Oyh3NGvHzQkJPrK/aANtLjNNuOAU3kf/KFTrpGsJtaIdxbu3C0gvn4Dzi3qLCI3Su4/cCnnfDBvcCv/yEW0a7o6gwWI5tJvniMwutYZbQa9elsUqzgun/JKStjKAzvAvmDXuG1M1xqerkTAyG6Cy3FREeM8k2kag6MomvcBGaefG7LOF6k1wK6SUbFl0iOpqt/v+NjYjmEva4NQpPi9K6b5JN/UiXQTg+vbF1nlc4USytPpNcok1Iuk1G0eWgS0Hnd3akXbeIbuqWvP9lXxhOW2k9cOvzMJZWUWG/Sf4/lNbbv5GEwjeSSIaof7iitPwBoSgbVud1Jo0AAAAASUVORK5CYII=)](http://www.softpedia.com/get/Programming/File-Editors/RadASM.shtml) [![readthedocs](https://img.shields.io/badge/readthedocs-available-success.svg?style=flat-square&color=success&logo=read-the-docs)](https://mfplayer-library.readthedocs.io/en/latest/index.html)

The MFPlayer Library is also used in the [MediaPlayer](https://github.com/mrfearless/MediaPlayer) application that showcases the usage of the MFPlayer Library and its functions, and also contains additional functions and features not included in the MFPlayer Library, but are related to it and its use with the MFPlay / Microsoft Media Foundation API.

# Download

* Download the latest release for whichever assembler and architecture you require:

- [MFPlayer-x86.zip](https://github.com/mrfearless/MFPlayer-Library/blob/master/releases/MFPlayer-x86.zip?raw=true)
- [MFPlayer-x64.zip](https://github.com/mrfearless/MFPlayer-Library/blob/master/releases/MFPlayer-x64.zip?raw=true)

* Copy `MFPlayer.inc` to your `masm32\include` folder for MFPlayer Library x86, or `uasm\include` for MFPlayer Library x64 (or wherever your include files are located)

* Copy `MFPlayer.lib` to your `masm32\lib` folder for MFPlayer Library x86, or `uasm\lib\x64` for MFPlayer Library x64 (or wherever your libraries are located)

* Add the following to your project:

```assembly
include MFPlayer.inc
includelib MFPlayer.lib
```

# Functions

Documentation on the functions in the MFPlayer libraries are located on readthedocs [here](https://mfplayer-library.readthedocs.io/en/latest/index.html)

# Resources

Included with the releases are additional RadASM autocomplete / intellisense type files. Each `*.api.txt` file contains instructions as to where to paste their contents.

Other resources may be required to build the libraries:

- [RadASM IDE](http://www.softpedia.com/get/Programming/File-Editors/RadASM.shtml)
- [MASM32 SDK](http://www.masm32.com/download.htm)
- [UASM - x86/x64 assembler](http://www.terraspace.co.uk/uasm.html)
- [WinInc - include files for x64 assembler](http://www.terraspace.co.uk/WinInc209.zip)
- [UASM-with-RadASM](https://github.com/mrfearless/UASM-with-RadASM)