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/livingbio/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.0.0.tar.gz (43.1 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.0.0-py3-none-any.whl (52.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ffmpeg_core-4.0.0.tar.gz
  • Upload date:
  • Size: 43.1 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.0.0.tar.gz
Algorithm Hash digest
SHA256 d07342f736823889bee123cce72bfb3eb3d838b0b5ad3cf4d74a9b4d2b82b18d
MD5 e1e4d7c95a55abfc578a9b448656f315
BLAKE2b-256 e0c3bc19667bb44f1bf1c618031a6c0bbc1e5aba553c752e9e889cc2a69003f8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ffmpeg_core-4.0.0-py3-none-any.whl
  • Upload date:
  • Size: 52.6 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.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5873ebcad3a33a9de1954cc87d535d6ec9e7fc17585f6419d545127327f29088
MD5 10e8581f62b71a62bee2f95b259702ce
BLAKE2b-256 fb8b02e38932e305625cabfde1d6762ca1df702810725d2350572e11c879a050

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