Skip to content

Instantly share code, notes, and snippets.

View francisuk1989's full-sized avatar

Francis francisuk1989

  • Douglas, Isle of Man
  • 23:40 (UTC)
View GitHub Profile
@francisuk1989
francisuk1989 / APKBUILD
Created May 28, 2024 17:09
Nicotine Alpine Linux
kgname=nicotine-plus
pkgver=3.3.4
pkgrel=3
pkgdesc="Graphical client for the SoulSeek peer-to-peer system"
url="https://nicotine-plus.github.io/nicotine-plus"
arch="noarch"
license="GPL-3.0-or-later"
depends="gtk4.0 mesa-gles py3-gobject3 python3 python3-gdbm"
makedepends="py3-gpep517 py3-setuptools py3-wheel gettext"
checkdepends="py3-pytest"
@francisuk1989
francisuk1989 / 00-defaults.conf
Created May 11, 2023 13:03
qosify for OpenWrt 22.03.X/Snapshots
# /etc/qosify/00-defaults.conf
# The default class for traffic that is deprioritized.
# Add Ports/Domains here for traffic that should be prioritized e.g besteffort for Video Streams.
# IPs cant but used at the moment.
# Microsoft Remote Desktop (RDP)
tcp:3389 video_network
udp:3389 video_network
# Parsec - Remote Desktop
@francisuk1989
francisuk1989 / FFmpeg to RTMP
Last active March 19, 2023 21:18
FFmpeg to RTMP
Nvidia GPU to ffmpeg for RTMP with nginx 1.22.0 + Ubuntu MATE 22.04.2
# https://www.elpamsoft.com/?p=Plex-Hardware-Transcoding
### Build
Install NVIDIA CUDA Toolkit here for Linux/Ubuntu however Debain will use the same commands.
https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64
Compile ffmpeg for CUDA
https://docs.nvidia.com/video-technologies/video-codec-sdk/ffmpeg-with-nvidia-gpu/index.html#compiling-for-linux
#EXTM3U
#EXTINF:-1 tvg-name="BBC Radio 1" group-title="Radio" radio="true" tvg-logo="https://raw.githubusercontent.com/jnk22/kodinerds-iptv/master/logos/radio/bbcradio1.png",BBC Radio 1
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio1_mf_p
Copy pbr.user.cloudflare to /usr/share/pbr folder.
Edit /etc/config/pbr and add
config include
option path '/usr/share/pbr/pbr.user.cloudflare'
option enabled '1'
Reboot router.