Home Assistant 网页摄像头不显示,解决方法.
首先安装下列依赖包:
# General dependencies
sudo apt-get install -y python-dev pkg-config
# Library components
sudo apt-get install -y \
libavformat-dev libavcodec-dev libavdevice-dev \
libavutil-dev libswscale-dev libswresample-dev libavfilter-dev
再次运行安装下面命令,或者直接重启Home Assistant让其自行安装。
/usr/bin/python3 -m pip install av==6.1.2