Coder Social home page Coder Social logo

bodymovin-extension's Introduction

bodymovin-extension

Bodymovin UI extension panel

Development

  1. Setup AE for debugging extensions (guide)
  2. Install the CEF client you'll need for remote debugging
  3. Install extension dependencies (npm i)
  4. Install server dependencies (cd bundle/server && npm i)
  5. Run npm run start-dev
  6. Open the CEF client and navigate to http://localhost:8092

The extension window will now hot-reload and you can use the devtools in the CEF client.

bodymovin-extension's People

Contributors

ashikase avatar bodymovin avatar dan-shields avatar fmalita avatar manan-jadhav avatar mbasaglia avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bodymovin-extension's Issues

Rendering fails if the "Render Queue" isn't empty

This is mentioned in #14 (comment) and #29 (comment), however, I feel it doesn't stress the severity of this issue.

It took me a couple of days to realize what was happening, because renders would fail occasionally, depending on where / how I obtained Ae-Project files.

If this problem exists, there should be a warning / error message about this situation.
If it can't be tested for programmatically, it should be reported as possible cause when the render fails.
Ideally this issue wouldn't exist at all, with bodymovin being able to work even if the "Render Queue" isn't empty.

"debugger" not working

image

It's not working in Developer Tools when I use the keyword of debugger
file path: bundle/jsx/utils/sourceHelper.jsx

Bodymovin stuck on exporting sequence

