MediaPlayer
by hackermdch
MediaPlayer is a library that lets other Minecraft mods decode and play video and audio, built on FFmpeg and released as open source.
What it does
The library decodes media files through an FFmpeg-based backend, so a mod that depends on it can show video and play companion audio inside the game. Hardware acceleration is available for decoding, and a wide set of media formats is supported. The current builds only run on Windows x64, so the platform is limited to that system and architecture.
A server running it needs every connecting player to have it too. It is published for Fabric, Forge and NeoForge, with files for 1.20.1 and 1.21.1 and a 1.21 build among the release versions. It is licensed under the GNU Lesser General Public License v3.0 only, and the source code is publicly available.
Key features
FFmpeg decoding
Media is decoded through a Minecraft-oriented binding to FFmpeg, giving dependent mods a single decoding path.
Hardware acceleration
Decoding can use hardware acceleration, which lowers the work left to the processor during playback.
Many media formats
The decoder accepts a broad set of container and codec formats, so mods are not limited to one file type.
Companion audio and video
Video frames and their matching audio are played together, keeping the two streams in step.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Video in-game
A mod can show a video clip on an in-game screen, decoded by MediaPlayer rather than its own code.
Audio alongside video
Soundtrack audio is played with the picture, using the library's companion handling.
Who it’s for: Mod developers who want to add video or audio playback to a Minecraft mod without writing a decoder themselves. Players and server owners only need it when a mod that depends on it is installed, and only on Windows x64.
Questions
Which loaders is MediaPlayer published for?
Does MediaPlayer work on macOS or other operating systems?
Does MediaPlayer have to be installed on both sides?
Can MediaPlayer be used in a modpack?
In the catalog
MediaPlayer is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 32,366 mods support Minecraft 1.21.1.
More from hackermdch
Similar mods
Official listing
- Modrinth page
- modrinth.com/mod/mediaplayer
- Owner
- hackermdch
- Published
- 2024-07-14
- Updated on Modrinth
- 2025-05-18
- Facts verified
- 2026-10-15