ffmpeg is a fast video and audio converter that can also grab from a live audio/video source.
- -h show all options
- -h(elp) topic show help
- -version show version
- -formats show available formats
| FROM amd64/python:3 | |
| WORKDIR / | |
| RUN mkdir /install | |
| RUN mkdir /install/openssl | |
| RUN mkdir /azure-stt | |
| # updating sources | |
| RUN apt-get update |
| substitutions: | |
| device_name: "lush-cover-controller" | |
| pulley_diameter_mm: "21.963" | |
| gear_ratio: "1880/2000" | |
| distance_mm: "2050" | |
| acceleration: 500 steps/s^2 | |
| velocity: 2500 steps/s # 200 (motor steps) * ${microsteps} | |
| back_off_steps: "200" # back off some steps to reduce stepper energize noise | |
| open_current_x: 1000ma |
| - alias: "Turn on light with random color" | |
| id: babc0ffa-622e-450a-a8c4-8dcddbb7e1f3 | |
| initial_state: True | |
| trigger: | |
| platform: sun | |
| event: sunset | |
| offset: "-00:15:00" | |
| action: | |
| service: light.turn_on | |
| entity_id: light.hue_color_table_1 |
| # Install bluealsa to create interface to Bluetooth device | |
| git clone https://github.com/Arkq/bluez-alsa.git | |
| cd bluez-alsa | |
| su | |
| apt-get install libglib2.0-dev -y | |
| apt-get install -y libasound2-dev | |
| apt install -y build-essential autoconf | |
| apt-get install -y libbluetooth-dev | |
| apt-get install libtool -y |
| Please find below the various piece of code that together control my RGB light to loop in Rainbow. | |
| Every two seconds, it change from one colour to another based on the value of the second. | |
| So it compute 30 differents RGB value in a "circle", all with the same Saturation and Brightness both forced to 1.0 | |
| The transition from one colour to another is done in one seconds. | |
| The name of my Tradfri RGB light bulb is "light.couleur" | |
| A link to my video on Twitter: | |
| https://twitter.com/DavidGlaude/status/1059596285991366657 |