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

CI Test

CI Test - workflow fixed

Workflow fixed - testing

Trigger debug workflow

Testing combined steps

Trigger main workflow with simplified test setup

Final fix - POSIX activation

FFmpeg installed for tests

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.0a1.tar.gz (2.1 MB 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.0a1-py3-none-any.whl (2.2 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ffmpeg_core-1.0.0a1.tar.gz
  • Upload date:
  • Size: 2.1 MB
  • 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.0a1.tar.gz
Algorithm Hash digest
SHA256 500311309497d328db543dd2e7c0f85ce55b801dcef2dac9e5080bdd88d1fa33
MD5 ba3ff172cb4b6af757d72fc3560fe941
BLAKE2b-256 3b6e1d3ea745a7a6eb9e0ab60ad7fb4a4d0b792ace81f44d28adaa52a2dd3e5d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ffmpeg_core-1.0.0a1-py3-none-any.whl
  • Upload date:
  • Size: 2.2 MB
  • 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.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 7eb6263f6f5a8606eeea90aa0331e12e992d4b0631472d6c8edb36284a322a26
MD5 3967ef259476976c44bae749c9ff1d44
BLAKE2b-256 e5c67fd36cf9696821c658285347fc4aa938f0a39e45781bd5c74d3943f8eaf4

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