Motion Effect Bug

I think I found a bug with the “Slide” Effect. I made a template with an image at 50% scale in the center of the viewport with a small offset and applied the “SlideLeftSlow” to it. The result DID slide left slowly, but it also lost the scaling (going full-screen), and probably also lost the the offset (hard to be certain for a full-screen image in a short demo).

Here’s the template JSON used:

{
    "timeline": {
        "background": "#000000",
        "tracks": [
            {
                "clips": [
                    {
                        "asset": {
                            "type": "image",
                            "src": "https://shotstack-ingest-api-stage-sources.s3.ap-southeast-2.amazonaws.com/7q5g79h2g8/zzyalkej-1u0v-i10b-o1zp-1kw1we3acjnl/source.png"
                        },
                        "transition": {
                            "in": "fade",
                            "out": "fade"
                        },
                        "fit": "crop",
                        "scale": 0.5,
                        "start": 1,
                        "length": 12
                    }
                ]
            },
            {
                "clips": [
                    {
                        "asset": {
                            "type": "image",
                            "src": "https://shotstack-ingest-api-stage-sources.s3.ap-southeast-2.amazonaws.com/7q5g79h2g8/zzyalkfr-0p03-031p-iwvj-3ksqjv05wwqm/source.png"
                        },
                        "transition": {
                            "in": "fade",
                            "out": "fade"
                        },
                        "fit": "crop",
                        "filter": "greyscale",
                        "offset": {
                            "x": 0.01,
                            "y": -0.01
                        },
                        "scale": 0.5,
                        "opacity": 0.2,
                        "start": 1,
                        "effect": "slideLeftSlow",
                        "length": 12
                    }
                ]
            },
            {
                "clips": [
                    {
                        "asset": {
                            "type": "image",
                            "src": "https://shotstack-ingest-api-stage-sources.s3.ap-southeast-2.amazonaws.com/7q5g79h2g8/zzyaljzr-16pb-os1q-k7rw-0pbnzy1pcesr/source.png"
                        },
                        "transition": {
                            "in": "fade",
                            "out": "fade"
                        },
                        "offset": {
                            "x": 0,
                            "y": 0
                        },
                        "position": "center",
                        "scale": 1,
                        "start": 1,
                        "length": 12
                    }
                ]
            },
            {
                "clips": [
                    {
                        "asset": {
                            "type": "image",
                            "src": "https://shotstack-ingest-api-stage-sources.s3.ap-southeast-2.amazonaws.com/7q5g79h2g8/zzyalkij-4v76-fs1s-rrnv-3lfk5o0jrd1t/source.jpg"
                        },
                        "start": 0,
                        "offset": {
                            "x": 0,
                            "y": 0
                        },
                        "position": "center",
                        "scale": 1,
                        "length": 14
                    }
                ]
            }
        ]
    },
    "output": {
        "format": "mp4",
        "resolution": "sd"
    }
}

Here’s the render:
RENDER ID: 88305da4-9e7f-417f-abee-e02b57b71578

It’s admittedly a pretty cool effect, but probably still a bug.

Sounds like that could be a bug or an oversight. The effect was designed mainly to do Ken Burns style effects where the image needs to fill and be bigger than the output video size so it can be panned. Scaling it wasn’t really considered. We’ll need to investigate a fix. Thanks for reporting.