SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
✓ VerifiedLibraries & compatibility

MediaPlayer

by hackermdch · for Minecraft

A decode library for Minecraft based on ffmpeg.

116KDownloads
17 mo agoLast updated
LGPL-3.0-onlyLicense
Fabric · Forge +1Loaders

About MediaPlayer

From Modrinth

A decode library for Minecraft based on ffmpeg.

MediaPlayer

A decode library for Minecraft based on ffmpeg.

Features:

  • Video and audio decoder
  • Hardware acceleration
  • Supports many media formats
  • Only Windows x64 platform is supported

How to use:

For user

Use the commands

/summon mediaplayer:video
/mediaplayer video

to play video.

Or use

/mediaplayer audio

to play audio.

Use

/mediaplayer clear

stop all video and audio.

For developer

Create decoder

var file = new File("<video file path>");
var decoder = VideoDecoder.create(file);

Decode and render frame

decoder.fetch();
bufferSource.getBuffer(VideoRenderType.create(decoder.frame));
/* Rendering code */

Play companion audio from video

Minecraft.getInstance().getSoundManager().play(new AudioInstance(decoder.audio.decode(false), null));

Play independent audio

Minecraft.getInstance().getSoundManager().play(new AudioInstance(new AudioDecoder.decode(false), null));

Highlights

From source data

Game versions

Supports 3 Minecraft versions, the newest being 1.21.1.

Loaders

Runs on Fabric, Forge and NeoForge.

Footprint

Rated a light load on a server.

What kind of mod it is

From the catalog
Listed on Modrinth as “Mods”

Libraries & compatibility

Foundations and fixes other mods build on. Usually installed because something else needs it.

Runs on your server

From source side support

Modrinth lists MediaPlayer as required on the server. Check its Modrinth page to see whether players need it too.

Compatibility

Game
Minecraft
Loaders
FabricForgeNeoForge
Runs on
Serverrequired on the server
Game versions
1.21.1 and 2 earlier

Verified at the source

  • ✓ModrinthOfficial listing, checked 2026-10-01Open ↗
  • ✓Authorhackermdch, as published on Modrinth
  • ✓LicenseLGPL-3.0-onlyFree

MediaPlayer, answered

Generated from the mod’s own source data.

Do my players need to install MediaPlayer?

Modrinth lists MediaPlayer as required on the server. Check its Modrinth page to see whether players need it too.

Which loaders does it support?

Fabric, Forge and NeoForge.

Is it free?

Yes. MediaPlayer is free to download from Modrinth. Its license is LGPL-3.0-only.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run MediaPlayer on a Minecraft server.

Deploy in about a minute from $4.20 a month, then add MediaPlayer in one click.