question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Generated json is not good

See original GitHub issue

Hello,

Im using bodymovin since one year now and it always worked great.

I’m loading a png sequence of like 50 images, and creating a composition from here. From the composition I use bodymovin extension to export as json.

Latest chrome After effects 2015 CC => version 13.5.0.347

  • When trying to export GLYPHS and demo from my composition, bodymovin tell me rendering finished and ok but if I check the json its not good. Moreover I should have a folder (as it always did before) with exported png images to be able to play the animation in lottie (for xamarin c#)

Here is the generated json which should be like 50x times bigger with a reference to each image. Of course when playing it don"t see anything.

{"v":"5.3.3","fr":25,"ip":0,"op":56,"w":1280,"h":720,"nm":"Sun-SemiDarkCloud","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":9,"nm":"Sun-SemiDarkCloud_{00000-00055}.png","cl":"png","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[640,360,0],"ix":2},"a":{"a":0,"k":[640,360,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":56,"st":0,"bm":0}],"markers":[]}

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
bodymovincommented, Oct 4, 2018

when you import the sequence, you should import each image individually then add them ll to the composition and there are some commands in AE that let you sequence layers as you need

0reactions
vincentcastagnacommented, Oct 4, 2018

Ha! I’m a developper I’m a bit newbie with AE. So what should I do to have on layer per images instead of loading all pngs as a sequence? Thank you for your time!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why JSON isn't a Good Configuration Language - Lucidchart
Learn why JSON falls short as a configuration language and what you can use instead as you create a new application, framework, or...
Read more >
JSON Best practices - Medium
JSON is no doubt a flexible way to share data across systems. But that doesn't mean JSON can be created any way. Here...
Read more >
Why is it a bad practice to return generated HTML instead of ...
It is bad practice to send HTML if you end up parsing it client-side to do some calculations over it. It is bad...
Read more >
A beginner's guide to JSON, the data format for the internet
JSON isn't required by REST or GraphQL, both very popular API formats. However, they are often used together, particularly with GraphQL, where ...
Read more >
JSON and serialization - Flutter documentation
Manual decoding does not perform well when your project becomes bigger. ... You might want to use generated code for JSON serialization when...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found