A simple web app to convert videos from H.264 to H.265 encoding, significantly reducing file size while maintaining quality.
H.265 (HEVC) is the successor to H.264 (AVC). It offers better compression, allowing for smaller file sizes or higher quality at the same bitrate. This project uses FFmpeg to convert videos from H.264 to H.265.
# Install ffmpeg
sudo apt update && sudo apt install -y ffmpeg
# Install Bun (for macOS, Linux, and WSL)
curl -fsSL https://bun.sh/install | bash
- Make sure you have docker installed
cd video_compress/backend
docker build -t video_compress .
docker run -p 5000:5000 video_compress
cd video_compress/frontend
bun install
bun run build
bun run preview
- Start the backend and frontend.
- Open the web app in your browser.
- Upload an H.264 video.
- Download the converted H.265 video.
Enjoy!