You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/_components/camera.ffmpeg.markdown
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ ha_release: 0.26
16
16
The `ffmpeg` platform allows you to use every video feed with [FFmpeg](http://www.ffmpeg.org/) as camera in Home Assistant.
17
17
18
18
<pclass='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.
20
20
</p>
21
21
22
22
To enable your FFmpeg feed in your installation, add the following to your `configuration.yaml` file:
@@ -36,7 +36,7 @@ Configuration variables:
36
36
- **input** (*Required*): A ffmpeg compatible input file, stream or feed.
37
37
- **name** (*Optional*): This parameter allows you to override the name of your camera.
38
38
- **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.
40
40
41
41
### {% linkable_title Image quality %}
42
42
@@ -47,9 +47,11 @@ You can control the `image quality` with [`extra_arguments`](https://www.ffmpeg.
47
47
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.
48
48
49
49
First check, if your stream playable by ffmpeg with (use option `-an` or `-vn` to disable video or audio stream):
50
+
50
51
```
51
-
ffmpeg -i INPUT -an -f null -
52
+
$ ffmpeg -i INPUT -an -f null -
52
53
```
54
+
53
55
Now you can see what going wrong. Following list could be help to solve your trouble:
54
56
55
57
- `[rtsp @ ...] UDP timeout, retrying with TCP`: You need to set rtsp transport in config with: `input: -rtsp_transport tcp -i INPUT`
0 commit comments