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.
- Host: GitHub
- URL: https://github.com/mrfearless/mfplayer-library
- Owner: mrfearless
- License: 0bsd
- Created: 2024-08-28T13:08:18.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-21T13:53:19.000Z (over 1 year ago)
- Last Synced: 2025-03-24T07:04:06.999Z (about 1 year ago)
- Topics: asm, assembler, imfpmediaitem, imfpmediaplayer, library, masm32, mfplay, radasm, uasm, uasm64, x64, x86
- Language: Assembly
- Homepage:
- Size: 1.21 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
#  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.
[](http://www.masm32.com/download.htm) [](http://www.terraspace.co.uk/uasm.html) [](http://www.softpedia.com/get/Programming/File-Editors/RadASM.shtml) [](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)