A TUI tool for converting/compressing media files using FFMPEG and GitHub Copilot
Project description
Conviertlo
FFMPEG Copilot Converter
conviertlo is a powerful Terminal User Interface (TUI) tool that lets you convert and compress media files using natural language instructions. Powered by FFMPEG and GitHub Copilot, it translates requests like "compress this video to under 25MB" or "convert these images to PNG" into precise FFMPEG commands.
Features
- Natural Language Commands: Just type what you want to do (e.g., "Extract audio as MP3", "Resize to 720p").
- Intelligent FFMPEG Generation: Uses GitHub Copilot to generate complex FFMPEG flags so you don't have to memorize them.
- Visual File Browser: Navigate and select media files directly in the terminal.
- Command Preview: Review and execute generated commands with safety checks.
- Batch Processing: Handle multiple files at once.
- Real-time Progress: Monitor conversion status with visual progress bars.
Prerequisites
- Python 3.10+
- FFMPEG: Must be installed and available in your system PATH.
- Ubuntu/Debian:
sudo apt install ffmpeg - macOS:
brew install ffmpeg - Windows:
winget install ffmpeg
- Ubuntu/Debian:
- GitHub Copilot Access: This tool requires active GitHub Copilot access.
Installation
pip install conviertlo
How to Use
-
Start the application:
conviertlo
-
Select Files:
- From the Welcome Screen, press
for use the file browser to select the media files you want to process.
- From the Welcome Screen, press
-
Enter Instructions:
- In the Instruction Screen, type your goal in plain English.
- Examples:
- "Convert to MP4 and keep quality high"
- "Compress to 5MB for Discord"
- "Extract frames every 10 seconds"
- "Rotate video 90 degrees clockwise"
-
Execute:
- Press
Ctrl+gto generate the command. - Review the generated FFMPEG command in the preview panel.
- Press
Ctrl+eto execute the conversion.
- Press
Keybindings
Global / Welcome Screen
| Key | Action |
|---|---|
f |
Open File Browser |
File Browser
| Key | Action |
|---|---|
Alt+Enter |
Confirm Selection |
Esc / Ctrl+c |
Cancel |
j / Down |
Move Down |
k / Up |
Move Up |
Instruction Screen
| Key | Action | Description |
|---|---|---|
Ctrl+g / Ctrl+Enter |
Generate Command | Submit instruction to Copilot |
Ctrl+e |
Execute | Run the generated FFMPEG command |
Ctrl+r |
Refine | Focus input to refine the instruction |
Ctrl+a |
Add Files | Open file browser to add more files |
D / Delete |
Remove Selected | Remove highlighted file from list |
Ctrl+d |
Clear All | Remove all selected files |
Ctrl+m |
Change Model | Switch AI model |
Ctrl+c |
Cancel | Cancel current processing/execution |
Esc |
Go Back | Return to previous screen |
Ctrl+i |
Focus Input | Focus the instruction text area |
Ctrl+l |
Focus Files | Focus the files list |
License
MIT
Built with Textual and GitHub Copilot SDK.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file conviertlo-0.2.0.tar.gz.
File metadata
- Download URL: conviertlo-0.2.0.tar.gz
- Upload date:
- Size: 20.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
485bdcb3ffdd4d5c9ae24c73652649ca6238f6d44326da3a49aa0f1664582e4f
|
|
| MD5 |
7d8f2cba32c4ef5ec4147c24857c0aed
|
|
| BLAKE2b-256 |
f6750d277625fea43b14a86cbc29e41ca1a92dce6e7f2fdcf34bf89cdab0c5ab
|
File details
Details for the file conviertlo-0.2.0-py3-none-any.whl.
File metadata
- Download URL: conviertlo-0.2.0-py3-none-any.whl
- Upload date:
- Size: 22.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
21fc77ae2a5fe6f23566a1af7cac744c841e180d56404dd3a434844a052d2550
|
|
| MD5 |
4e3b413117d4aed5bfe0f0234078312a
|
|
| BLAKE2b-256 |
5d4f71e468d7106aca1794d25e28e865349aa6dc226de10c85b54323d8af5284
|