1.0.4 • Published 1 year ago

video-compressor v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Video Compressor

This package is used to reduce the size of the videos in your project. After including this package to the project, you must provide the input and output file paths as parameter of compress method. Later, when you upload video to the path you specified as input in your project, this package compresses and reduces the size of large video files you upload. Compressed video files are added to the file path you specify as output. As a result, only compressed videos are contained in the output folder.

Installation

Install my-project with npm

npm install video-compressor

Usage/Examples

const videoCompressor = require('video-compressor')
videoCompressor(input,output)
ParameterTypeDescriptionExample
inputstringRequired. input video file upload path"src/public/video"
outputstringRequired. output compress video file save path"src/public/compressVideo"

🚀 Example

https://github.com/iremaslandogan/video-compressor-example.git

Related

Here are related project

Awesome README