Hi there I made an C4D sequence and tried exporting it with Bodymovin in AE 2019 as a Lottie JSON.. but it repeatedly gets stuck around frame 120 of 244. Does anyone know how to fix this? (My first time using bodymovin and it hasn't worked yet)
bodymovin not working

After Effect 2015 Blank Panel

Hello,

I want to use bodymovin but, when I go on "windows>extensions>bodymovin" a blank panel is opening. After resizing and waiting nothing happens.

  • I installed it with an zxp installer.
  • I also added the "playerdebugmode" registrykey.

Can anyone help me out?

image

How to optimize After effects for export?

Problem: after exporting from after effects to Lottie via Bodymovin,
I'm getting this error report from Google Page Optimizer:

image

I basically imported from Adobe XD to After Effects.
I'm thinking on possible causes:
XD is not generating optimal SVG files. Possibly need to simplify them manually by reducing the code and nodes.
Too many nested comps and layers in After Effects

Failed to read the 'responseText' property from 'XMLHttpRequest' (bodymovin)

Uncaught SyntaxError: Unexpected token '<'
This is the error which comes after this code:-

<script src="https://cdnjs.cloudflare.com/ajax/libs/bodymovin/5.6.6/lottie.js"></script>

var animation = bodymovin.loadAnimation({
container: document.getElementById('anim'),
renderer:'svg',
loop: true,
autoplay: true,
path: 'data.json'
})

Reply ASAP

Bodymovin renders animation but nothing shows when viewed - Update: resolved, but animation has lag

Hello,

I made a generate stroke path to animate a reveal of some text. when rendering in Bodymovin it completes the render and outputs the JSON file but nothing shows when I try to use it or preview it on http://lottiefiles.com/preview .

I have included a mov file of how I'd like it to look, the AEP file and the JSON file outputted by Bodymovin

Thanks for your help, and for creating such a great plugin!

Update: Managed to get it to work by converting text to vector shape by right clicking > create > convert to vector shape. However there is lag towards the end of the animation.

animation attempt.zip

Alpha inverted track matte contents showing in .json

Hi,

Love what Bodymovin makes possible, thanks!

Sure this is an issue on my end, with the way I'm setting up my AE layers, but when I run the .json file on my web page, the masking track mattes (Alpha inverted) show up as black strokes, even though they're hidden in the comp.

I think the issue might stem from using a stroke width animation to reveal each letter the way I want to (a build from inside to out).

I've seen past advice about adding a transparent rectangle, but can't work out how to apply this on my layers tbh!

Thinking it would be better to create a mask layer, but can't work out how to animate that from inside to out in the same way as using a stroke width tween, especially as you can't stroke a mask layer directly in AE.

(I've also tested a different approach on a 'z' with a mask on a text layer with stroke effect - no joy either)

Any help appreciated! Comp attached.

Track matte issue.aep.zip

Include in json export not working

Hey! I've really enjoyed using this plugin over the past few years, it's been a great way to include animations in projects.

Recently came across something that seems like a bug. When exporting compositions with images the option to include assets in the json file used to convert the image to json. This was working a few days ago but now no longer works. Instead, it links to an external image instead of converting it.

Thoughts?

[bodymovin-extension y ZXP Installer.exe] instalacion fallida AYUDA!!

Hola... alguien que me diga que versión de la aplicación o extensión necesito para que esto funcione?
instalacion fallida porque la extensión no es compatible con la aplicación instalada

Descargados de este mismo servidor...

Weird issue with the letter "E" in names

Hi, I'm not sure if this is the right repository (this issue is related to the JSON exporter, not the Lottie player), but I've found an interesting bug.

I converted some text to a Shape, applied a gradient fill to it and then exported the JSON file. Somehow, the gradient got messed up on one of my letters ("E") and turned into the default black-to-white gradient.

Renaming the "E" layer to something else fixes that, so I'm guessing this particular letter being present in the layer name is what's causing this issue.

I'm attaching the AEP and the exported JSON below.

badGradient.zip

AVD file ending earlier than the actual animation

Hi,

I used an animation from the lottie files and got lottie and avd exports from it. I used bodymovin to get the avd export. However, the animation is ending earlier than what I have on the AE file. I tried a few times to and the results are the same. The lottie export works fine, but the avd is not. I'm just newly starting to use the bodymovin extension so is there anything I can do, do you have any suggestions?

Error with animation (skipping frames)

i am trying to export my animations as Lottie JSON files but with most compositions i have animation errors (skipping frames)
i am using the latest available version of bodymovin on aescripts which are Bodymovin 5.4.2 on After Effects version CC 2018
please help me identify this issue, i've uploaded the lottie files exported and the Aep file.

Lottie.zip
Arabic words Composer (Lesson 5).zip

Thanks for the amazing efforts

Blacked blank window when lauch Bodymovin

Hello!
Have a problem couldn’t find a solution.
When I’m launching Bodymovin plugin, only blank black window appears.
What it may be and how can I fix it?
After Effects cc 2018
image

Many thanks!

debug mode can't log

image
Enter react app in localhost and 8092 port. then open the console
Help! I have no idea how it was!

Stale properties for certain effects

Under specific conditions, exported properties for certain effects do not match the AE values. So far I've seen this happening for "Levels" (ADBE Easy Levels2) and "Hue/Saturation" (ADBE HUE SATURATION).

Identified trigger conditions:

  • the effect is applied inside a precomposition
  • the AE project is freshly (re) loaded

Since Bodymovin uses the same approach to export all effects data, I kinda suspect this is a problem in AE's JSX/data binding layer.

One workaround I found is to manually open the effect options panel (essentially just double-click the layer effect) - this seems to ensure the correct effect property values are visible for subsequent exports.

E.g. see attached project:

  • one precomp red solid layer, with a Levels effect
  • the only modified effect property is "Output white: 0.0" (smash colors to black)
  • thus, the correct rendering is a black rectangle

Steps to repro:

Installation failed

Installation failed because the extension is not compatible with the installed applications.

이미지 1

win 1909
After Effects 2020

Second layer (reversed keyframes) not showing up when exporting?

Hi! I seem to be having an issue with the second half of my animation exporting properly through bodymovin
The first half works fine and looks great, but I had duplicated the layer and used time stretch to reverse the keyframes to reverse the movement of my character and it doesn't seem to pick up the second layer at all.
Still kinda new to this! Am I doing something wrong?
photographer.aep.zip

Thank you!!

JSON file not matching with the animation in ae

@bodymovin hello, I was trying to export a simple blob animation as such using bodymovin plugin from ae, but the final JSON file seems not matching with the animation that I wanted. I rendered with a demo(HTML) and it's absolutely frustrating such as images. (It became flatten) The composition is 3 blobs moving for 10 sec, and 1 white text on the top with the drop shadow. Please advise me!

Untitled 2
Untitled

Making it easier to process multiple compositions

We have an AE file that is generated automatically, with multiple compositions. When we open the Bodymovin extension to export them to Lottie, the following steps are a bit tedious:

  • we need to click and select each comp
  • we need to set the Destination Folder for each comp
  • in the Destination Folder dialog we need to set the correct name for each comp as it defaults to data.json

A way to select all comps and a way to set the destination folder for all would be really helpful. Also, we couldn't get the "Use comp name" option to work, could you let us know how that is expected to work? Thanks a lot.

Document how the "Reports" feature works

I'd have thought that the "Reports" feature would report failures during export (such as #57 or unsupported features). However, my report always remains empty.

The "Import Report" button also implies a different workflow.

What is the "Report" feature meant for? What does it do? When to use it?

incorrect ae composition for text animation

Hi,

I am trying to export my after effects composition to .json using bodymovin. When I try rendering my text animation, my layers appear scrunched together. The bodymovin preview mode also stopped working so I've included screenshots of my original .ae file as well as a screenshot on how the animation appears post-rendering.

Screen Shot 2020-05-20 at 5 21 09 PM

Screen Shot 2020-05-20 at 5 20 47 PM

Problem to 3D export

Use rotation 3d object (coin) in video animation and reverse side is mirrored during using already generated code. Also receiving error with "You're using a 3D camera" and we try html render but it gave empty results.

photo_2020-05-12_15-24-51
3D 2.zip

Issue with exporting AE animation

I keep trying to export the Serving Platter Comp or Serving Platter Animation, and the animation continuously renders as blank. I checked the supported features and everything I'm doing in the animation is supported, so I'm not entirely sure what's going on. I'm not too familiar with coding, etc. so I'm not sure if I'm missing something. Below I've attached my AEP file and the exported JSON for the Serving Platter.

Copia Connect - Icon Animations.aep.zip

data.json.zip

How to Debug in PlayerDebugMode

Hi, I want to add some new features in bodymovin. So I opened PlayerDebugMode and moved bodymovin-extension folder to ~/Library/Application Support/Adobe/CEP/extensions. But it didn't work. I could not find "Bodymovin" in AE-> window->Extensions. I think manifest.xml is in a wrong path. Please help me. Thank you.

Unable to setup on local machine!

Hi @bodymovin ,
I cloned, install all dependencies and tried running this project with yarn start and yarn start-dev. However, I am getting an error while running locally. Below is the error that I am getting.

(index):9 Uncaught ReferenceError: require is not defined
    at (index):9
(anonymous) @ (index):9
CSInterface.js:445 Uncaught TypeError: Cannot read property 'getHostEnvironment' of undefined
    at Object.<anonymous> (CSInterface.js:445)
    at __webpack_require__ (bootstrap 6df4f1cbce6922b8a831:555)
    at fn (bootstrap 6df4f1cbce6922b8a831:86)
    at Object.<anonymous> (CSInterfaceHelper.js:1)
    at __webpack_require__ (bootstrap 6df4f1cbce6922b8a831:555)
    at fn (bootstrap 6df4f1cbce6922b8a831:86)
    at Object.<anonymous> (CompositionsProvider.js:1)
    at __webpack_require__ (bootstrap 6df4f1cbce6922b8a831:555)
    at fn (bootstrap 6df4f1cbce6922b8a831:86)
    at Object.<anonymous> (Render.jsx:10)

Thanks in advance.

got an error when processimage

ae version: cc 2019

hello sir:
Please help me. debugger log the error when extension start:
Failed to load resource: net::ERR_CONNECTION_REFUSED [http://localhost:3119/ping/]

when call imageProcessHelper.js/compressImage, the debugger report an error:
image

This repo's manifest.xml points to AE version <= 16.9 (not 17.0)

Hi hernan,

I wanted to do a pull request for this and update the manifest.xml's like so:

            <Host Name="AEFT" Version="[13.0,99.9]" Port="8093" />
            <Host Name="AEFX" Version="[13.0,99.9]" Port="8093" />

Because this repo currently reads at AEFT <= v16.9:

            <Host Name="AEFT" Version="[13.0,16.9]" Port="8093" />
            <Host Name="AEFX" Version="[13.0,16.9]" Port="8093" />

I noticed the installed ZXP from aescripts was already updated:

            <Host Name="AEFT" Version="[13.0,17.9]" Port="8093" />
            <Host Name="AEFX" Version="[13.0,17.9]" Port="8093" />

We're now on AEFT v17.0, which might explain the influx of Issue filings lately about the extension install failing assuming the source is coming from this repo or a slightly old download from aescripts. I noticed that my new fork of this repo shows v5.5.5, whereas a semi-recent aescripts.com download ZXP shows v5.5.9.

I'd like to do some maintenance and pull requests to the panel, like fixing the UI themes to dynamically match the host app exactly (I have an npm package exposing CSS variables for this). Can we verify this repo is up to date with the latest version and commit?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.