Simple Formats v2
Simple Formats, formerly Dynamic Formats, just got a major update that makes the need to create a format – the old fashioned way – totally useless and deprecated.
Unlike the first version, you can specify any format specs you need, including codecs, bitrates, FPS, sample rate, audio channels and even 2pass encoding option. But don't worry, with Coconut, we like to keep things simple, so 95% of the time, you will just customize the resolution as usual. Keep in mind that all those options are here for users having specific needs!
The syntax changed to support all possible options. However, we will continue to support the old one. You are still advised to update all the formats including v1 and the really old ones created via a form (with integer ID).
So here is the new syntax:
Instead of mixing video and audio settings, we choose to separate them with
:. Settings order becomes irrelevant, which is clearer and simpler while making available all possible options.
For example the popular format MP4 720p was written like this in the first version:
mp4_720p. Now it's
mp4:720p, so as you can see the change is small!
Let's see some more complicated examples to show you all the new possibilities that you couldn't do before:
|Set the audio bitrate to 256k|
|Disable the audio track|
|Use 2pass encoding while keeping the default audio specs|
|MP4 format with audio only at 64kbits and in mono channel|
|Disable the video track while keeping the default audio specs|
|WebM 720p with video bitrate = 1400kbps|
|Framerate is set to 15fps and the audio bitrate at 64kbits|
|WebM 1080p with audio bitrate at 256kbits, sample rate at 48000Hz and 2pass encoding enabled|
|MP4 HEVC with video bitrate at 2500kbits, framerate at 30fps, audio bitrate at 256|
|MP3 audio only format with mono channel|
|MP3 audio only format with sample rate set to 22050hz and mono channel|
|AAC audio only format at 256kbps|
|WAV audio only format with sample rate set to 48000hz|
To learn more about Simple Format various options, you can read the full documentation.