motionVector
FFmpeg (libavutil & libavformat) based Video Motion Vector analysis for node js
Installation
sudo apt-get install libavutil-dev
npm install motion-vector
Dependencies
To build this pacakge, you should have dev packages for libavutil & libavformat installed.
Usage
var motionVector = require("./build/Release/motion-vector.node"); motionVector.getVector("input.m4v", [42], function(a,b,c,f){ if(a.vectors){ } else { console.log(a.framenum);//42 }});
Contribute
- Add an issue
- Add a Pull request