ffprobe-duration

0.1.0 • Public • Published

ffprobe-duration

Yet another NodeJS module that retrieves the duration of video/audio assets.

Note: Requires ffprobe binary installed and accessible via CLI.

Install

$ npm install --save ffprobe-duration

Usage

const getDuration = require('ffprobe-duration');
 
const duration = await getDuration('http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_30fps_normal.mp4');
 
console.log('Duration:', duration);

CLI

duration http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_30fps_normal.mp4

Readme

Keywords

Package Sidebar

Install

npm i ffprobe-duration

Weekly Downloads

3

Version

0.1.0

License

none

Unpacked Size

1.48 kB

Total Files

3

Last publish

Collaborators

  • laggingreflex