Node.js Canvas Movies

22 views
Skip to first unread message

Juro Dobrik

unread,
Jan 21, 2021, 1:40:06 AM1/21/21
to pap...@googlegroups.com
Have somebody done something like from Paper.js with animation to rendered Video?

I'm interested in said subject, but every dependency from toolchain to do this is currently unfunctional on recent node and I cannot get the old one.

Samuel ASENSI

unread,
Jan 21, 2021, 3:36:10 AM1/21/21
to pap...@googlegroups.com
I never done something like that but I think that a good first step can be to use the node examples of the repository example (e.g. "/examples/Node.js/AnimatedStar.js") that output each animation frame as a dedicated file and then process those files with a video encoder library.

Le jeu. 21 janv. 2021 à 07:40, Juro Dobrik <juro.d...@gmail.com> a écrit :
Have somebody done something like from Paper.js with animation to rendered Video?

I'm interested in said subject, but every dependency from toolchain to do this is currently unfunctional on recent node and I cannot get the old one.

--
You received this message because you are subscribed to the Google Groups "Paper.js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to paperjs+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/paperjs/CAH3DL%3DuL-Z4boNvuSo%3DTE7LTtUHtjQCOh-ehDnun9FGfFEJj6A%40mail.gmail.com.


--
    Samuel ASENSI

Juro Dobrik

unread,
Jan 21, 2021, 3:38:27 PM1/21/21
to pap...@googlegroups.com
It's streamed PNG, that's something to work with, but if MP4 encoder ware implemented there with newest compression algo it would hurt nobody...

It would save whole disk space of PNG pictures if they ware directly encoded in the process.

št 21. 1. 2021 o 9:36 Samuel ASENSI <asensi...@gmail.com> napísal(a):

Samuel ASENSI

unread,
Jan 25, 2021, 2:50:50 AM1/25/21
to pap...@googlegroups.com
I guess that you can create a stream, feed it each frame with the raw canvas content and pipe that into a proper encoder ?



--
    Samuel ASENSI

Juro Dobrik

unread,
Jan 25, 2021, 7:16:43 AM1/25/21
to pap...@googlegroups.com
Encoder? ffmpeg can get piped in png's?

po 25. 1. 2021 o 8:50 Samuel ASENSI <asensi...@gmail.com> napísal(a):

Juro Dobrik

unread,
Jan 25, 2021, 9:14:59 AM1/25/21
to pap...@googlegroups.com
Does js-dom-canvas supports graphic acceleration?

po 25. 1. 2021 o 13:16 Juro Dobrik <juro.d...@gmail.com> napísal(a):
Reply all
Reply to author
Forward
0 new messages