Use this notebook that has been edited for this guide
Make sure to run PowerShell as Administrator.
| /* | |
| * Water Canvas by Almer Thie (http://code.almeros.com). | |
| * Description: A realtime water ripple effect on an HTML5 canvas. | |
| * Copyright 2010 Almer Thie. All rights reserved. | |
| * | |
| * Example: http://code.almeros.com/code-examples/water-effect-canvas/ | |
| * Tutorial: http://code.almeros.com/water-ripple-canvas-and-javascript | |
| */ |
| import org.json.*; | |
| import java.net.*; | |
| import java.util.Iterator; | |
| import processing.video.*; | |
| PImage bg; | |
| MovieMaker mm; | |
| JSONObject data; | |
| double west = -3.414001; |
| if (bRecordAudio && bRecordVideo){ | |
| ffmpegAudioThread.waitForThread(); | |
| ffmpegVideoThread.waitForThread(); | |
| //need to do one last script here to join the audio and video recordings | |
| stringstream finalCmd; | |
| finalCmd << ffmpegLocation << " -y " << " -i " << filePath << "_vtemp" << movFileExt << " -i " << filePath << "_atemp" << audioFileExt << " "; | |
| finalCmd << "-c:v copy -c:a copy -strict experimental "; |
Use this notebook that has been edited for this guide
Make sure to run PowerShell as Administrator.