This repo hosts a Python script to make videos in Minecraft Bedrock JSON UI. This is extremely experimental, and is very only likely to run on high end Windows hardware. It will crash Minecraft on a phone when run. Sorry not sorry.
The bulk of the work is carried out by ffmpeg. It splits up the video into individual frames, and converted into readable UI textures. Do be careful, packs can get extremely big when the individual images are added. The sound is also split up and added to sound definitions.
This script requires Python 3.10 or greater to run. It only runs on Windows, with no other platform support. For the moment, there are no standalone binaries. You may clone this repo or download the repo as a zip and run main.py.
The output resource pack files are very only likely going to run on a beefy Windows machine with Minecraft. Memory usage can exceed 15GB depending on the size of the images and length of the video.
This is the name internally used by your video. You will be able to trigger the video with /title @p actionbar scene_name
and trigger the sound with /playsound scene_name:scene_name.play
.
The directory where your input video is. Please wrap in quotes.
Two options for image quality: high (.png extension) and low (.jpg extension).
The target FPS you want the video to play in-game.
You can then drag the contents in the output
folder into your resource pack.