lottie-web icon indicating copy to clipboard operation
lottie-web copied to clipboard

png sequence problems

Open GamePIN741 opened this issue 2 years ago • 7 comments

Ok, so I'm trying to use the bodymovin plugin to export a png sequence as a .json file for website integration with protopie, and after a long convoluted road that involved many many hours of hopeless research I thought I had found the solution with bodymovin, but when I render the image sequence there are frames with errors that just have the .png file indicator on them instead of the image, i've rendered this probably a hundred times and the errors seem to be in random places each time, they persist between platforms and I've looked and looked for hours and hours and hours to find a solution, but every post is just the same noobs having the same problem because they didn't check a box literally every tutorial tells you to check, so I couldn't find a solution, which brings me here. so tl:dr, random frame errors, no online solutions I can find, help me After Effects 2023, newest version of bodymovin, idk, my adobe subscription ran out and it needs to be renewed, windows 10 image Untitled Project.zip

GamePIN741 avatar Dec 24 '22 02:12 GamePIN741

hi, it seems you've shared only the project but not the assets needed. Do you have a link with the lottie rendered animation that I can check?

bodymovin avatar Jan 10 '23 00:01 bodymovin

yea, I can upload it https://drive.google.com/drive/folders/1oxRUWkG9NircaqwHGL7MvIb2mFk553q7?usp=sharing have to use google drive, because github has a 25mb limit, and its a 45mb file

GamePIN741 avatar Jan 11 '23 05:01 GamePIN741

thanks, do you have a link with the implementation running to check it out?

bodymovin avatar Jan 13 '23 21:01 bodymovin

got it running in protopie cloud https://cloud.protopie.io/p/eee72aad83f8c0644b00bf45

GamePIN741 avatar Jan 13 '23 21:01 GamePIN741

it does look like there are some images missing from the render. The drive folder you shared seems to be incomplete also, can you make sure all the files are there?

bodymovin avatar Jan 13 '23 21:01 bodymovin

I can confirm that there is a problem with rendering long png sequence, let say 90 unique files. Win, AE23, BM 5.12.2, include assets with compression. BM 5.10 gave the same problem. After exporting, some random frames/images are missed (from 0 to about 10) inside JSON. Only one solution works good: compress files out of AE and copy PNGs as original assets checkbox - no one missed.

On macOS, all files are exporting and including, but compression works much worse than on Win. Standard 80 compression gives about +300% of original compressed files. So better to compress files out of AE and copy PNGs as original assets checkbox.

BTW is there a way to control/setup _HIDDEN X-Factor 8 Premul export method? It has just wonderful compression abilities on Windows, doesn't work good on macOs, so interesting to play with it somehow.

d-korolkov avatar Jul 11 '23 18:07 d-korolkov

Did you fix the issue?

Schmulek avatar Jan 14 '24 17:01 Schmulek