skillfed

pyobjc-framework-VideoToolbox

Wrappers for the framework VideoToolbox on macOS

pyobjc-framework-videotoolbox v12.2.2 655.8K downloads/30d#5,508 on PyPI803
Permissive license MIT Active released

What it is and what it does

This package wraps Apple's VideoToolbox framework for use in Python, allowing developers to access native macOS video encoding, decoding, and processing capabilities. It is part of the PyObjC project and provides low-level bindings to Objective-C APIs without bundled documentation—users must consult Apple's framework documentation and PyObjC's general translation guides.

The package is macOS-only and requires Python 3.10 or later. It depends on pyobjc-core and three other PyObjC framework wrappers (Cocoa, Quartz, CoreMedia). Installation is straightforward on supported macOS versions, but the platform restriction and compiled-wheel distribution mean it will not work on Linux or Windows.

Use it for:

  • Build macOS video editing or transcoding tools that leverage hardware-accelerated codec support.
  • Integrate native VideoToolbox compression sessions into Python media applications on macOS.
  • Access low-level video frame processing APIs for real-time video capture or streaming on macOS.
  • Develop macOS-specific video analysis or manipulation pipelines using native framework performance.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides Python bindings to macOS's VideoToolbox framework, enabling video encoding, decoding, and processing through native Objective-C APIs.

Yes, if you are developing on macOS and need direct access to VideoToolbox's video encoding/decoding capabilities. The package is actively maintained, has no known vulnerabilities, and offers a permissive license. Install friction is medium due to platform specificity and multiple framework dependencies, but this is unavoidable for native Objective-C bindings. Not suitable for cross-platform projects.

Install

pyobjc-framework-videotoolbox on PyPI

pip

pip install pyobjc-framework-videotoolbox

uv

uv add pyobjc-framework-videotoolbox

poetry

poetry add pyobjc-framework-videotoolbox

Installing pyobjc-framework-VideoToolbox

Before you install

Medium install friction: macOS-only wheels with platform-specific requirements across Python 3.10–3.15. Active maintenance (last commit 2026-08-14, release 3 days old) and stable status mitigate friction. Requires pyobjc-core and three additional framework dependencies.

License in practice

MIT license is permissive; no restrictions on commercial or private use, modification, or redistribution.

Quickstart

pip install pyobjc-framework-videotoolbox

from VideoToolbox import VTCompressionSessionCreate
# Use VideoToolbox APIs via the wrapper

macOS only; requires Python 3.10 or later and a compatible macOS version matching the wheel (10.9 or 10.13+).

Verify before relying

  • Specific VideoToolbox APIs exposed by this wrapper version (12.2.2) and their stability.
  • Performance characteristics or overhead of the Python-to-Objective-C translation layer.
  • Whether free-threading support (Python 3.13+) is fully tested with VideoToolbox operations.

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.10)
Install friction medium — platform-specific wheel
Runtime dependencies 4 — pyobjc-core, pyobjc-framework-Cocoa, pyobjc-framework-Quartz, pyobjc-framework-CoreMedia
Maintenance actively maintained — 3 days since the last release
Last repo commit
First released
Downloads 655,803/month — #5,508 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: pyobjc_framework_videotoolbox-12.2.2-cp310-cp310-macosx_10_9_universal2.whl; pyobjc_framework_videotoolbox-12.2.2-cp311-cp311-macosx_10_9_universal2.whl; pyobjc_framework_videotoolbox-12.2.2-cp312-cp312-macosx_10_13_universal2.whl; pyobjc_framework_videotoolbox-12.2.2-cp313-cp313-macosx_10_13_universal2.whl; pyobjc_framework_videotoolbox-12.2.2-cp313-cp313t-macosx_10_13_universal2.whl; pyobjc_framework_videotoolbox-12.2.2-cp314-cp314-macosx_10_15_universal2.whl; pyobjc_framework_videotoolbox-12.2.2-cp314-cp314t-macosx_10_15_universal2.whl; pyobjc_framework_videotoolbox-12.2.2-cp315-cp315-macosx_10_15_universal2.whl; pyobjc_framework_videotoolbox-12.2.2-cp315-cp315t-macosx_10_15_universal2.whl

Keywords: PyObjC, VideoToolbox

Development Status :: 5 - Production/StableEnvironment :: ConsoleEnvironment :: MacOS X :: CocoaIntended Audience :: DevelopersNatural Language :: EnglishOperating System :: MacOS :: MacOS XProgramming Language :: Objective CProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.15Programming Language :: Python :: Free Threading :: 3 - StableProgramming Language :: Python :: Implementation :: CPythonTopic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: User Interfaces

Tags

macos video encoding decodingvideotoolbox python bindingspyobjc framework wrappernative macos video processingobjective-c video frameworkmacos hardware video codec
macos-onlyvideo-codecobjective-c-bindings

More Python Modules packages

idna

Converts domain names between Unicode and…

permissive · top 100 on PyPI

setuptools

Setuptools is a Python build backend and…

permissive · top 100 on PyPI

PyYAML

PyYAML parses and emits YAML 1.1 data format,…

permissive · top 100 on PyPI

pydantic

Pydantic validates Python data structures…

permissive · top 100 on PyPI

annotated-types

Provides reusable metadata objects for use with…

permissive · top 100 on PyPI

typing-inspection

Provides runtime tools to inspect and…

permissive · top 100 on PyPI

pyobjc-framework-VideoSubscriberAccount

Provides Python bindings to Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-AudioVideoBridging

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-CoreMedia

Provides Python bindings to macOS's CoreMedia…

permissive · top 15,000 on PyPI

pyobjc-framework-MediaExtension

Provides Python bindings to Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-CoreMediaIO

Provides Python bindings to Apple's CoreMediaIO…

permissive · top 15,000 on PyPI

pyobjc-framework-MediaToolbox

Provides Python bindings to Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-MediaPlayer

Provides Python bindings to macOS's MediaPlayer…

permissive · top 15,000 on PyPI

pyobjc-framework-ScreenSaver

Provides Python bindings to macOS's ScreenSaver…

permissive · top 15,000 on PyPI

pyobjc-framework-CoreAudio

Provides Python bindings to macOS's CoreAudio…

permissive · top 15,000 on PyPI

pyobjc-framework-AVKit

Provides Python bindings to macOS's AVKit…

permissive · top 15,000 on PyPI