Prerequisites
Before installing Video Compressor, ensure you have the following installed on your system:- Node.js (version 14 or higher recommended)
- npm (comes with Node.js)
- Git (for cloning the repository)
FFmpeg binaries are included via the
ffmpeg-static package, so you don’t need to install FFmpeg separately.Installation steps
Navigate to the project directory
Change into the project directory:
The actual directory name is
videocompressor (one word, lowercase).Install dependencies
Install all required npm packages:This will install:
electron(v25.0.0) - The desktop application frameworkfluent-ffmpeg(v2.1.2) - FFmpeg wrapper for Node.jsffmpeg-static(v5.0.0) - Bundled FFmpeg binaries
Verify installation
To verify that everything is installed correctly, start the application:Project structure
After installation, your project directory will look like this:Troubleshooting
Node.js version issues
If you encounter errors during installation, ensure you’re using Node.js version 14 or higher:Permission errors
On Linux or macOS, you may need to usesudo when running npm commands, or configure npm to install packages globally without sudo.
Missing videooutputs directory
If you see errors when compressing videos, make sure you created thevideooutputs directory in the project root:
Next steps
Quickstart guide
Learn how to compress your first video