A simple Python wrapper for FFmpeg
Project description
ffmpy
ffmpy is a simple FFmpeg command line wrapper. It implements a Pythonic interface for FFmpeg command line compilation and uses Python’s subprocess to execute the compiled command line.
ffmpy requires Python 3.8 or greater.
Installation
pip install ffmpy
Quick example
from ffmpy import FFmpeg
ff = FFmpeg(
inputs={'input.mp4': None},
outputs={'output.avi': None}
)
ff.run()
This will take the input.mp4 file in the current directory as the input, change the video container from MP4 to AVI without changing any other video parameters, and create a new output file output.avi in the current directory.
Documentation
See Examples section for usage examples.
License
ffmpy is licensed under the terms of MIT license
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file ffmpy-0.4.0.tar.gz
.
File metadata
- Download URL: ffmpy-0.4.0.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.5.0-1024-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 131b57794e802ad555f579007497f7a3d0cab0583d37496c685b8acae4837b1d |
|
MD5 | b4f8e10b2a8ffd1c0d2b8c7f81c5f169 |
|
BLAKE2b-256 | a79f90bee9798d544626075604f3f6d448f5245a00526ad68e30b3a4364c6edd |
File details
Details for the file ffmpy-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: ffmpy-0.4.0-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.5.0-1024-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39c0f20c5b465e7f8d29a5191f3a7d7675a8c546d9d985de8921151cd9b59e14 |
|
MD5 | a9626ac9d2da9443f75d93c457c16684 |
|
BLAKE2b-256 | ff1edb99aa669eee301966bc6c997d60a0240f9cecae63f044b2e5a5310e4bf7 |