Trailer and music
Open your modpack with a video and give its menus their own soundtrack.
The trailer
A video played right after Minecraft's loading screen, before the title screen (and before "What's new"). It is off by default; everything about it is up to the modpack creator.
Files
Put them in config/studiomenu/trailer/, or drop an .mp4 onto the editor:
trailer.mp4: H.264 video, decoded in pure Java on several CPU cores at once. On a 12-core PC that is about 80–95 fps at 720p and 50 fps at 1080p, so 720p and 1080p at 30 fps play smoothly, and 720p at 60 fps too. Bigger videos are scaled down on the fly.- Or a folder of numbered pictures (
frames/frame_0001.png, …) played atfolderFps. trailer.ogg: the sound (optional).
trailer.ogg, because Minecraft plays OGG audio. An MP4 with sound and no trailer.ogg plays silently. The second command below makes the OGG from your video.Converting your video
With ffmpeg (free):
ffmpeg -i my_trailer.mov -an -c:v libx264 -profile:v main -pix_fmt yuv420p -vf scale=1280:-2 -r 30 -g 30 trailer.mp4
ffmpeg -i my_trailer.mov -vn -c:a libvorbis -q:a 5 trailer.ogg
-g 30 puts a keyframe every second. Studio Menu decodes the parts between keyframes in parallel, so this is what makes the trailer fast: a video with very few keyframes plays at single-core speed. For 60 fps use -r 60 -g 60.
In the editor
📦 Modpack → Trailer: turn it on, choose the video and the sound, Play a preview, and set when it plays, skipping, keys, how long before it can be skipped, the hint, fit and volume. The trailer waits until its first frames are ready, then starts picture and sound together; frames that would arrive late are skipped so the picture stays in time with the sound.
All settings
In config/studiomenu/pack.json → "trailer":
| Setting | Values | Default |
|---|---|---|
enabled | true / false | false |
file | file or folder name inside trailer/ | trailer.mp4 |
folderFps | speed of a picture folder | 24 |
when | always, once (first launch), new_version (once per pack version) | always |
skippable | true / false | true |
skipKeys | space, escape, enter, click, any | space,escape |
skipAfter | seconds before skipping works | 0 |
skipHint / skipHintText | show the "press … to skip" hint / your own text | true / built-in |
fit | cover (fills the screen) or contain (whole picture, with bars) | cover |
volume | 0–100 (follows the master volume) | 100 |
fadeIn / fadeOut | milliseconds | 400 / 500 |
background | color behind the video | #000000 |
quality | largest picture edge kept | 1280 |
What a player already watched (once / new_version) is kept in .minecraft/studiomenu-state.json, never in the modpack. "Export complete modpack" includes the trailer.
Menu music
- Put
.oggfiles inconfig/studiomenu/music/(or drop them onto the editor). They play in the menus outside a world, in order or shuffled, and follow the game's "Music" volume. - Empty folder = Minecraft's own music. Menu music can also be turned off in ⚙ → Modpack.
- Music in game too (⚙ → Modpack, or
"gameMusic": trueinpack.json): the pack's music also plays inside worlds and replaces Minecraft's. It usesconfig/studiomenu/music/game/, or the menu songs when that folder is empty. In game there are 30 to 90 seconds of silence between songs, like Minecraft; in the menus, 3 seconds. - When you add songs, ⚙ shows a "New songs: load them now" button.
- Menu music stays quiet while the trailer plays.
Convert any audio file to OGG with ffmpeg -i song.mp3 -c:a libvorbis -q:a 5 song.ogg.