{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/16"},{"label":"Atmospheric Science","url":"https://skillfed.io/packages/category/scientific-engineering-atmospheric-science"}],"enrichment":{"capability":"Provides an asyncio-based Python interface to control ffmpeg for Home Assistant, enabling webcam emulation, stream analysis, and image capture from video/audio sources.","skillfed_tags":["home-assistant","asyncio","multimedia"],"use_cases":["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"],"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\u2014emulating 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.\n\nThe 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.","worth_installing":"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."},"id":"ha-ffmpeg","links":{"html":"https://skillfed.io/packages/ha-ffmpeg","md":"https://skillfed.io/packages/ha-ffmpeg.md","pypi":"https://pypi.org/project/ha-ffmpeg/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2024-11-08","license_spdx":null,"license_treatment":"permissive","name":"ha-ffmpeg","python_support":"unspecified","summary":"A library that handling with ffmpeg for home-assistant"},"popularity":{"monthly_downloads":181327,"position":10128,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"3.2.2"}
