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.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
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ffmpy-1.0.0.tar.gz.
File metadata
- Download URL: ffmpy-1.0.0.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b12932e95435c8820f1cd041024402765f821971e4bae753b327fc02a6e12f8b
|
|
| MD5 |
48e5c7248109417eea46b71970cb389e
|
|
| BLAKE2b-256 |
7dd21c4c582d71bcc65c76fa69fab85de6257d50fdf6fd4a2317c53917e9a581
|
Provenance
The following attestation bundles were made for ffmpy-1.0.0.tar.gz:
Publisher:
ci.yml on Ch00k/ffmpy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ffmpy-1.0.0.tar.gz -
Subject digest:
b12932e95435c8820f1cd041024402765f821971e4bae753b327fc02a6e12f8b - Sigstore transparency entry: 691130988
- Sigstore integration time:
-
Permalink:
Ch00k/ffmpy@3b3c56f3ef04b3868b401c3fa2cc6ea294b78dfb -
Branch / Tag:
refs/tags/1.0.0 - Owner: https://github.com/Ch00k
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@3b3c56f3ef04b3868b401c3fa2cc6ea294b78dfb -
Trigger Event:
push
-
Statement type:
File details
Details for the file ffmpy-1.0.0-py3-none-any.whl.
File metadata
- Download URL: ffmpy-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5640e5f0fd03fb6236d0e119b16ccf6522db1c826fdf35dcb87087b60fd7504f
|
|
| MD5 |
18d932d5fac5afa72cb7a00d50365cea
|
|
| BLAKE2b-256 |
5556dd3669eccebb6d8ac81e624542ebd53fe6f08e1b8f2f8d50aeb7e3b83f99
|
Provenance
The following attestation bundles were made for ffmpy-1.0.0-py3-none-any.whl:
Publisher:
ci.yml on Ch00k/ffmpy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ffmpy-1.0.0-py3-none-any.whl -
Subject digest:
5640e5f0fd03fb6236d0e119b16ccf6522db1c826fdf35dcb87087b60fd7504f - Sigstore transparency entry: 691130993
- Sigstore integration time:
-
Permalink:
Ch00k/ffmpy@3b3c56f3ef04b3868b401c3fa2cc6ea294b78dfb -
Branch / Tag:
refs/tags/1.0.0 - Owner: https://github.com/Ch00k
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@3b3c56f3ef04b3868b401c3fa2cc6ea294b78dfb -
Trigger Event:
push
-
Statement type: