ccapture.js
ccapture.js copied to clipboard
mp4 option
Can we export as mp4?
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!
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
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.
I was able to make a workaround using timeout around requestAnimationframe in Ccapture.js
I wonder if this could be used to make mp4 in the browser: https://github.com/Kagami/ffmpeg.js ?