From b656a780961b0e3ea706da242129c29354951145 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 13 Aug 2016 18:12:55 +0200 Subject: [PATCH] Fix remaining issues --- source/_components/camera.ffmpeg.markdown | 24 ++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/source/_components/camera.ffmpeg.markdown b/source/_components/camera.ffmpeg.markdown index 593ba03c62c..e7fcaf4326c 100644 --- a/source/_components/camera.ffmpeg.markdown +++ b/source/_components/camera.ffmpeg.markdown @@ -1,33 +1,34 @@ --- layout: page title: "FFmpeg Camera" -description: "Instructions how to integrate a Video feet with FFmpeg as cameras within Home Assistant." -date: 2015-09-17 08:01 +description: "Instructions how to integrate a Video fees with FFmpeg as cameras within Home Assistant." +date: 2016-08-13 08:00 sidebar: true comments: false sharing: true footer: true logo: ffmpeg.png ha_category: Camera +ha_release: 0.26 --- -The `ffmpeg` platform allows you to use every video feet with [FFmpeg](http://www.ffmpeg.org/) as camera in Home Assistant. +The `ffmpeg` platform allows you to use every video feed with [FFmpeg](http://www.ffmpeg.org/) as camera in Home Assistant.

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.

-To enable your Foscam IP camera 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: ```yaml # Example configuration.yaml entry camera: - platform: ffmpeg - input: FFMPEG_SUPPORTED_INPUT - name: FFmpeg - ffmpeg_bin: /usr/bin/ffmpeg - extra_arguments: -q:v 2 + - platform: ffmpeg + input: FFMPEG_SUPPORTED_INPUT + name: FFmpeg + ffmpeg_bin: /usr/bin/ffmpeg + extra_arguments: -q:v 2 ``` Configuration variables: @@ -37,6 +38,7 @@ Configuration variables: - **ffmpeg_bin** (*Optional*): Default 'ffmpeg'. - **extra_arguments** (*Optional*): Extra option they will pass to ffmpeg. i.e. image quality or video filter options. -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 controll the image quality with [extra_arguments](https://www.ffmpeg.org/ffmpeg-codecs.html#jpeg2000) *-q:v 2-32* or with lossless option *-pred 1*.