A simple Python wrapper for ffmpeg
Project description
ffmpy
ffmpy is a simplystic 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
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
ffmpy-0.2.0.tar.gz
(4.2 kB
view details)
File details
Details for the file ffmpy-0.2.0.tar.gz.
File metadata
- Download URL: ffmpy-0.2.0.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8e42d0773df4e1e19c51e0e17b02d8f99e3753815aba7fbbfe80096ab8f287d
|
|
| MD5 |
c0cc580e1fa61984aab91d5cfefb81cd
|
|
| BLAKE2b-256 |
2ab62f8774d35e75dba0c682bcd92a54d3b2d6f92e651d3cef015a61eddd23a5
|