Skip to content

Instantly share code, notes, and snippets.

View Sub-7's full-sized avatar
👍

Sub7 Sub-7

👍
  • Germany
View GitHub Profile
@Sub-7
Sub-7 / gastherme.yml
Created January 24, 2023 12:36 — forked from djmaze/gastherme.yml
ESPHome-Config, um einen Gaszähler per Reed-Kontakt auszulesen
globals:
- id: total_pulses
type: int
restore_value: true
initial_value: '0' # startet mit 0
- id: imp_ratio
type: float
restore_value: false
initial_value: '0.01' # vom Gaszaehler
- id: Zustandszahl
@Sub-7
Sub-7 / VAAPI-hwaccel-encode-Linux-Ffmpeg&Libav-setup.md
Created January 20, 2018 22:39 — forked from Brainiarc7/VAAPI-hwaccel-encode-Linux-Ffmpeg&Libav-setup.md
This gist contains instructions on setting up FFmpeg and Libav to use VAAPI-based hardware accelerated encoding (on supported platforms) for H.264 (and H.265 on supported hardware) video formats.

Using VAAPI's hardware accelerated video encoding on Linux with Intel's hardware on FFmpeg and libav

Hello, brethren :-)

As it turns out, the current version of FFmpeg (version 3.1 released earlier today) and libav (master branch) supports full H.264 and HEVC encode in VAAPI on supported hardware that works reliably well to be termed "production-ready".

@Sub-7
Sub-7 / vaapi-ffmpeg-build.md
Created January 20, 2018 22:24
Building a VAAPI enabled FFmpeg for use bound to the !/bin prefix

Build FFmpeg and libva with decode and encode hardware acceleration on an Intel-based validation testbed:

Build platform: Ubuntu

Install baseline dependencies first

sudo apt-get -y install autoconf automake build-essential libass-dev libtool pkg-config texinfo zlib1g-dev