HISE Logo Forum
    • Categories
    • Register
    • Login

    Lottie Animation JSON not Loading, HISE Crashes

    Scheduled Pinned Locked Moved Bug Reports
    10 Posts 5 Posters 580 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DabDabD
      DabDab
      last edited by

      I have prepared a simple Lottie animation. But when I am trying to load it in HISE, it keep crashing. Here is the file (JSON).

      RBGC.zip

      Bollywood Music Producer and Trance Producer.

      ustkU StraticahS 2 Replies Last reply Reply Quote 0
      • ustkU
        ustk @DabDab
        last edited by

        @DabDab Where does this JSON come from? There are 1.8 million characters in it 🙄

        Can't help pressing F5 in the forum...

        DabDabD orangeO 2 Replies Last reply Reply Quote 1
        • DabDabD
          DabDab @ustk
          last edited by DabDab

          @ustk From After effects and Lottie Files

          RGBC2.gif

          Bollywood Music Producer and Trance Producer.

          1 Reply Last reply Reply Quote 0
          • orangeO
            orange @ustk
            last edited by orange

            @ustk said in Lottie Animation JSON not Loading, HISE Crashes:

            There are 1.8 million characters in it 🙄

            I think that's the reason of the crash :) It took 3 seconds to load just for the preview the code in Safari. That JSON code should be much lighter, so maybe this animation is too complex for this.

            develop Branch / XCode 13.1
            macOS Monterey / M1 Max

            1 Reply Last reply Reply Quote 0
            • StraticahS
              Straticah @DabDab
              last edited by

              @DabDab also it seems that you have used blur, hise is not able to convert lottie blur into a layer. I made the experience that lotties work best which are made without any effects that do not apply to opacity or shape. Gradients and morphing is no problem. Also particles are possible if the spheres have a low amount of splines. Be aware tho that HISE will convert the lottie which does loose some features that may be available in after effects.

              building user interfaces in HISE :)
              web: www.vst-design.com

              DabDabD 1 Reply Last reply Reply Quote 0
              • DabDabD
                DabDab @Straticah
                last edited by

                @Straticah Nope ! even lottie files doesn't support such effects. so I didn't use any blur to produce animation (directly). What I did was, I rendered all frames( all effects) as image sequences and then imported it back to AE. Then I made lottie files.

                Bollywood Music Producer and Trance Producer.

                orangeO 1 Reply Last reply Reply Quote 1
                • DabDabD
                  DabDab
                  last edited by

                  Now this lottie is not loading in HISE.

                  const lottie = "2101.nT6K8CF5rzUP.nDSvzfJvyJtMvxHktrF1CP8n0Jt0.PsL79y.d4Uf2PwthHhHVT39nqwYfmAdoDAgC.1.rK.EP.VRkjmiCpHmmDFTfbHmbRupPMqyFd22ELjjdqHJdOWbjHAM4rTwnqTxbTHLlF0lGWXQIEXU3.UQjzRwnQNWn.xAD3WZYhTzCFNTVJlIHS45L21u9sy4P8UMVOKOQjbnfw6AEFTlTwggUEQbnLfFnHGp3H4AYfkpw5ohyBlXkwSZBkUFVff7P0XI8djjbjPhmHXwyBnGrTMVUrHYoXzrUMVSvAoZrtLYoXXqpwJZhkhYJxShJVpFKmkhYwTLQlZAAnjdnLggmIuGjikpwhhUFpFKm2SkkhY8Xi8R0XcwJi.LuSManyadzo4EY6aeQMWFxz1CHmsLghb71UHjK3D7tz4ojHd5UMKHN8SjWzyEnHGjdrH5I4n.IGIoigLsQw7MG8Oy2g8hNaWAXAFrvATIf.HvAATK3X.PzPABPutGJTXw4E4gA5kUjnIWC6N6RFae2ULSSXpcad7TLdqRrcWHLTjBSVYjqjAgGKNTbPULSOIFxEKfzHWVJjoUkHnIjr3D0fo1QhqP58sUEiSWQOUiJxDIWbhL.EJSXnRDVJlrULYDJSnXldjn3LgDm2CpF0CpHnWjGGnVX.ArWaLjwI5sigJyZjcQFgCGYiyczPRsoME4to4Zpnm6u86n9o+OxRMULM7ZCWV6Zsd8GcOioywjYlaTc6GSswwvs0vz5NFYO6n58u31oawj8LQW+e1zJyJ5WTwh8bZ3DjdpvjUFNRhD8TQjSkjcmae3b7CHIFOXJ+XZRyJPlfDYBor4RnrMQOI7.DpHZvgiFXXMQKIwakJJrtm+ald23pqyLqstVuaNEwYLpcSqI9bq4a+eKwsaTLMlacMF.fIHO7.+LqcF2s8Npb6QWcNQ2pHydUa0csQlmbiMF6Vxv76GYMmnubiot0g6iuisuSr0naYuKc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gU0PytEYq.V.WBLGJegYk01hXmUwqv0ShHfSqqTihmDeWK5Tq8PtZY.Cyqtncgwl4GKHaF8MrIGzGu8pcMqjrGystBTA9ZPDK+wdrDFNk5KQyfTLxOshvgxiZenPXRkU9eDQZWWEWVO6i09C5z+JjxpDfvS6jrBP+ClHCf.Gjqy5fmuHR3ENhQM2PYMuOVglgG8vh3pLR.w26ICg0j3BNaQwKfC3OxwuCVPvr.mv3nzFlcxQaFSjVLnIMIhlwmC1aXuwuwobXXbpbBTncMrYmy9f2ELg3MQem2B7Et8kQSNYXTE+n6T8j7mEfb4Qz6En.IKuu3i3HeVzJXpUL8xTw38LE4HAd85eg96KOA.Rx.X9Cr7y.RbtzHpLhuwh3l+AR6Ne.l0XZuxgvj1KKHmYv6CAFu0P0q1FK.33efLmtPhAw0jBRdbUTLNycL6Ml3sRkEe4+Kz51uCLtM.5tNyeFsEBTbO5VLoz2vFERCrHsOEAVTdn7L0mO+t1TDBFl7zlp2EvtAIQowBxLQTV5vs5AzMZ51BB682wBxgNDibhpaMqre2p0r6HVWGu+H3AvXLfIy7tlpFZVU9tOrj.uJXTWbr8Xze2DVH1pxwXYegD5iKxyr5mYcf5gKjSU3GPFdMBK3NObXK.sbI8wqQuZfy4ho+ZR5QASUOzParQd23aY4cyj6i+k.Ecnu6YoZ1c.6TmNleXIyL8QAgh8J7qYNuvXlTlMO.";
                  
                  const var Panel1 = Content.getComponent("Panel1");
                  Panel1.setAnimation(lottie);
                  
                  
                  

                  Bollywood Music Producer and Trance Producer.

                  Dan KorneffD 1 Reply Last reply Reply Quote 0
                  • Dan KorneffD
                    Dan Korneff @DabDab
                    last edited by

                    @DabDab the animation data says:

                      "active": false,
                      "currentFrame": 0,
                      "numFrames": 0,
                      "frameRate": 0.0
                    

                    I don't think it was converted properly.

                    Dan Korneff - Producer / Mixer / Audio Nerd

                    DabDabD 1 Reply Last reply Reply Quote -1
                    • DabDabD
                      DabDab @Dan Korneff
                      last edited by

                      @Dan-Korneff I will make a screen rec shortly. Correct me please what I am doing wrong.

                      Bollywood Music Producer and Trance Producer.

                      1 Reply Last reply Reply Quote 0
                      • orangeO
                        orange @DabDab
                        last edited by

                        @DabDab said in Lottie Animation JSON not Loading, HISE Crashes:

                        What I did was, I rendered all frames( all effects) as image sequences and then imported it back to AE. Then I made lottie files.

                        Lottie files are vector based. I am not sure the image to lottie will work in Hise.

                        With After Effects, it works here but all of the layers are paths (shapes), not images.

                        develop Branch / XCode 13.1
                        macOS Monterey / M1 Max

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        26

                        Online

                        1.7k

                        Users

                        11.7k

                        Topics

                        102.0k

                        Posts