Lottie Animation Timing Mismatch in Video Output
I have the following views in my main view that I recorded using the library:
- One Lottie animation that plays once, and I am adding custom images using ImageProvider in Lottie.
- Texts in random positions.
- GIF stickers in random positions.
- The background has an image (sometimes a colour).
Now, I am facing the following problems while recording the view:
- My Lottie animation is 0.8 seconds long, but it creates a 1-second video.
- My other Lottie animation is 3 seconds long, and it creates a 3-second video.
The main problem is that the video does not show the animation the same way it appears in the Lottie animation (my Lottie includes some delay, but in the video, the animation plays earlier).
I have checked on the following devices and iOS versions:
Devices:
- iPhone 13,
- iPhone 15, 15 Pro, 15 Pro Max,
- iPhone 16, 16 Pro,
iOS versions: 17.3, 18.4.1
@ptxmac @frolovilya I am also facing this kind of problem, where it's finishing Lottie animation in a different duration with images that are captured with a camera and any other downloaded images however total duration of lottie animation is same for both but the point is it's finishing animation at diffrent duarion, for lottie that include images which are captured from camera is finish it's animation earlier in video and for lottie that include images which are not captured from camera is finish it's animation not at end but at almost end of video so it should be show start and finish it's animation as same as in lottie in video not earlier or just before end