get-video-width-height

2.0.0 • Public • Published

get-video-width-height

Get the width and height of a video with ffprobe. Requires the ffprobe binary installed.

var getDimensions = require('get-video-width-height');

getDimensions('video.mp4').then(function (dimensions) {
  console.log(dimensions.width);
  console.log(dimensions.height);
})

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.0
    152
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.0
    152
  • 1.0.1
    3
  • 1.0.0
    2

Package Sidebar

Install

npm i get-video-width-height

Weekly Downloads

139

Version

2.0.0

License

MIT

Unpacked Size

3.38 kB

Total Files

4

Last publish

Collaborators

  • clearisoft