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-1.0.0a2.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-1.0.0a2-py3-none-any.whl (52.7 kB view details)

Uploaded Python 3

File details

Details for the file ffmpeg_core-1.0.0a2.tar.gz.

File metadata

  • Download URL: ffmpeg_core-1.0.0a2.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-1.0.0a2.tar.gz
Algorithm Hash digest
SHA256 7ed77d9d292c8fc954bf8e7805b30956413ac696870c3a49727569bfd1e7f007
MD5 735f4562342d0b019c240bffec82c70f
BLAKE2b-256 3604897a21ae4b3a60486f497177dd80e09caa5bfdd5feb35931f9c47e4687b5

See more details on using hashes here.

File details

Details for the file ffmpeg_core-1.0.0a2-py3-none-any.whl.

File metadata

  • Download URL: ffmpeg_core-1.0.0a2-py3-none-any.whl
  • Upload date:
  • Size: 52.7 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-1.0.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 2895ca9184059124cc4d7ae789adda379bd4106780e16cb52ab3a07a4b88ad90
MD5 e65c06a69b43c0b8615170e83920d6e1
BLAKE2b-256 e1578497e41f5ee01d2e2f5d67627576bd89ab438154b2ac84c39c3dac77686d

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