Skip to content
This repository has been archived by the owner on May 31, 2020. It is now read-only.

caffco/get-video-dimensions

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

get-video-dimensions

NPM version Build status Test coverage Dependency Status License Downloads Gittip

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);
})

About

Get the dimensions of a video

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%