Gathering detailed insights and metrics for video-stitch
Gathering detailed insights and metrics for video-stitch
Gathering detailed insights and metrics for video-stitch
Gathering detailed insights and metrics for video-stitch
npm install video-stitch
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
72 Stars
34 Commits
27 Forks
4 Watching
4 Branches
6 Contributors
Updated on 23 Nov 2024
Minified
Minified + Gzipped
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
-14.2%
4,929
Compared to previous day
Last week
75.1%
44,514
Compared to previous week
Last month
-6.1%
128,246
Compared to previous month
Last year
9,404.4%
883,248
Compared to previous year
1
A node module that performs cutting, clips extraction, merging on videos using ffpmeg.
This module is tested against FFMPEG 3.x only. Later versions should work though but are untested at this point. Please test and report your findings.
Note that ffmpeg executable must be in your PATH for this module to work.
Video merge overwrites given clips on top of an original video and outputs the final video.
1'use strict'; 2 3let videoStitch = require('video-stitch'); 4 5let videoMerge = videoStitch.merge; 6 7videoMerge() 8 .original({ 9 "fileName": "FILENAME", 10 "duration": "hh:mm:ss" 11 }) 12 .clips([ 13 { 14 "startTime": "hh:mm:ss", 15 "fileName": "FILENAME", 16 "duration": "hh:mm:ss" 17 }, 18 { 19 "startTime": "hh:mm:ss", 20 "fileName": "FILENAME", 21 "duration": "hh:mm:ss" 22 }, 23 { 24 "startTime": "hh:mm:ss", 25 "fileName": "FILENAME", 26 "duration": "hh:mm:ss" 27 } 28 ]) 29 .merge() 30 .then((outputFile) => { 31 console.log('path to output file', outputFile); 32 });
Takes an original video, applies required cuts to exclude specified regions (clips) and gives you back the resulting clips of the originally cut video.
1'use strict'; 2 3let videoStitch = require('video-stitch'); 4 5let videoCut = videoStitch.cut; 6 7videoCut({ 8 silent: true // optional. if set to false, gives detailed output on console 9 }) 10 .original({ 11 "fileName": "FILENAME", 12 "duration": "hh:mm:ss" 13 }) 14 .exclude([ 15 { 16 "startTime": "hh:mm:ss", 17 "duration": "hh:mm:ss" 18 }, 19 { 20 "startTime": "hh:mm:ss", 21 "duration": "hh:mm:ss" 22 }, 23 { 24 "startTime": "hh:mm:ss", 25 "duration": "hh:mm:ss" 26 } 27 ]) 28 .cut() 29 .then((videoClips) => { 30 // [{startTime, duration, fileName}] 31 });
Takes a bunch of clips and joins them together.
1'use strict'; 2 3let videoStitch = require('video-stitch'); 4 5let videoConcat = videoStitch.concat; 6 7videoConcat({ 8 silent: true, // optional. if set to false, gives detailed output on console 9 overwrite: false // optional. by default, if file already exists, ffmpeg will ask for overwriting in console and that pause the process. if set to true, it will force overwriting. if set to false it will prevent overwriting. 10 }) 11 .clips([ 12 { 13 "fileName": "FILENAME" 14 }, 15 { 16 "fileName": "FILENAME" 17 }, 18 { 19 "fileName": "FILENAME" 20 } 21 ]) 22 .output("myfilename") //optional absolute file name for output file 23 .concat() 24 .then((outputFileName) => { 25 26 });
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
6 existing vulnerabilities detected
Details
Reason
Found 5/23 approved changesets -- score normalized to 2
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- 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
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-11-25
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