ffmpy
v1.0.0A simple Python wrapper for FFmpeg
5 KB Python 3.9+ py3-none-anyMIT
$ uv add ffmpyffmpy
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.9 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
https://ffmpy.readthedocs.io/
See Examples section for usage examples.
License
ffmpy is licensed under the terms of MIT license
Details
- Version
- 1.0.0
- License
- MIT
- Python
- >=3.9
- Maintainer
- Andrii Yurchuk
Links
Release Cadence
4
releases in the past year
avg 169 days between releases
Maintainers
- Andrii Yurchuk · Andrii Yurchuk < <[email protected]>>