Flag of Ukraine

Why do encoding presets have default resolutions?

All of our presets are designed for specific output resolutions. For example mp4/1080p is, as you'd expect, in 1080p. This means the video will be encoded to a width of 1920 pixels and a height of 1080 pixels.

If you're targeting a specific output format for a device, naturally that will come with a desired output resolution to match the device's resolution. Hence, why our presets come with a pre-defined resolution.

However, this will automatically enlarge the file if your video is smaller than what the preset dictates. If you're looking to avoid this behaviour, then you can do so with our /video/encode Robot's zoom parameter. Just set it to false.

If you really want to preserve your input video resolution and only want to use the other preset values, you can do so like this:

"preset": "mp4/1080p",
"width": "${file.meta.width}",
"height": "${file.meta.height}"

View more FAQs
Uppy
20% off any plan for the Uppy community
Use the UPPY20 code when upgrading.
Sign up
tus
20% off any plan for the tus community
Use the TUS20 code when upgrading.
Sign up
Product Hunt
20% off any plan for Product Hunters
Use the PRH20 code when upgrading.
Sign up