Skip to content

Creating Presets

Alfred Gutierrez edited this page Dec 22, 2019 · 4 revisions

Presets are encoding configurations for FFmpeg. These can be managed in the web dashboard on the presets tab.

Creating a Preset

  1. Load /dashboard/presets in the browser.
  2. Click Create Preset button to navigate to the create form.
  3. Enter a preset name, description, output filename. For example:
  • Name: h264_main_1080p_6000_example
  • Description: H264 Main Profile 1080p at 6000K
  • Output: h264_main_1080p_6000.mp4
  • Active: ✔️
  1. Create your FFmpeg Configuration JSON at: https://alfg.github.io/ffmpeg-commander/
{
  "container": "mp4",
  "video": {
    "codec": "libx264",
    "preset": "none",
    "hardware_acceleration_option": "off",
    "pass": "1",
    "crf": 23,
    "bitrate": "6000k",
    "pixel_format": "auto",
    "frame_rate": "auto",
    "speed": "auto",
    "tune": "none",
    "profile": "main",
    "level": "none"
  },
  "audio": {
    "codec": "copy"
  }
}

4b) You can also pass ffmpeg options using the raw as an array:

{
  "raw": [
    "-vf scale=-2:1080",
    "-c:v libx264",
    "-profile:v main",
    "-level:v 4.2",
    "-x264opts scenecut=0:open_gop=0:min-keyint=72:keyint=72",
    "-minrate 6000k",
    "-maxrate 6000k",
    "-bufsize 6000k",
    "-b:v 6000k",
    "-y"
  ]
}
  1. Save the preset. Your preset should now be available when creating an encode job.
Clone this wiki locally