Transloadit
Pricing
Log in
Sign up
EssentialsRobotsFAQAPIFormats

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 🤖/video/encode'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}"

See also:

Can Transloadit host my files?
MD5 is not a secure hashing algorithm, why are you using it?
How are my Amazon S3 credentials protected?
Transloadit
© 2009–2026 Transloadit-II GmbH
Privacy⋅Terms⋅Imprint

Product

  • Services
  • Pricing
  • Demos
  • Security
  • Support

Company

  • About / Press
  • Blog / Jobs
  • Comparisons
  • Open source
  • Solutions

Docs

  • Getting started
  • Transcoding
  • FAQ
  • API
  • Supported formats

More

  • Platform status
  • Community forum
  • StackOverflow
  • Uppy
  • Tus