1.0.0 • Published 6 years ago

get-video-info-url v1.0.0

Weekly downloads
32
License
ISC
Repository
-
Last release
6 years ago

get-video-info-url

:video_camera: Get informations from a video in nodejs (dimension, duration, codec, etc...)

It works with local files and url.


Install

npm i -S get-video-info

Usage

const getVideoInfo = require('get-video-info-url')

getVideoInfo('http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4').then(info => {
  console.log(info.format.duration) // => 10.007000
})