Installation

2 min readUpdated 2 weeks ago

Overview

ML MasterVideo is a scene editor for making videos in FiveM. Scenes hold peds, vehicles and props with recorded paths, camera tracks with keyframes and a timeline, and play back in game or render to a video file with ffmpeg. Scenes are stored in the database.

Quick Start

  1. Download from CFX Portal
  2. Extract to your resources folder as ml_mastervideo
  3. Add to server.cfg:
server.cfg
1ensure oxmysql
2ensure ox_lib
3ensure ml_bridge
4ensure ml_mastervideo
Load Order

ml_mastervideo must start AFTER ml_bridge.

Database

Tables are created automatically on first start:

  • ml_mastervideo_scenes: scene definitions (entities, camera tracks, timeline)
  • ml_mastervideo_custom_models: custom ped and vehicle model presets

Rendered videos are written to renders/ and photos to gallery/ inside the resource folder.

Verify

After starting, press F6 (or the configured key) to open the scene editor. Use /sceneeditor as an alternative.

  • Editor not opening. Check Config.OpenKey and Config.OpenCommand. If Config.RequirePermissions = true, verify ACE permissions.
  • Entities not spawning. Check F8 console for model loading errors. Verify the model name is valid.
  • Scenes not saving. Check database connection. Verify oxmysql is running.
  • Render fails with ffmpeg_not_found. Install ffmpeg on the server or set ServerConfig.FfmpegPath.
  • Render or photo does nothing. Start screencapture or screenshot-basic.