Skip to main content

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

  1. Python 3.10+
  2. FFMPEG: Must be installed and available in your system PATH.
    • Ubuntu/Debian: sudo apt install ffmpeg
    • macOS: brew install ffmpeg
    • Windows: winget install ffmpeg
  3. GitHub Copilot Access: This tool requires active GitHub Copilot access.

Installation

pip install conviertlo

How to Use

  1. Start the application:

    conviertlo
    
  2. Select Files:

    • From the Welcome Screen, press f or use the file browser to select the media files you want to process.
  3. 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"
  4. Execute:

    • Press Ctrl+g to generate the command.
    • Review the generated FFMPEG command in the preview panel.
    • Press Ctrl+e to execute the conversion.

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

conviertlo-0.1.1.tar.gz (19.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

conviertlo-0.1.1-py3-none-any.whl (21.1 kB view details)

Uploaded Python 3

File details

Details for the file conviertlo-0.1.1.tar.gz.

File metadata

  • Download URL: conviertlo-0.1.1.tar.gz
  • Upload date:
  • Size: 19.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for conviertlo-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c8045490f7b2b6432b98876f46b7e48d6c7af7cc4c9a75cc4e758c741087efda
MD5 fa873247fa658218bc5ad12d78679ecf
BLAKE2b-256 df266bac7e925966fa7f30243d41174b5c10f3bd4e13c12855d54cd0e6395631

See more details on using hashes here.

File details

Details for the file conviertlo-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: conviertlo-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 21.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for conviertlo-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d38ecedae84e9793a109763a138099b4684e190b139584817be981ec8dc1e27c
MD5 979c2b63a40be4ca10bfd361001f5e99
BLAKE2b-256 7dcaaaa8518dda92fd8841d6bef224facc129142b583ce534830c709c3831094

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page