How to loop a video more smoothly?

Staging render id: 5bf0eb24-b900-4aca-a0da-a79d4de4182c

This video has a shorter video repeated 3 times. I would like to be able to loop it smoothly, but I noticed that animation is pretty choppy when the video repeats. Is this due to the issue of dropping the last few frames of a video that was mentioned in Luma matte lower third not rendering properly - #3 by Derk ? Is there any way to work around this to make the looping smoother?

Yes, this is affected by the same issue where the last few frames are being dropped. The solution for now is to extend the end of your animation with half to 1 seconds worth of static frames.

To test this I downloaded your animation, added the last frame several times to the end to create this:

I then tested it with the following JSON and now the animation loops without the jump at the end.

{
    "output": {
        "format": "mp4",
        "fps": 25,
        "size": {
            "width": 1080,
            "height": 1440
        },
        "destinations": [
            {
                "provider": "shotstack",
                "exclude": true
            }
        ]
    },
    "timeline": {
        "tracks": [
            {
                "clips": [
                    {
                        "start": 0,
                        "length": 2.986667,
                        "asset": {
                            "type": "video",
                            "src": "https://shotstack-customer.s3.ap-southeast-2.amazonaws.com/looping-audio-extended.mp4"
                        }
                    },
                    {
                        "start": 2.986667,
                        "length": 2.986667,
                        "asset": {
                            "type": "video",
                            "src": "https://shotstack-customer.s3.ap-southeast-2.amazonaws.com/looping-audio-extended.mp4"
                        }
                    },
                    {
                        "start": 5.973334,
                        "length": 2.986667,
                        "asset": {
                            "type": "video",
                            "src": "https://shotstack-customer.s3.ap-southeast-2.amazonaws.com/looping-audio-extended.mp4"
                        }
                    }
                ]
            }
        ]
    }
}

Here is the output video:

Another way to do this is to create the loop as a single video in Premiere or another video editing application rather than do it in Shotstack. Then use the pre-looped file instead.

Something like this:

This assumes your video will be less than a minute long however.