Get the dimensions of a video with ffprobe.
Requires the ffprobe binary installed.
var getDimensions = require('get-video-dimensions');
getDimensions('video.mp4').then(function (dimensions) {
  console.log(dimensions.width);
  console.log(dimensions.height);
})