ccapture.js icon indicating copy to clipboard operation
ccapture.js copied to clipboard

mp4 option

Open theavijitsarkar opened this issue 9 years ago • 5 comments

Can we export as mp4?

theavijitsarkar avatar Apr 24 '16 17:04 theavijitsarkar

Not directly, because MP4 is not a supported format in browsers.

But you have a couple of options:

  • export WebM/Tar and convert to mp4
  • use ffmpegserver as frame encoder (haven't actually tested since the last refactor)

Let me know if it works!

spite avatar Apr 25 '16 23:04 spite

Hey the plotly graph i am capturing freezes when i try to capture and save using ffmpegserver

Codepen : http://codepen.io/rudi8292/pen/pbQpgA

I just copy pasted my code in test.html to try it out

rudresh-ajgaonkar avatar Aug 08 '16 20:08 rudresh-ajgaonkar

As I said, it's not tested. I don't support the FFMpegServer back-end for the time being, but you're welcome to fix it and do a PR.

spite avatar Aug 08 '16 21:08 spite

I was able to make a workaround using timeout around requestAnimationframe in Ccapture.js

rudresh-ajgaonkar avatar Aug 09 '16 17:08 rudresh-ajgaonkar

I wonder if this could be used to make mp4 in the browser: https://github.com/Kagami/ffmpeg.js ?

felixturner avatar Jan 26 '18 03:01 felixturner