Skip to content

Instantly share code, notes, and snippets.

View francisuk1989's full-sized avatar

Francis francisuk1989

  • Douglas, Isle of Man
  • 21:45 (UTC +01:00)
View GitHub Profile
@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.