Creative coding using JavaScript
- Install
ffmpeg-installer
module for storing frames as mp4npm i -g @ffmpeg-installer/ffmpeg
- Run following command to start the server for streaming
canvas-sketch filename.js --output=output_path --stream
- Once the server is started. Press the following command to start and stop the stream capture:
- start:
ctrl + shift + s
orcmd + s
- stop:
ctrl + shift + s
orcmd + s
- start: