ffmpeg-asyncio
A fork of the excellent python-ffmpeg binding for FFmpeg, updated for native async API support only.
The primary difference from the upstream library's async API is handling of abnormal exit by FFmpeg. Rather than raising an exception, an event will be emitted, allowing async handling.
Example usage:
import asyncio
from ffmpeg_asyncio import FFmpeg, Progress
async def main():
ffmpeg = (
FFmpeg()
.input("input.mp4")
.output("output.mp4")
)
@ffmpeg.on("progress")
def on_progress(progress: Progress):
print(progress)
@ffmpeg.on("completed")
def completed():
print("Finished!")
@ffmpeg.on("terminated")
def exited(return_code: int):
print("Oh no!")
await ffmpeg.execute()
if __name__ == "__main__":
asyncio.run(main())
Metadata
Release files for ffmpeg-asyncio 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ffmpeg_asyncio-0.1.3.tar.gz | 9.6 kB | Without provenance | Details for ffmpeg_asyncio-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ffmpeg_asyncio-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for ffmpeg_asyncio-0.1.3-py3-none-any.whl |
Total release size: 19.5 kB
Release files / ffmpeg_asyncio-0.1.3.tar.gz
| Download URL | ffmpeg_asyncio-0.1.3.tar.gz |
|---|---|
| Size | 9.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
58813a8609c64c03b53470a555e817fd3ba6f59445890d808bb81aa4d42742a0
|
|
BLAKE2b-256 checksum How to use checksums |
e9dbf211ef2582b02aef5332c3e40abc421c333316e6307b49317a37a4548617
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Release files / ffmpeg_asyncio-0.1.3-py3-none-any.whl
| Download URL | ffmpeg_asyncio-0.1.3-py3-none-any.whl |
|---|---|
| Size | 9.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8c74331bc39c4b3f1f9395de3c347a6e6824588baf00541c9a4902b3a13ac18a
|
|
BLAKE2b-256 checksum How to use checksums |
b7777cda70883c66cbe1453291ab0eca6f447a01c87064f217250ac704cd2641
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Security for ffmpeg-asyncio 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.