Skip to Content

Output formats

In Plainly, you have the flexibility to control the output format of your rendered video. This includes options for video encoding, resolution, quality, and other properties that can be customized to suit your needs.

The render output format options are accessed through the top right button in the single render form, and can be configured as well using batch rendering, integration-based invocation or API.

The output format can also be set on a template level, which means that every time you render a video from that template, these options will be applied.

Default behavior

By default, Plainly will render out a video in the MP4 format using the following encoding properties:

  • libx264 codec for video encoding (yuv420p pixel format)
  • aac codec for audio encoding
  • frame rate of 25fps

Render format is controlled by the Output Format settings, and there are three ways you can control and adjust the rendering format to your needs.

  1. Use presets for output format
  2. Use After Effects output module settings
  3. Use post encoding settings

Output module settings can be combined with post encoding settings. However, if neither is defined Plainly will use the default behavior mentioned above.

Use presets for output format

The first way and easiest is to use presets for output format, which are pre-defined combinations of output module and post encoding settings. These presets can be found by switching to the Presets under the Output Format settings.

Currently, the available presets are:

NameDescription
MP4 (H.264, 15 Mbps, Constant Bitrate)Good quality video with a constant bitrate of 15 Mbps, standard for Full HD videos. Uses HQ output module and custom post encoding settings.
MP4 (H.264, 5 Mbps, Variable Bitrate)Lower quality video with a variable bitrate of up to 5 Mbps, faster renders. Uses H_264 output module.
MP4 (H.264, 40 Mbps, Variable Bitrate)High quality video with a variable bitrate of up to 40 Mbps, standard for 4K videos. Uses H_264_MAX_BIT_RATE output module.
MOV (ProRes 422, High Quality)High quality video in MOV format. Uses HQ output module.
Transparent MOV (ProRes 4444 with Alpha)High quality video with alpha channel in MOV format. Uses HQ_ALPHA output module.
GIF - High QualityHigh quality GIF animation. Uses custom post encoding settings.
Original After Effects outputUses original After Effects output with a variable bitrate of up to 5 Mbps, without any additional encoding.

Use After Effects output module settings

The second way is to explicitly control the output of the After Effects rendering process. If an output module is set during rendering, Plainly will provide the exact video produced by After Effects without any additional encoding by default. This provides a few benefits:

  • Get original frame rate, as defined in an After Effects project rendering composition.
  • Get output with an alpha channel.
  • Get faster rendering times when no additional encoding is specified, but then the video file size will be larger.

Output module settings can be found by switching to Manual settings on the Output Format settings.

Currently, the available options for output module are:

NameVideo extensionAPI value
H.264 - Match Render Settings - 5 Mbps.mp4H_264
H.264 - Match Render Settings - 15 Mbps.mp4H_264_HIGH_BIT_RATE
H.264 - Match Render Settings - 40 Mbps.mp4H_264_MAX_BIT_RATE
High Quality.movHQ
High Quality with Alpha.movHQ_ALPHA

API cURL example - Create render with output module Developer guide

curl -X POST \ -H "Content-Type: application/json" \ -u "[API_KEY]:" \ -d '{ "projectId": "[PROJECT_ID]", "outputFormat": { "outputModule": "H_264_HIGH_BIT_RATE" } }' \ https://api.plainlyvideos.com/api/v2/renders

Use post encoding settings

The third way is to use post encoding settings, which add an additional step of encoding the video output by After Effects using the FFmpeg  library.

Post encoding settings can be found by switching to Manual settings on the Output Format settings.

There are a few different post encoding types you can use:

NameDescriptionAPI type
DefaultThis will render out a video using the default settings mentioned above.default
NoneThis explicitly defines that no additional encoding should be done, and you’ll get original video as produced by After Effects.none
SmallestThis will render out a video using the smallest possible file size, with an acceptable quality using H.265 codec.smallest
CustomThis allows you to define custom encoding settings on your own.custom
ScaleThis allows you to scale the video to a desired resolution.scale
CaptionsThis allows you to attach captions to your video, and can be used with other post encoding types.
Should not be used directly, use the Captions render option.
captions

API cURL example - Create render with no post encoding Developer guide

curl -X POST \ -H "Content-Type: application/json" \ -u "[API_KEY]:" \ -d '{ "projectId": "[PROJECT_ID]", "outputFormat": { "postEncoding": { "type": "none" } } }' \ https://api.plainlyvideos.com/api/v2/renders

API cURL example - Create render with smallest post encoding Developer guide

curl -X POST \ -H "Content-Type: application/json" \ -u "[API_KEY]:" \ -d '{ "projectId": "[PROJECT_ID]", "outputFormat": { "postEncoding": { "type": "smallest" } } }' \ https://api.plainlyvideos.com/api/v2/renders

Custom encoding

Custom encoding settings can be defined using one of or both of the following parameters:

  • Encoding format - this is the short name of the encoding format you want to use and where encoding parameters are pre-defined. Currently, the available options are MP4, MP4_H265, MP4_OFR, GIF, MOV, MXF, which will result in a video being delivered in the desired format.
  • Encoding parameters - any custom FFmpeg encoding parameters you want to use, allowing you to have full control over the encoding process.

If both encoding format and parameters are provided, the final video format will be determined by the format, however the provided parameters will be used as additional encoding parameters.

The MP4_OFR encoding format stands for “original frame rate” and will keep the original frame rate of the After Effects composition being rendered.

API cURL example - Create render with custom post encoding Developer guide

curl -X POST \ -H "Content-Type: application/json" \ -u "[API_KEY]:" \ -d '{ "projectId": "[PROJECT_ID]", "outputFormat": { "postEncoding": { "type": "custom", "encodingFormat": "MP4", "encodingParamsLine": "-c:a aac -b:a 192k" } } }' \ https://api.plainlyvideos.com/api/v2/renders

Scale resolution

If you want to scale the resolution of the rendered video, use the Scale post encoding type.

Provide a percentage as the scaling factor, which can range from 1 to 400. A scaling percentage of 100% keeps the video at its original resolution, while lower values reduce and higher values increase the resolution.

For example, if you want to scale the video down to 50% of its original size, set the scaling percentage to 50. To scale the video up to twice its original size, set the scaling percentage to 200.

API cURL example - Create render with scale post encoding Developer guide

curl -X POST \ -H "Content-Type: application/json" \ -u "[API_KEY]:" \ -d '{ "projectId": "[PROJECT_ID]", "outputFormat": { "postEncoding": { "type": "scale", "scalingPercentage": 50, } } }' \ https://api.plainlyvideos.com/api/v2/renders

Draft render

If you want to quickly check how the video looks, you can use the draft render option. This renders a video in half resolution and lower quality, but it completes much faster.

The draft render option is available under Settings Template of the Output Format settings, and currently it’s free of charge.

For the fastest rendering times, you can use the draft render option combined with None post encoding type.

API cURL example - Create draft render Developer guide

curl -X POST \ -H "Content-Type: application/json" \ -u "[API_KEY]:" \ -d '{ "projectId": "[PROJECT_ID]", "outputFormat": { "settingsTemplate": "DRAFT" } }' \ https://api.plainlyvideos.com/api/v2/renders