Skip to content

Commit 0c0b2c9

Browse files
committed
Minor updates
1 parent 178cfa5 commit 0c0b2c9

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

source/_components/binary_sensor.ffmpeg.markdown

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,5 @@ For playing with values (changes/100 is the scene value on ffmpeg):
9494
```bash
9595
$ ffmpeg -i YOUR_INPUT -an -filter:v select=gt(scene\,0.1) -f framemd5 -
9696
```
97+
98+
If you are running into trouble with this sensor, please refer to this [Troubleshooting section](/components/camera.ffmpeg/#troubleshooting).

source/_components/camera.ffmpeg.markdown

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ha_release: 0.26
1616
The `ffmpeg` platform allows you to use every video feed with [FFmpeg](http://www.ffmpeg.org/) as camera in Home Assistant.
1717

1818
<p class='note'>
19-
You need a ffmpeg binary in your system path. On debain 8 you can install it from backports. If you want HW support on raspberry you need self build from source. Windows binary are avilable on ffmpeg homepage.
19+
You need a `ffmpeg` binary in your system path. On Debain 8 you can install it from backports. If you want Hardware support on a Raspberry Pi you need tobuild from source by yourself. Windows binary are avilable on the [FFmpeg](http://www.ffmpeg.org/) website.
2020
</p>
2121

2222
To enable your FFmpeg feed in your installation, add the following to your `configuration.yaml` file:
@@ -36,7 +36,7 @@ Configuration variables:
3636
- **input** (*Required*): A ffmpeg compatible input file, stream or feed.
3737
- **name** (*Optional*): This parameter allows you to override the name of your camera.
3838
- **ffmpeg_bin** (*Optional*): Default 'ffmpeg'.
39-
- **extra_arguments** (*Optional*): Extra option they will pass to ffmpeg. i.e. image quality or video filter options.
39+
- **extra_arguments** (*Optional*): Extra option they will pass to `ffmpeg`. i.e. image quality or video filter options.
4040

4141
### {% linkable_title Image quality %}
4242

@@ -47,9 +47,11 @@ You can control the `image quality` with [`extra_arguments`](https://www.ffmpeg.
4747
In most of case, ffmpeg autodetect all needed options to read a video/audio stream or file. But it is possible in rare cases that's needed to set a option to help ffmpeg. Default ffmpeg use 5 seconds to detect all options or abord.
4848

4949
First check, if your stream playable by ffmpeg with (use option `-an` or `-vn` to disable video or audio stream):
50+
5051
```
51-
ffmpeg -i INPUT -an -f null -
52+
$ ffmpeg -i INPUT -an -f null -
5253
```
54+
5355
Now you can see what going wrong. Following list could be help to solve your trouble:
5456

5557
- `[rtsp @ ...] UDP timeout, retrying with TCP`: You need to set rtsp transport in config with: `input: -rtsp_transport tcp -i INPUT`

0 commit comments

Comments
 (0)