Simple Format Specification
A Simple format describes the format specs you want to use in output definitions
The format name follows this simple naming convention:
Only the container is required, which is really nice because the correct format specs are set for you like bitrates, codecs, sample rate, etc.
So let's say you want to use a fairly standard format like MP4 (H264 / AAC), the format name would be
mp4. For a WebM format:
webm and so on.
Here are some simple format examples to show you how it works:
If you want an audio only output format, use one of the audio container
wav. In that case, the
$video_specs must be removed from the format name.
Simple Format Base
For each container, video and audio specs are set automatically for you following the video format standards. Most of the time, you just need to customize the output resolution and you get a format that just works.
|Container||Video specs||Audio specs|
Video specs must be separated by the underscore character
_ and are all optional.
To disable video, set the video specs to
x. For instance:
Default resolution if not specified:
0x0 (=Original resolution)
There are two ways to specify the resolution: either with the classic
widthxheight or with the *p notation like
1080p. Note that for thumbnails, GIF and storyboard, only the notation
widthxheight is working.
If you use the latter, the video bitrate is automatically set for you:
|Definition||Resolution||Aspect||Bitrate in Kbit/s|
If you set the width or height to 0, we will automatically calculate the value for you according to the aspect ratio of the source video.
0x0 means that the original resolution will be kept.
Note that the video bitrate can still be overriden when using *p notation:
• Video codec
Here is the list of video codecs we support:
Note that we always set the right video codec associated to the right container for you. So unless you want HEVC or VP9, you can leave the video codec setting to us.
• Video bitrate
Default video bitrate if not specified:
The video bitrate must be given in kbps and always ends with
k. Value must be <
Default FPS if not specified:
0fps (=original FPS)
The FPS value must ends with
fps, here are the possible FPS you can provide:
0fps means keep original FPS.
Audio specs must be separated by the underscore character
_ and are all optional.
To disable audio, set the audio specs to
• Audio codec
Here is the list of audio codecs we support:
Note that we always set the right audio codec associated to the right container for you. However you can customize it if you need to.
• Audio bitrate
Default audio bitrate if not specified:
The audio bitrate must be given in kbps and always ends with
k. Value must be <=
• Sample rate
Default sample rate if not specified:
The sample rate value must ends with
hz, here are the possible sample rate you can provide:
• Audio Channel
Default channel if not specified:
Possible channel values are
• 2pass encoding
To enable 2pass encoding, you can set
2pass. For instance: