$npx skillfedfor your agent

ha-ffmpeg

A library that handling with ffmpeg for home-assistant

With conditionsPyPI Python ModulesReleased Nov 2024181.3K downloads / moBSD LicensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — ha_ffmpeg-3.2.2-py3-none-any.whl
v3.2.2 · released 2024-11-08 · 1 runtime deps: async-timeout

Yes, if you are building Home Assistant integrations or async applications that need to control ffmpeg. The library is actively maintained, has low install friction, carries a permissive license, and has no known vulnerabilities. The main prerequisite is that ffmpeg itself must be installed on the system, and you should follow the asyncio.shield guidance in the documentation.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • ffmpeg must be installed and available on the system PATH; asyncio.shield should wrap function calls per the documentation.
  • Low install friction with a single lightweight runtime dependency (async-timeout).
  • Actively maintained with recent commits; last release was 644 days ago and the repository remains active.

License · maintenance · safety

BSD License (permissive) — Licensed under BSD License (permissive), allowing use in most commercial and open-source projects without significant restrictions.

last release 2024-11-08 (644 days) · last repo commit 2026-07-30 · 21 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 181,327 downloads/mo, #10,128 on PyPI

Verify before relying

import asyncio
from ha_ffmpeg import FFMpegManager

async def main():
    manager = FFMpegManager()
    # Use asyncio.shield to protect calls
    await asyncio.shield(manager.start_process(...))

asyncio.run(main())
  • Whether ffmpeg must be installed separately on the system for this library to function
  • Specific Python version requirements, as classifiers list 3.5–3.7 but requires_python is unspecified
  • Whether asyncio.shield protection is mandatory for all use cases or only certain operations
Same gist for agents: .md · .json

What it is and what it does

ha-ffmpeg is a Python library that wraps ffmpeg for use in asyncio-based applications, particularly Home Assistant. It allows you to control ffmpeg processes asynchronously—emulating webcams from arbitrary video sources, analyzing streams for motion or noise, and extracting still images. The library depends only on async-timeout and is designed to integrate with Home Assistant's async architecture.

The package is actively maintained and carries a permissive BSD license. It has been in production use since 2016 and remains stable. The main design consideration is that function calls should be protected with asyncio.shield to ensure proper cancellation handling in async contexts.

Use it for

  • Integrate video streams into Home Assistant as virtual webcams for automation and monitoring
  • Detect motion or noise in surveillance feeds to trigger home automation routines
  • Extract snapshots from live video streams for display in dashboards or notifications
  • Wrap ffmpeg process management in async code without blocking the event loop
  • Build Home Assistant add-ons that process multiple video sources concurrently

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are building Home Assistant integrations or async applications that need to control ffmpeg.

The library is actively maintained, has low install friction, carries a permissive license, and has no known vulnerabilities. The main prerequisite is that ffmpeg itself must be installed on the system, and you should follow the asyncio.shield guidance in the documentation.

Install

ha-ffmpeg on PyPI

Before you install

Low install friction with a single lightweight runtime dependency (async-timeout). Actively maintained with recent commits; last release was 644 days ago and the repository remains active.

ffmpeg must be installed and available on the system PATH; asyncio.shield should wrap function calls per the documentation.

License in practice

Licensed under BSD License (permissive), allowing use in most commercial and open-source projects without significant restrictions.

Quickstart

import asyncio
from ha_ffmpeg import FFMpegManager

async def main():
    manager = FFMpegManager()
    # Use asyncio.shield to protect calls
    await asyncio.shield(manager.start_process(...))

asyncio.run(main())

Verify before relying

  • Whether ffmpeg must be installed separately on the system for this library to function
  • Specific Python version requirements, as classifiers list 3.5–3.7 but requires_python is unspecified
  • Whether asyncio.shield protection is mandatory for all use cases or only certain operations

Package facts

LicenseBSD License permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
async-timeout
MaintenanceActively maintained 644 days since the last release
Last repo commit
First released
Downloads181,327 / month, #10,128 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Topic :: Scientific/Engineering :: Atmospheric ScienceTopic :: Software Development :: Libraries :: Python Modules

Evidence: ha_ffmpeg-3.2.2-py3-none-any.whl

Tags

Capabilities
ffmpeg asyncio wrapperhome assistant video streammotion detection ffmpegwebcam emulation pythonaudio stream analysisffmpeg home automationvideo capture asyncio
Topics
home-assistantasynciomultimedia
PyPI keywords
ffmpeghomeassistantwrapperapi

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “ffmpeg asyncio wrapper”

  • ha-ffmpegProvides an asyncio-based Python interface to control ffmpeg for Home…
  • python-ffmpegProvides a Python binding for FFmpeg with both synchronous and…
  • imageio-ffmpegProvides a simple Python wrapper around ffmpeg for reading and…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also ffmpeg-python · aiohomekit · ffmpeg · ffmpy · python-ffmpeg · aioslimproto · typed-ffmpeg · aiohasupervisor · motioneye-client · infrared-protocols