Jaume Sanchez

Results 143 comments of Jaume Sanchez

I guess I don't understand why you need to create a new Frame Encoder. Why doesn't the current JPEG/PNG encoder work for your needs?

You can follow the structure defined in CCFrameEncoder (https://github.com/spite/ccapture.js/blob/master/src/CCapture.js#L128) to build your own frame encoder. Are you storing the frames in memory, sending them to a server...?

You would need to draw the video in the canvas so CCapture can grab both, since it only deals with the content of a canvas tag.

Not compression, but there's a quality setting or gif.js. It works with the quality setting when creating a capturer. If you want to decrease it, create it with quality of...

Yes, the problem is that I'm assuming that the effects are usually timed with an audio or video track, so those elements are modified to drive the time, not to...

Do you have an example that I can check?

I'll take a look as soon as possible, hopefully this weekend. I'll keep you posted!

You can use timeLimit together with framerate to get the number of frames you want. That error you're getting it's possibly because the capturer is not getting frames. Why do...

You mean saving as downloading to your disk, or you mean keeping them in localStorage accessible somehow? If there's a save option, there should be a load option. What kind...

Haha, yes. I wanted to add that to: publish to JSBin or CodePen, but I hadn't looked into options. It's nice that there's an API for that. It would be...