FFmpeg Camera
The ffmpeg
platform allows you to use any video feed as a camera in Home Assistant via FFmpeg
Configuration
To enable your FFmpeg feed in your installation you must first configure the FFmpeg integration, then add the following to your configuration.yaml
configuration.yaml 文件是 Home Assistant 的主要配置文件。它列出了要加载的集成及其特定配置。在某些情况下,需要直接在 configuration.yaml 文件中手动编辑配置。大多数集成可以在 UI 中配置。 [Learn more] file:
# Example configuration.yaml entry
camera:
- platform: ffmpeg
input: FFMPEG_SUPPORTED_INPUT
Image quality
You can control the image quality with extra_arguments
-q:v 2-32
or with lossless option -pred 1
. Default is lossless.
If you are running into trouble with this sensor, please refer to the Troubleshooting section.