go-video-compressor
Video Compressor
A simple video compression tool built with Go.
It takes a video from the input folder, compresses it using FFmpeg, and saves the compressed version in the output folder.
Features
- Compress videos
- Analyze video information
- Show compression results
- Calculate space saved
- Simple command-line interface
Technologies
- Go
- FFmpeg
- FFprobe
How It Works
Place the video you want to compress inside the input folder.
Run the program from the terminal, and it analyzes and compresses the video using FFmpeg.
The compressed video is automatically saved in the output folder.
The original video remains unchanged.
Usage
Copy the video you want to compress into the
inputfolder.Run:
go run .
- The compressed video will be saved in the
outputfolder with information about the original size, compressed size, space saved, and reduction percentage.
Project Structure
go-video-compressor/
├── cmd/
├── internal/
├── input/
├── output/
├── experiments/
├── go.mod
└── README.md
What I Learned
This project helped me understand video processing, file handling, FFmpeg, FFprobe, compression, and working with Go.
Author
Temple Kehinde
Software Engineering Student and Developer.


Log in or sign up for Devpost to join the conversation.