Output Groups
An output group is a named set of output definitions saved on a converter. It contains codecs, frame rate, resolution, and container. Output groups go into the job payload when you launch a workflow. The destination path is chosen at launch time. Saved groups are reusable presets.
Endpoints
| Method | Path | Description | Scope |
|---|---|---|---|
GET |
/converters/{converter}/output_groups |
List paginated output groups | output_groups:read |
POST |
/converters/{converter}/output_groups |
Create an output group | output_groups:write |
GET |
/output_groups/{outputGroup} |
Get an output group | output_groups:read |
PUT/PATCH |
/output_groups/{outputGroup} |
Update an output group | output_groups:write |
DELETE |
/output_groups/{outputGroup} |
Delete an output group | output_groups:write |
DELETE |
/converters/{converter}/output_groups |
Delete several output groups at once | output_groups:write |
Anatomy
An output group is a name and a list of outputs. Each output is one
produced file/rendition:
| Field | Description |
|---|---|
extension |
File extension of the output (mp4, m4a, m3u8...) |
nameModifier |
Output file name: appended to the destination's file name, or used as the full file name on a directory destination (see below) |
videoDescription |
Output video: width, height, codecSettings |
audioDescriptions |
Output audio tracks: inputSelectorKey + codecSettings. A selector no input satisfies fails the job |
containerSettings |
format + moovPlacement (MP4 progressive download) |
captionDescriptions |
Subtitle outputs: sidecar (SRT, WebVTT), streamed or burned in; burn-in requires a re-encoded video |
Selectors that no input satisfies fail the job. See When a launch fails.
Example
A 720p H.264 MP4 with AAC audio:
{
"name": "720p H.264",
"outputs": [
{
"extension": "mp4",
"nameModifier": "_720p",
"videoDescription": {
"width": 1280,
"height": 720,
"codecSettings": {
"codec": "VIDEO_CODEC_H264",
"bitrate": 3000000,
"rateControlMode": "RATE_CONTROL_MODE_VBR",
"profile": "PROFILE_PASSTHROUGH",
"qualityTuningLevel": "QUALITY_TUNING_LEVEL_SINGLE_PASS",
"gopSettings": { "gopModeControl": "GOP_MODE_CONTROL_AUTO" }
}
},
"audioDescriptions": [
{
"inputSelectorKey": "default",
"codecSettings": { "codec": "AUDIO_CODEC_AAC", "bitrate": 128000, "sampleRate": 48000 }
}
],
"containerSettings": {
"format": "CONTAINER_FORMAT_MP4",
"moovPlacement": "MOOV_PLACEMENT_PROGRESSIVE_DOWNLOAD"
}
}
]
}
Several outputs in one group produce several renditions of the same input.
An example is a 1080p/720p/480p ladder. For adaptive streaming, use an
M3U8 or MPD container. Add segmentGroupSettings to the destination at
launch time. See
Workflows & Runs.
Output file names
Launch resolves the final file name. It comes from the group's
destination, the output's nameModifier and the input file:
| Destination | nameModifier |
Resulting file name |
|---|---|---|
s3://bucket/out/video.mp4 |
_720p |
video_720p.mp4: the modifier is appended to the destination's file name |
s3://bucket/out/ |
_720p |
_720p.mp4: the modifier is the full file name |
s3://bucket/out/video.mp4 |
(empty) | video.mp4 |
s3://bucket/out/ |
(empty) | the input's file name, e.g. movie.mp4 |
The extension follows the same precedence. The output's extension comes
first. Then the destination's. Then the container's default. The service
sanitizes and deduplicates names within a group (_1, _2...). A modifier
cannot escape the destination. It cannot collide with a sibling output. For
HLS/DASH groups, the group's name prefixes the renditions.
Enum values
The example above uses the constant names (VIDEO_CODEC_H264...). The API
accepts their numeric value too. Find the full list of enum values in the
API reference: https://developer.infomaniak.com/docs/api. This page keeps
only the concepts. It stays in sync with the API as codecs evolve.
Related Documentation
- Workflows & Runs: launching with output groups
- Billing & Consumption: pack gating on codecs and resolutions