Skip to main content

Core runtime for typed-ffmpeg (DAG, compilation, IR layer)

Project description

ffmpeg-core

Core runtime for typed-ffmpeg multi-version packages.

Overview

ffmpeg-core contains the hand-written runtime code that is shared across all FFmpeg version bindings (v5, v6, v7, v8). This package is automatically installed as a dependency when you install any typed-ffmpeg-vX package.

What's Inside

  • DAG Layer (ffmpeg_core.dag): Filter graph representation and manipulation
  • Compile Layer (ffmpeg_core.compile): FFmpeg command-line generation
  • IR Layer (ffmpeg_core.ir): Intermediate representation for multi-backend support
  • Common Utilities (ffmpeg_core.common): Serialization, caching, schemas

Installation

This package is installed automatically:

# Installing any version package will install ffmpeg-core
pip install typed-ffmpeg-v8

# You can also install it directly (advanced)
pip install ffmpeg-core

Usage

Note: Most users don't need to import from ffmpeg-core directly. Use the version-specific packages (typed-ffmpeg, typed-ffmpeg-v6, etc.) instead.

For advanced use cases:

from ffmpeg_core.dag import FilterNode, Stream
from ffmpeg_core.compile import compile_as_list

Development

This package is part of the typed-ffmpeg monorepo.

# Clone monorepo
git clone https://github.com/lucemia/typed-ffmpeg.git
cd typed-ffmpeg

# Install in development mode
cd packages/core
uv pip install -e ".[dev]"

# Run tests
pytest

License

MIT License - see LICENSE file for details

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ffmpeg_core-4.3.tar.gz (43.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ffmpeg_core-4.3-py3-none-any.whl (53.0 kB view details)

Uploaded Python 3

File details

Details for the file ffmpeg_core-4.3.tar.gz.

File metadata

  • Download URL: ffmpeg_core-4.3.tar.gz
  • Upload date:
  • Size: 43.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for ffmpeg_core-4.3.tar.gz
Algorithm Hash digest
SHA256 ea3707dafcb31558a08ca77349a9b4335b043473dbd4cc66f6b71eba209b6f75
MD5 167aa57cf3c417ff0f913b1897a77f1f
BLAKE2b-256 c5f4c1b21c4762d710dadc6a1bf0d12ffe6b02319fdd8d06d14ccaafd958e21c

See more details on using hashes here.

File details

Details for the file ffmpeg_core-4.3-py3-none-any.whl.

File metadata

  • Download URL: ffmpeg_core-4.3-py3-none-any.whl
  • Upload date:
  • Size: 53.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for ffmpeg_core-4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 39d1fd7e0355b452ce15472825f03f96b0ba354c0b646925cd2a3369b060ed58
MD5 84cf4379bdc688df1486029cb28df80a
BLAKE2b-256 6fc50cefeffbee735012138d31b9029510fc9096f9c32b569d1a8432955156ba

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page