A simple Python wrapper for ffmpeg
Project description
ffmpy
ffmpy is a simplistic FFmpeg command line wrapper. It implements a Pythonic interface for FFmpeg command line compilation and uses Python subprocess module to execute compiled command line.
Installation
You guessed it:
pip install ffmpy
Quick example
>>> import ffmpy
>>> ff = ffmpy.FFmpeg(
... inputs={'input.mp4': None},
... outputs={'output.avi': None}
... )
>>> ff.run()
This will take 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.3.3.tar.gz
.
File metadata
- Download URL: ffmpy-0.3.3.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 924cde7e0bb1b5eb58d21ada3b1622f95069c98769bbdf100ed381c7e750a55e |
|
MD5 | c1ac41bfe7440bb84415777bb3e0c0f4 |
|
BLAKE2b-256 | 2066162d88dc32199ed5cdd4843c109363bb4960b60f9c2ef7d5c3044dec4f32 |
File details
Details for the file ffmpy-0.3.3-py3-none-any.whl
.
File metadata
- Download URL: ffmpy-0.3.3-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 | 4ba083a0b92544dbc8ed5b3074c5ca26f812e618b72851467f4f2e9125e111d7 |
|
MD5 | c23568cd47893660d7b3118538120574 |
|
BLAKE2b-256 | 1348ab4ba1278cf57d627be3c5ce7b471eea3f16549a431f380eb3b6624b39d4 |