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.2.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.0.2-py3-none-any.whl (53.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ffmpeg_core-4.0.2.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.0.2.tar.gz
Algorithm Hash digest
SHA256 bfa6468b1394bd511175e25850f7418441572a9f4d70fbd75cff383a6cc6db4e
MD5 4a032c19402efdda7f629566ccc427c7
BLAKE2b-256 8ecfd8cdfb003c469e6832b7c330c2061c3787bffd3142aa9382d0df38d6c389

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ffmpeg_core-4.0.2-py3-none-any.whl
  • Upload date:
  • Size: 53.1 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 08a362715786cabc36c2d452554b4c248e5df4f5c77533017eafb852c33cea30
MD5 731f125a0029a5d23bc16dea10927b77
BLAKE2b-256 ea19be277b9be36aff56c3c9017cf161bf7016dc7b60be7edad3546d19acbd06

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