Skip to main content

A powerful tool for converting, manipulating, and inspecting media files using FFmpeg.

Project description

🎬 ffmPEG-this

A powerful and user-friendly batch script for converting, manipulating, and inspecting media files using the power of FFmpeg. This script provides a simple command-line menu to perform common audio and video tasks without needing to memorize complex FFmpeg commands.

✨ Features

  • Action-Oriented Menu: Select a file, then choose from a list of available actions.
  • File Inspection: View detailed information about a media file, including resolution, duration, size, and stream details.
  • Lossless Conversion: Change a file's container format (e.g., MKV to MP4, , MP4 to GIF etc.) without re-encoding, preserving the original quality.
  • Lossy Conversion: Re-encode video to reduce file size, with simple quality presets.
  • Video Trimming: Cut a video by specifying a start and end time.
  • Audio Extraction: Extract the audio from a video file into formats like MP3, FLAC, or WAV.
  • Audio Removal: Create a silent version of a video by removing its audio track.
  • Batch Conversion: Convert all video files in the directory to a specific format in one go.

🚀 Usage

There are three ways to use peg_this:

1. Pip Install (Recommended)

This is the easiest way to get started. This will install the tool and all its dependencies, including ffmpeg.

pip install peg_this

Once installed, you can run the tool from your terminal:

peg_this

2. Download from Release

If you don't want to install the package, you can download a pre-built executable from the Releases page.

  1. Download the executable for your operating system (Windows, macOS, or Linux).
  2. Place the downloaded file in a directory with your media files.
  3. Run the executable directly from your terminal or command prompt.

3. Run from Source

If you want to run the script directly from the source code:

  1. Clone the repository:
    git clone https://github.com/hariharen9/ffmpeg-this.git
    cd ffmpeg-this
    
  2. Install dependencies:
    pip install -r requirements.txt
    
  3. Run the script:
    python src/peg_this/peg_this.py
    

📄 License

This project is licensed under the MIT License. See the LICENSE file for details.

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

peg_this-3.0.0.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

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

peg_this-3.0.0-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file peg_this-3.0.0.tar.gz.

File metadata

  • Download URL: peg_this-3.0.0.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for peg_this-3.0.0.tar.gz
Algorithm Hash digest
SHA256 fd165e4939bb332c8f3d77b324f43fca0f371e7b20dc4f8f9427a16246cbec1f
MD5 9673da19117fb9bbe4197e372cb63acb
BLAKE2b-256 b1127c94039a91c88e318fdebce1c7b519417efcc20e65af24b3732d4580b7d5

See more details on using hashes here.

File details

Details for the file peg_this-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: peg_this-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for peg_this-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 de375588a8f514128412c1587eed84e5deb13e8be6f777781a2460d3b052fe6c
MD5 3096f4f7ef4eb93ab838fb8affbbd69d
BLAKE2b-256 04b7583ddedb40ebb5d52704bd61610b3be50c83f802300d9672b1878f8b8360

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