-
Notifications
You must be signed in to change notification settings - Fork 21
Creating Presets
Alfred Gutierrez edited this page Mar 22, 2021
·
4 revisions
Presets are encoding configurations for FFmpeg. These can be managed in the web dashboard on the presets
tab.
- Load
/dashboard/presets
in the browser. - Click
Create Preset
button to navigate to the create form. - 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
: ✔️
- Create your FFmpeg Configuration JSON at: https://alfg.github.io/ffmpeg-commander/
{
"format": {
"container": "mp4",
"clip": false
},
"video": {
"codec": "libx264",
"preset": "veryfast",
"pass": "1",
"crf": 23,
"bitrate": "6000k",
"minrate": "6000k",
"maxrate": "6000k",
"bufsize": "6000k",
"pixel_format": "auto",
"frame_rate": "auto",
"speed": "auto",
"tune": "none",
"profile": "main",
"level": "none",
"faststart": false,
"size": "source",
"width": "1080",
"height": "1920",
"format": "widescreen",
"aspect": "auto",
"scaling": "auto",
"codec_options": ""
},
"audio": {
"codec": "copy",
"channel": "source",
"quality": "auto",
"sampleRate": "auto",
"volume": "100"
},
"filter": {
"deband": false,
"deshake": false,
"deflicker": false,
"dejudder": false,
"denoise": "none",
"deinterlace": "none",
"brightness": "0",
"contrast": "1",
"saturation": "0",
"gamma": "0",
"acontrast": "33"
}
}
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"
]
}
- Save the preset. Your preset should now be available when creating an encode job.