motion-vector

1.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i motion-vector

Weekly Downloads

0

Version

1.0.1

License

MIT

Last publish

Collaborators

  • piercus