Jump to content
Sign in to follow this  

Firemonkey and Windows Mediafoundation

Recommended Posts



I started create a simple media player based on the Windows Media Foundation. I have to deal with DRM encrypted channels so there is unluckily no way around. Did somebody have some experience with the Windows Media Foundation and DRM?


The attached demo is a player using WMF and Firemonkey. The header files used in this project can be found here:



You should be able to play streams (based on dash and HLS) as well as media files located on the local file system.

It partially crashes here on my vm inside the the d3d11.dll. I did not tested it on a native windows system yet.


The player also uses some "technique" to render firemonkey elements on top of the video.  To do so you just have to put them as child object to the player.






Edited by CHackbart
Updated source code
  • Like 1

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this