A simple command-line tool to compress and optimize video files.
npm install hsa-video-compressorA command-line tool for compressing and optimizing video files. This utility reads video files from a specified directory, compresses them, and saves the optimized versions to another specified directory. It uses the FFmpeg library to support common video formats such as .mp4, .mov, .avi, and .mkv.
Reads video files from the input directory.
Saves optimized and compressed videos to the specified output directory.
Supports video formats: .mp4, .mov, .avi, .mkv.
Allows user-defined video quality and resolution.
Uses FFmpeg for fast and efficient video processing.
To install the project globally, use the following command:
npm install -g hsa-video-compressor
hsa-video-compressor -i
## Parameters