diff --git a/docs/development_environment.md b/docs/development_environment.md index 5693f7f3..5ce87a67 100644 --- a/docs/development_environment.md +++ b/docs/development_environment.md @@ -18,6 +18,7 @@ In order to run `script/setup` below you will need some more dependencies. ```bash $ sudo apt-get install autoconf libssl-dev libxml2-dev libxslt1-dev libjpeg-dev libffi-dev libudev-dev zlib1g-dev +$ sudo apt-get install -y libavformat-dev libavcodec-dev libavdevice-dev libavutil-dev libswscale-dev libavresample-dev libavfilter-dev ``` > Different distributions have different package installation mechanisms and sometimes packages names as well. For example CentOS would use: `sudo yum install epel-release && sudo yum install python36 python36-devel mysql-devel gcc` @@ -42,6 +43,7 @@ When the Linux subsystem is set up, perform install as for Linux. $ sudo apt-get update $ sudo apt-get install python3-pip python3-dev python3-venv $ sudo apt-get install autoconf libssl-dev libxml2-dev libxslt1-dev libjpeg-dev libffi-dev libudev-dev zlib1g-dev +$ sudo apt-get install -y libavformat-dev libavcodec-dev libavdevice-dev libavutil-dev libswscale-dev libavresample-dev libavfilter-dev ``` Hint: Git is included in Linux subsytem. @@ -61,6 +63,12 @@ Install [Homebrew](https://brew.sh/), then use that to install Python 3: $ brew install python3 autoconf ``` +Then install ffmpeg: + +```bash +$ brew install ffmpeg +``` + ## Setup Local Repository Visit the [Home Assistant repository](https://github.com/home-assistant/home-assistant) and click **Fork**.