FFbinaries API Client
Project description
FFBinaries API Client
HTTP API Client for downloading pre-built ffmpeg, ffplay, ffprobe and ffserver packages from FFbinaries.
- Supported components:
ffmpeg,ffplay,ffprobeandffserver - Supported platforms:
linux-32,linux-64,linux-arm64,linux-armel,linux-armhf,osx-64,windows-32andwindows-64 - Supports fetching different versions of published components packages
Requirements
Python 3.11+
Installation
pip3 install ffbinaries-api-client
Usage
V1 API client's public methods:
from ffbinaries import FFBinariesV1APIClient, ComponentType, PlatformCodeType
client = FFBinariesV1APIClient(request_timeout=10)
client.get_latest_version()
client.get_latest_metadata()
client.get_available_versions()
client.get_available_versions_metadata()
client.get_exact_version_metadata(version='6.1')
client.download_latest_version(
component=ComponentType.FFMPEG,
platform=PlatformCodeType.WIN64,
stream=True
)
client.download_exact_version(
component=ComponentType.FFMPEG,
version='6.1',
platform=PlatformCodeType.WIN64,
stream=True,
)
Examples located in examples directory.
Exception Handling
FFBinariesAPIClientErroris raised if something went wrong with API request.
class FFBinariesAPIClientError(Exception):
"""General API Client Error Class."""
pass
Third Party Libraries and Dependencies
The following libraries will be installed when you install the client library:
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 ffbinaries_api_client-0.0.21.tar.gz.
File metadata
- Download URL: ffbinaries_api_client-0.0.21.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1820672e19bbbaf6485a89652586f2e382986d24090b561c89cb5e87c54d7485
|
|
| MD5 |
697688ec20c5634282b6c6b65e7892ed
|
|
| BLAKE2b-256 |
0558052212047936f43c695327f534a7d4c621d5c0771af8c03a9a64a0edb737
|
File details
Details for the file ffbinaries_api_client-0.0.21-py3-none-any.whl.
File metadata
- Download URL: ffbinaries_api_client-0.0.21-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1fef3856288a64a9aad390ffdd3a65e345b0dc6b82a67fa0ff87095c9f4a0fe4
|
|
| MD5 |
6492cd6319d66292daf4dff43d43aa7e
|
|
| BLAKE2b-256 |
793de666c6b83db97e0edad83f16c7981fc8525bf193e3af3543bf3af2720d17
|