Jaume Sanchez

Results 143 comments of Jaume Sanchez

@axaq if you don't need to sync to a video or audio element, you can comment out this whole block: https://github.com/spite/ccapture.js/blob/master/src/CCapture.js#L719

That's because how GSAP instruments Date.now, I think i can recall. If someone can upload a codepen with the issue i can take a look. Just in case, make sure...

You're perfectly free to do that. On Thu, 21 Oct 2021 at 16:49, Rolands Laucis ***@***.***> wrote: > I would just record my browser screen with a free tool like...

I'm not really sure (I haven't done the ffmpegserver part). From the documentation, "name" is the valid parameter, so it should work. May be @greggman can help...

Interesting. Could you post a working online example of what you're trying? It'll help me debug and figure out what's going on.

Not really, but as long as you render to a canvas with non-frame dependant animations, and pass the canvas to CCapture, you should be good.

It might be similar to https://twitter.com/thespite/status/733254647922753536 Can you post code that i can run to try to reproduce the issue?

i took a look at your code. where are you calling `capturer.capture(canvas)` ? you need to pass the canvas every time you step your animation

I'm not familiar with p5.js, a working online example would help. The fist thing i see is "frameRate(45);", what does that do? It feels like it could be also handling...

yes, render method is where you draw, where you update the canvas, so draw() should be fine. If you can´t refer the canvas, then that´s a problem, because CCapture needs...