Closed overtake closed 5 years ago
So. weird thing is there. Sometimes this file has artefacts (right eye). Its looks like problem in parsing model because if we relaunch app and try to play again (without cached model) its may be fine or with artefact (doesn't matter creating new player or not)
@overtake , I tested by disabling the threading (by commenting LOTTIE_THREAD_SUPPORT in config.h) but the occasional hang is still there. Yet to figure out on which frame it occurs . looks like the final path calculation after transform resulting some path that freetype raster is unable to process.
If the eye is the problem . could you please create a resource file by disabling all other layer except right eye. and send it to me for further debugging. or you can send me the AE file if thats ok with you . either one will help.
can you reproduce the hang?
i asked the illustrator for source file
the another thread always stuck here
perhaps problem is here:
Yes I can reproduce it .. its in the freetype raster code. just want to know which path causing this.
will wait for the resource file
@smohantty there is a source file bunnyta kiss cutted 2.aep.zip
the sticker contains bones (controller) maybe its connected?
@overtake , am using After Effect CC 2018. the AEP file you provided is created using a newer version. Could you ask them to save it as CC(18) or lower and send it to me.
Thanks
@overtake , one update .. in Layer "eyes" -> "blue outline" --> group6 --> path1 uses expression for path animation. we don't support expression in rlottie. I don't know if that is the problem or something else . need to debug more tomorrow. FYI , I see usage of "merge path" and expression in the AE file . currently rlottie dosen't support both.
Ok, thanks you very much. Waiting updates. More import to explore deadlock and find what the break the calculations.
@overtake , I have pushed a fix for the same .. it was silly typo which was causing invalid memory access :(
Great to hear it. Thank you for you work!
On Wed, 19 Jun 2019 at 02:11, Subhransu notifications@github.com wrote:
@overtake https://github.com/overtake , I have pushed a fix for the same .. it was silly typo which was causing invalid memory access :(
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Samsung/rlottie/issues/141?email_source=notifications&email_token=AAJT2MST7UJKHSMH6MNQ75LP3F2SBA5CNFSM4HY5QJBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYAJ3TI#issuecomment-503356877, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJT2MRSDW7GYJXFA5CK22LP3F2SBANCNFSM4HY5QJBA .
So... About simple typos...
Hm now she's right eye is gray. its blue on one frame.
@overtake , Sorry was too much into the dead lock :) .. Have push a patch to take care of the scenario when we transition from 1 shape to other (of different size).
i understand, small typos can take such lot of time. But! Finally fixed! Thank you man! Also i'm using your framework in Telegram messenger (macos.telegram.org) for playing animated stickers in chat. and its working fasten than any other frameworks.
@overtake , Wow that's great news :) Is it already part of the MacOS Telegarm Application. Would like to check it out :)
https://rink.hockeyapp.net/apps/6ed2ac3049e1407387c2f1ffcb74e81f
here you can test a lot stickers it in beta. https://t.me/topanimated channel.
thanks :)
@overtake Is it open source code? Could you share me the link? I'd like to see how rlottie is integrated in your project.
@hermet is it. but i'm updating code on git after each release.
https://github.com/overtake/TelegramSwift
i just made a new submodule and project for rlottie. For example here how i pulling the frames from the library. And for playing i have wrote player which pulling frames in background to samplebuffer
So. dead lock still there ;(