This is a simple node server and library that sends canvas frames to the server and uses ffmpeg to compress the video. It can be used standalone or with CCapture.js.
- Install nodejs
- clone this repo or download and unzip the zip
- cd to the repo and type
npm install
- type
node start.js
The server is now running.
To see it in work, go to "http://localhost:8080/test3.html"
In whatever JavaScript program you want to capture from
<script src="http://localhost:8080/ffmpegserver/ffmpegserver.min..js"></script>
<script src="http://localhost:8080/3rdparty/CCapture.min.js"></script>