Skip to content

Instantly share code, notes, and snippets.

#!/bin/sh
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2018-present Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
@CvH
CvH / banned_repos
Last active April 25, 2018 10:24
List of problematic repositories (most likely false-positive included) - to report an clean repo write an comment below
repository.1orgar
repository.Agent-47
repository.AznKodi
repository.BES-IPTV
repository.BancadeJornais.xbmc
repository.BlackBox247
repository.BlackBox247-REPO
repository.BlazeRepo
repository.CanadaOnDemand
repository.Coolwave.v2
Subject: [media] lirc: LIRC_GET_REC_RESOLUTION should return microseconds
From: Sean Young <sean@mess.org>
Date: Tue, 11 Jul 2017 10:47:37 +0100
Since commit e8f4818895b3 ("[media] lirc: advertise
LIRC_CAN_GET_REC_RESOLUTION and improve") lircd uses the ioctl
LIRC_GET_REC_RESOLUTION to determine the shortest pulse or space that
the hardware can detect. This breaks decoding in lirc because lircd
expects the answer in microseconds, but nanoseconds is returned.
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2017-present Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# LibreELEC is distributed in the hope that it will be useful,
@CvH
CvH / linux-052-XBOX_remote_support.patch
Last active May 18, 2017 23:31 — forked from HiassofT/linux-052-XBOX_remote_support.patch
lirc xbox patch for kernel 4.12
diff --git a/drivers/staging/media/lirc/Kconfig b/drivers/staging/media/lirc/Kconfig
index 3e350a9..935dcc2 100644
--- a/drivers/staging/media/lirc/Kconfig
+++ b/drivers/staging/media/lirc/Kconfig
@@ -19,3 +19,10 @@
Driver for the Zilog/Hauppauge IR Transmitter, found on
PVR-150/500, HVR-1200/1250/1700/1800, HD-PVR and other cards
+
+config LIRC_XBOX
+ tristate "XBOX USB IR Remote"
@CvH
CvH / VAAPI-hwaccel-encode-Linux-Ffmpeg&Libav-setup.md
Created August 6, 2016 19:59 — 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".

case "$1" in
hibernate|suspend)
/etc/init.d/tvheadend stop
modprobe -r smipcie
modprobe -r m88ds3103
modprobe -r dvb_core
modprobe -r m88rs6000t
;;
resume|thaw)
sleep 3