Comments (9)
Also @spite, I've generally loved using this project -- thank you so much for your excellent work!!
from ccapture.js.
I haven't tried anything of the sort. Technically ccapture takes a canvas, so as long as you can produce one -or equivalent-, you should be good. For 2d canvas ,there's a few node modules, and for 3d, i've heard good things about headless-gl. If you can check those out for your case and report the results, I'm open to modify whatever is needed to get it working!
from ccapture.js.
Did anyone managed to run it headless?
I tried to run it with phantom.js but I have issues when capturing frames :
- my socket to ffmpegserver.js is disconnected at the very beginning
- if I use png + tar, Tar.append fails with an empty input
from ccapture.js.
If you can set up a repo with an example using phantom.js, i will take a look. Thanks!
from ccapture.js.
Thanks, preparing it right now!
from ccapture.js.
Here it is: https://github.com/cblavier/ccapture_headless
from ccapture.js.
For anyone trying to use headless chrome with this project, note that currently headless chrome doesn't support file downloads (issue).
from ccapture.js.
@fisch0920 I guess that's for the new chrome headless, not for phantom.js? does the rest work on chrome headless?
from ccapture.js.
@spite yes, this is related to the newer chrome headless, not phantom.js. Note that the rest works fine on chrome headless as far as I can tell, you just need to do some extra work to transfer the captured results to your server for processing as opposed to downloading it directly. I'm using websockets to accomplish this.
from ccapture.js.
Related Issues (20)
- How to record canvas asynchronously? HOT 1
- Is it possible to do capturing in a Web Worker thread? HOT 1
- Capture an audio-reactive application HOT 3
- using CCapture to render a javascript starfield animation as a webm file HOT 2
- .tar is empty HOT 1
- gif transparency?
- How to use it with Lottie ?
- I have an error message in Terminal when I roll up with CCapture HOT 1
- Usage with React: .start() causes window.requestAnimationFrame to stop working. HOT 2
- "Seeked" event doesn't trigger on html5 video when CCapturer is on HOT 4
- Angular NPM WebMWriter not defined HOT 2
- Error: Uncaught [TypeError: window.CCapture is not a constructor] HOT 1
- rangeerror maximum call stack size exceeded ccapture
- Uncaught (in promise) ReferenceError: download is not defined
- ReferenceError: window is not defined HOT 2
- How can I record the canvas background
- CCapture with setInterval not working
- how can i record again without reloading the page?
- CCapture package can't be installed thru npm
- What is workers path? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ccapture.js.