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

  1. Copy the video you want to compress into the input folder.

  2. Run:

go run .
  1. The compressed video will be saved in the output folder 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.

Built With

Share this project:

Updates