A simple, zero-dependency HTML utility that generates custom, single-line FFmpeg commands to batch compress and convert video folders across Windows, macOS, and Linux.
Born from a quick fix. I built this lightweight tool to stop manually editing terminal scripts for batch video compression. Open it in your browser, tweak your FFmpeg settings (paths, codecs, CRF, presets), and copy a ready-to-run command. No installation, no extra software.
- 💻 Cross-Platform: Supports Windows (CMD & PowerShell) and macOS/Linux (Bash/Zsh).
- ⚙️ Fully Customizable: Choose video codec (H.264 / H.265), CRF value, preset, audio codec, bitrate, output folder, and more.
- 📋 One-Click Copy: Instantly copy the generated command to your clipboard.
- 🔒 100% Local & Private: Everything runs directly in your browser. No files, paths, or data are uploaded.
- 🚀 Zero Dependencies: A single HTML file with no installation, frameworks, or build tools required.
The generated commands require FFmpeg to be installed and accessible from your terminal.
Open Command Prompt or PowerShell and install FFmpeg using Winget:
winget install Gyan.FFmpegIf FFmpeg is already installed, update it with:
winget upgrade Gyan.FFmpegNote: If
wingetis not recognized, install App Installer from the Microsoft Store:https://apps.microsoft.com/detail/9nblggh4nns1?hl=fr-FR&gl=FR
Using Homebrew:
brew install ffmpegUbuntu / Debian:
sudo apt update
sudo apt install ffmpegFedora:
sudo dnf install ffmpegArch Linux:
sudo pacman -S ffmpeg- Clone or download this repository.
git clone https://github.com/anonymousxptdr360/ffmpeg-batch-generator.gitOr download it as a ZIP from GitHub.
-
Open
index.htmlin your favorite web browser. -
Enter the path to your video folder.
Example:
Windows
C:\Users\YourName\Desktop\Videos
macOS / Linux
/home/username/Videos
-
Select your preferred encoding settings.
-
Click Copy Command.
-
Paste the generated command into your terminal and run it.
The tool generates optimized batch commands that can:
- Compress entire folders
- Convert video codecs
- Preserve or re-encode audio
- Keep the original folder untouched
- Create converted files in a new output directory
No scripting knowledge required.
This tool works entirely offline.
- No analytics
- No tracking
- No network requests
- No server
- No data collection
Everything happens locally in your browser.
This project is licensed under the MIT License.
See the LICENSE file for details.
GitHub: