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
Release files for ffmpy 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ffmpy-0.3.1.tar.gz | 5.5 kB | Details |
Release files / ffmpy-0.3.1.tar.gz
| Download URL | ffmpy-0.3.1.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a173b8f42c7c669ff722df7fb31e1e870067713697f745224fa6e621b82f0004
|
|
BLAKE2b-256 checksum How to use checksums |
9a0649b275a312eb207e2a2718a7414dedfded05088437352b67aaa9a355f948
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|