1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Configure transcoding settings by folder
This guide presents the operation and configuration of the transcoding rules for the Infomaniak VOD/AOD service. This service allows you to store, manage, and stream your multimedia files online, while automating their encoding through a hierarchical folder system.
Preamble
- Each folder (root or subfolder) can be configured with specific transcoding rules that define how imported media will be encoded (video and audio).
- Media already imported will not be re-encoded if you modify the rules after the fact.
- The movement of a file to another folder does not result in re-encoding.
- To apply a new rule, you must replace or re-upload the file.
Configure encoding rules
To access the configuration of the encodings to be used for any media sent to the root:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the product in question.
- Click on Media in the left sidebar.
- Click on Media Management in the left sidebar.
- You arrive at the root folder; click on Configure:
- Default encoding rules are generally always presented.
- Click on the button to add new ones:
- Choose presets optimized for your uses โ or select the advanced mode to precisely define your parameters:
- Video: codec (H.264, H.265, VP9โฆ), resolution, framerate, bitrate, ratio.
- Audio: codec (AAC, MP3โฆ), bitrate, sampling frequency.
- Click on the field to select an encoding.
- Click on โ Create a custom encoding:
Name the rule, enter the audio/video settings according to your needs, you can control the behavior of the ratio (width/height ratio):
keep_ratio
: maintains the original ratio; if the requested dimensions do not match, black bars are added.copy
: preserves the original appearance without adaptation; if the resolution differs, the image may be distorted.fill
: the video is resized to occupy the entire resolution, maintaining the ratio; part of the image may be cropped (crop).stretch
: the video is resized to the requested resolution without respecting the ratio, which causes distortion.
Do not forget to validate to add the rule:
- The new rule is added, click the Save button to save the addition.
- If necessary, you can keep only this new rule and remove the previous rules by clicking on the action menu โฎ to the right of the concerned rules in the displayed table and then deleting them; the menu also allows you to review the details of your custom encoding, modify or rename them:
Inheritance of settings
If you set a configuration on the folder root, it will be automatically applied to all subfolders created within it, each folder inheriting the parameters of the parent folder by default. These encoding rules will therefore apply to the media you import into your VOD/AOD space, including if they are in a subfolder.
However, be careful, rules can be defined by folder, so a subfolder you create may apply specific encoding rules:
Deactivate inheritance at any time from the configuration page of the existing folder to define specific settings:
Example of use
It is possible to automatically separate the audio track from the video track during transcoding. This function is particularly useful for publishing an audio podcast from a video without having to perform a manual conversion.