JurajNyiri / HomeAssistant-Tapo-Control

Control for Tapo cameras as a Home Assistant component
Apache License 2.0
947 stars 80 forks source link

FFMPEG ERROR #566

Closed whiteNsky closed 1 month ago

whiteNsky commented 1 month ago

Description

Newbie here, how to bypass this one

Reproduction Steps

HA logs

Expected behavior

Want to stream via HA

If applicable, add error logs.

-----LOGS-----

2024-05-08 14:08:06.330 ERROR (MainThread) [homeassistant.components.camera] Error while setting up ffmpeg platform for camera Traceback (most recent call last): File "C:\Users\Jordan\Desktop\HassWP_2024.4.3\python-3.12.3.amd64\Lib\site-packages\homeassistant\helpers\entity_platform.py", line 356, in _async_setup_platform await asyncio.shield(awaitable) File "C:\Users\Jordan\Desktop\HassWP_2024.4.3\python-3.12.3.amd64\Lib\site-packages\homeassistant\components\ffmpeg\camera.py", line 47, in async_setup_platform async_add_entities([FFmpegCamera(hass, config)]) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Jordan\Desktop\HassWP_2024.4.3\python-3.12.3.amd64\Lib\site-packages\homeassistant\components\ffmpeg\camera.py", line 59, in init self._manager: FFmpegManager = hass.data[DATA_FFMPEG]


KeyError: 'ffmpeg'

### Device Firmware

latest build

### Integration Version

latest version

### Using stream component

Yes

### Does camera work via official integrations?

Yes

### Camera has all attributes filled out in developer tools

Yes

### HASS Environment

Home Assistant Windows 10 OS

### Search for similar issues

Yes

### Additional information

_No response_
JurajNyiri commented 1 month ago

Not an integration isssue.

JurajNyiri commented 1 month ago

You are probably missing ffmpeg and are running unsupported install method for ha.

whiteNsky commented 1 month ago

How to fix this problem? Should I need to install the HA os on raspberry pi. As of now I am using HA on windows 10

On Wed, May 8, 2024, 3:46 PM Juraj Nyíri @.***> wrote:

You are probably missing ffmpeg and are running unsupported install method for ha.

— Reply to this email directly, view it on GitHub https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/issues/566#issuecomment-2099958751, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYNKTKDQRGVIJIXH7E4I7EDZBHJ7DAVCNFSM6AAAAABHMKE4HWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJZHE2TQNZVGE . You are receiving this because you authored the thread.Message ID: @.***>

JurajNyiri commented 1 month ago

Using supported installation method will fix it automatically, like the proper install of HA OS.

Or just install ffmpeg, but you need to be able to google and find solutions to your issues if you are using unsupported HA install.