scaleTo on output is always 1080p

Hi, I’m trying to scale down the video at the output with “scaleTo” like:

 "scaleTo": "mobile"

But the output response file is always at 1080? So I’m not sure how to get a smaller resolution / size file?

Are you creating a square video (1:1 aspect ratio)?

There is currently a bug that causes 1:1 videos to not scale with scaleTo.

The work around for now when scaling is to set a custom size that is not 1:1, i.e.:

"output": {
    "format": "mp4",
    "size": {
        "width": 1082,
        "height": 1080
    },
    "scaleTo": "mobile"
}

This will be out by a couple of pixels but not noticeable to the eye. When you want to output the full resolution you can set the width back to 1080.

We will have this bug fixed soon however.

Also note that scaleTo is best used for creating previews. If you plan to render your final videos at mobile size videos will render faster if they are prepared at mobile size also.

Thanks for responding back. I’m creating a 1080x1920 vertical video.

    "output": {
        "format": "mp4",
        "size": {
            "width": 1080,
            "height": 1920
        },
        "scaleTo": "sd"
    }

So this is my output but when I run this I don’t get the smaller file size and the resolution it’s always the same file with 1080p resolution.

OK, I suspect then this is a bug when the width is less than the height. We will need to spend some time investigating and fix the issue as soon as we can.

@woozie - this issue has now been resolved.