Skip to content

C++ console application that batch compresses video files using FFmpeg

Notifications You must be signed in to change notification settings

a13xe/BatchVideoCompress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

⚙️ Requirements

Before running this program, you must have FFmpeg installed on your system. Follow the installation instructions below for your operating system.

🔵 Installing FFmpeg on Windows

✅ Step 1. Download FFmpeg: direct download link.

✅ Step 2. Extract the downloaded ZIP file to desired location on your PC, such as C:\Program Files\FFmpeg

✅ Step 3. Press 'Win + R' and type:

SystemPropertiesAdvanced
  • Click 'Environment Variables...' button.
  • Under 'System variables', find and select 'Path', then click 'Edit'.
  • Click 'New' and add the path to the FFmpeg bin directory, e.g. C:\Program File\FFmpeg\bin
  • Click 'OK' to close all dialogs.

✅ Step 4. To verify the installation open CMD and type

ffmpeg -version
🔵 Installing FFmpeg on Linux

✅ Step 1. Open your terminal and run:

sudo apt update
sudo apt install ffmpeg

✅ Step 2. Verify the installation:

ffmpeg -version

🕹️ Usage

✅ Step 1. Run the prebuild version and proceed to step 3.

✅ Step 2. Compile and run:

git clone https://github.com/a13xe/BatchVideoCompress
cd BatchVideoCompress
g++ video_compress.cpp -o video_compress
./video_compress

✅ Step 3. Follow the on-screen prompts:

Screeenshotto