Gathering detailed insights and metrics for ffmpeg-on-progress
Gathering detailed insights and metrics for ffmpeg-on-progress
Gathering detailed insights and metrics for ffmpeg-on-progress
Gathering detailed insights and metrics for ffmpeg-on-progress
Utility for robustly reporting progress with fluent-ffmpeg.
npm install ffmpeg-on-progress
Typescript
Module System
68.1
Supply Chain
77
Quality
74.8
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
140,497
Last Day
17
Last Week
416
Last Month
1,715
Last Year
39,815
14 Stars
13 Commits
4 Forks
4 Watchers
1 Branches
1 Contributors
Updated on Jan 10, 2024
Minified
Minified + Gzipped
Latest Version
1.0.0
Package Id
ffmpeg-on-progress@1.0.0
Unpacked Size
4.42 kB
Size
2.09 kB
File Count
7
Cumulative downloads
Total Downloads
Last Day
70%
17
Compared to previous day
Last Week
-10.7%
416
Compared to previous week
Last Month
-38.7%
1,715
Compared to previous month
Last Year
165.1%
39,815
Compared to previous year
Utility for robustly reporting ffmpeg command progress with fluent-ffmpeg.
Some ffmpeg commands aren't capable fo producing progress events, such as when the input is a stream or when using multiple inputs. This simple utility allows you to accurately report progress in these cases by looking at the number of frames ffmpeg has processed with the caveat that you need to know the expected output's duration ahead of time.
In cases where fluent-ffmpeg produces a valid progress event, this module is a noop.
1npm install --save ffmpeg-on-progress 2# or 3yarn add ffmpeg-on-progress
1const ffmpeg = require('fluent-ffmpeg') 2const ffmpegOnProgress = require('ffmpeg-on-progress') 3 4const logProgress = (progress, event) => { 5 // progress is a floating point number from 0 to 1 6 console.log('progress', (progress * 100).toFixed()) 7} 8 9// estimated duration of output in milliseconds 10const durationEstimate = 4000 11 12const cmd = ffmpeg('input.avi') 13 .output('output.mp4') 14 .on('progress', ffmpegOnProgress(logProgress, durationEstimate)) 15 .run()
MIT © Travis Fischer
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no SAST tool detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/13 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
54 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-05-19
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More