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.1.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.1-py3-none-any.whl (53.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ffmpeg_core-4.1.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.1.tar.gz
Algorithm Hash digest
SHA256 732c36a900dc9d025ee756adee6bddbd350336456d9fde60fce75a90b7bcc7fc
MD5 6f48324dbdc8ec7a4ddd72292f6c5668
BLAKE2b-256 3b187a9c86748be940a31fbfabb9abfafba2fa646d30251599f09829a295de92

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ffmpeg_core-4.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 68f59c1a81268b8af14c62e9dfbc69cc021792d3a8b9ebf83609715b06f83766
MD5 468cdf5dd19e8c3e52e66fc0962489de
BLAKE2b-256 a8c3127d79ddeb402fe17216555f04125132781d19949c97e455676665dabe8e

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