1.0.0 • Published 6 years ago
get-video-info-url v1.0.0
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
})
1.0.0
6 years ago