Comments (4)
I find ffmpeg very fast to overlay the png sequence over a video (or background image). Not sure if that is an option but works well for me.
from puppeteer-lottie.
Can you give some more information about the environment you're running in? OS, RAM, Node.js version, etc?
What is the exact command or invocation you're using?
from puppeteer-lottie.
I am running on cloud server, with 2 CPU and 4Gb ram on Ubuntu 18 and Node version 10.x.
So i figured rendering frames into jpeg sequence works better for my use case also reduces the render time quite a lot but adding more compute resource doesn't yield better result.
Here is my code snippet -
renderLottie({
path: "data.json",
output: `tmp/%03d.jpg`,
height: 1080,
jpegQuality: 70,
puppeteerOptions: { args: ["--no-sandbox", "--disable-setuid-sandbox"] }
})
from puppeteer-lottie.
the same problem, render mp4 very slow, how to fix it?
from puppeteer-lottie.
Related Issues (20)
- image sequence not showing in exported mp4 or gif unless including in json (encoded) HOT 3
- I want to use it with php laravel, Can you guide how to do it. HOT 1
- Update to latest lottie HOT 5
- Array of tasks HOT 2
- Use CSS classes /ID's from After FX when rendering PNG sequence
- Fix output rate when rendering to mp4
- working with typescript HOT 3
- Support animated WebP HOT 3
- UnhandledPromiseRejectionWarning: Error: Node has 0 height. HOT 2
- MP4 Exports not running smoothly HOT 1
- How to support a mp3 file? HOT 1
- How to render a specific frame? HOT 5
- Can't make it work HOT 3
- issues implementing background color HOT 1
- Colours mismatched
- Add Audio to Mp4 output
- Protocol error (Page.captureScreenshot): Target closed. HOT 3
- Rendering with external src
- Use webcodec to accelerate lottie to video
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppeteer-lottie.