Skip to content

iTroy0/WebP-Converter

Repository files navigation

WebP-Converter

A simple, beautiful, and powerful tool to convert animated WebP images into videos (.mp4, .mkv, .webm, .gif).

WebP to Video Converter

Python Version License GitHub Stars


About

WebP to Video Converter is a modern, easy-to-use tool for converting animated .webp images into high-quality .mp4, .mkv, .webm, or .gif files.

Built in Python with a dark-themed UI using CustomTkinter, direct FFmpeg encoding via imageio-ffmpeg, and image handling by Pillow. Originally based on Dunttus' webptomp4.


Features

  • Convert animated WebP images to .mp4, .mkv, .webm, or .gif
  • Resolution presets: 480p, 720p, 1080p, 4K, or custom dimensions
  • Adjustable FPS (1-60) and compression quality (CRF 18-30)
  • Combine multiple WebP files into a single output
  • Animated preview with click-to-pause
  • Cancel running conversions instantly
  • Per-file status indicators in the queue
  • Keyboard shortcuts: Ctrl+O add files, Delete remove, Escape cancel
  • Settings persist between sessions
  • Modern dark UI
  • Standalone EXE/binary build via PyInstaller
  • Cross-platform: Windows, macOS, Linux

Quick Start (Windows)

Download the portable EXE from Releases — no install required.


Run From Source

Requires Python 3.9+ with pip.

Windows

# Option A: use the interactive menu
start.bat

# Option B: manual
pip install -r requirements.txt
python webp_converter_gui.py

Linux / macOS

# Make the script executable (first time only)
chmod +x start.sh

# Option A: use the interactive menu
./start.sh

# Option B: manual
pip install -r requirements.txt
python3 webp_converter_gui.py

Build Standalone Binary

Windows

Run start.bat and choose option 2 (Build Standalone EXE). The output will be at dist/WebP Converter.exe.

Linux / macOS

chmod +x start.sh
./start.sh
# Choose option 2

The output will be at dist/WebP Converter.


Project Structure

File Purpose
webp_converter_gui.py Main application
requirements.txt Python dependencies
start.bat Interactive launcher/builder (Windows)
start.sh Interactive launcher/builder (Linux/macOS)
install_requirements.bat Quick dependency install (Windows)
app_icon.ico Application icon

Support

If you find this project helpful, feel free to buy me a coffee!

Buy Me a Coffee


Credits


License

This project is licensed under the MIT License. Feel free to use, modify, and share!


Made with ❤️ by Troy

About

A simple, beautiful, and powerful tool to convert animated WebP images into videos (.mp4, .mkv, .webm, .gif).

Topics

Resources

License

Stars

Watchers

Forks

Packages