Skip to main content
Latest version Travis-CI Documentation Status

ffmpy3

ffmpy3 is a fork of ffmpy, a simplistic FFmpeg command line wrapper. ffmpy implements a Pythonic interface for executing FFmpeg via command line and uses Python’s subprocess module for synchronous execution. Asynchronous execution using yield from or await is also supported using Python’s asyncio.subprocess module.

Installation

You guessed it:

pip install ffmpy3

Quick example

The following code snippet executes FFmpeg synchronously, taking input.mp4 from the current directory as the input. It remuxes the contents of input.mp4 into a new file called output.avi which is saved in the current directory.

>>> import ffmpy3
>>> ff = ffmpy3.FFmpeg(
...     inputs={'input.mp4': None},
...     outputs={'output.avi': None}
... )
>>> ff.run()

The following code snippet does the same thing as above, but executes FFmpeg asynchronously.

>>> ff = ffmpy3.FFmpeg(
...     inputs={'input.mp4': None},
...     outputs={'output.avi': None}
... )
>>> ff.run_async()
>>> await ff.wait()

Documentation

http://ffmpy3.rtfd.io

See Examples section for usage examples.

License

ffmpy3 is licensed under the terms of the MIT license.

Release files for ffmpy3 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ffmpy3 0.2.4
File Size Uploaded
ffmpy3-0.2.4.tar.gz 5.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ffmpy3 0.2.4
File Interpreter ABI Platform
ffmpy3-0.2.4-py3-none-any.whl Python 3 none any Details

Total release size: 11.7 kB

Release files / ffmpy3-0.2.4.tar.gz

Download URL ffmpy3-0.2.4.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
fffb1b9e3efc95e94a02b01f29f24ee8177b86329aec8a8af078bf2a42b03094
BLAKE2b-256 checksum
How to use checksums
774cacd9dd8efb0907bacab30176ab443e552b10dd8b7a8dc5f82e4e43fe5277
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.10

Release files / ffmpy3-0.2.4-py3-none-any.whl

Download URL ffmpy3-0.2.4-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
092521e5f0e1974a1b4850d0e283d9d893d0b830216ddd2a44c6eaf463f8a365
BLAKE2b-256 checksum
How to use checksums
a55fbb239b798da618428674b849334b2c6971f8e23c95e4436ec71fea66135c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.10

Release history Release notifications | RSS feed

This release

0.2.4 This release

2 release files

0.2.3

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page