mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-10 02:46:53 +00:00
English editing for camera.ffmpeg.markdown
Note: I'm honestly not sure I understood the first paragraph correctly, so someone familiar with the FFmpeg code might want to check the information.
This commit is contained in:
parent
296865a7ee
commit
67ad4a38f4
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
layout: page
|
layout: page
|
||||||
title: "FFmpeg Camera"
|
title: "FFmpeg Camera"
|
||||||
description: "Instructions how to integrate a Video fees with FFmpeg as cameras within Home Assistant."
|
description: "Instructions on how to integrate a video feed via FFmpeg as a camera within Home Assistant."
|
||||||
date: 2016-08-13 08:00
|
date: 2016-08-13 08:00
|
||||||
sidebar: true
|
sidebar: true
|
||||||
comments: false
|
comments: false
|
||||||
@ -13,7 +13,7 @@ ha_release: 0.26
|
|||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
The `ffmpeg` platform allows you to use every video feed with [FFmpeg](http://www.ffmpeg.org/) as camera in Home Assistant. The input for ffmpeg need to support that could have multiple connection to source (input) in same time. For every user in UI and all 10 seconds (snapshot image) it make a new connection/reading to source. Normally that should never be a trouble only in strange selfmade constructs can be make mistakes.
|
The `ffmpeg` platform allows you to use any video feed as camera in Home Assistant via [FFmpeg](http://www.ffmpeg.org/). This video source must support multiple simultaenous reads, because for every concurrent Home Assistant user, a connection will be made to the source every 10 seconds. Normally this should not be a problem.
|
||||||
|
|
||||||
To enable your FFmpeg feed in your installation, add the following to your `configuration.yaml` file:
|
To enable your FFmpeg feed in your installation, add the following to your `configuration.yaml` file:
|
||||||
|
|
||||||
@ -28,13 +28,13 @@ camera:
|
|||||||
|
|
||||||
Configuration variables:
|
Configuration variables:
|
||||||
|
|
||||||
- **input** (*Required*): A ffmpeg compatible input file, stream or feed.
|
- **input** (*Required*): An FFmpeg-compatible input file, stream, or feed.
|
||||||
- **name** (*Optional*): This parameter allows you to override the name of your camera.
|
- **name** (*Optional*): Override the name of your camera.
|
||||||
- **extra_arguments** (*Optional*): Extra option they will pass to `ffmpeg`. i.e. image quality or video filter options.
|
- **extra_arguments** (*Optional*): Extra options to pass to `ffmpeg`, e.g. image quality or video filter options.
|
||||||
|
|
||||||
### {% linkable_title Image quality %}
|
### {% linkable_title Image quality %}
|
||||||
|
|
||||||
You can control the `image quality` with [`extra_arguments`](https://www.ffmpeg.org/ffmpeg-codecs.html#jpeg2000) `-q:v 2-32` or with lossless option `-pred 1`.
|
You can control the `image quality` with [`extra_arguments`](https://www.ffmpeg.org/ffmpeg-codecs.html#jpeg2000) `-q:v 2-32` or with lossless option `-pred 1`.
|
||||||
|
|
||||||
|
|
||||||
If you are running into trouble with this sensor, please refer to this [Troubleshooting section](/components/ffmpeg/#troubleshooting).
|
If you are running into trouble with this sensor, please refer to the [Troubleshooting section](/components/ffmpeg/#troubleshooting).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user