-
Install elrepo
wget https://elrepo.org/linux/kernel/el7/x86_64/RPMS/elrepo-release-7.0-8.el7.elrepo.noarch.rpm sudo rpm -Uvh elrepo-release-7.0-8.el7.elrepo.noarch.rpm sudo vi -i 's|http://elrepo.org/linux|https://linux.cc.iitk.ac.in/mirror/centos|g' /etc/yum.repos.d/elrepo.repo
| deb https://ftp.debian.org/debian/ bookworm contrib main non-free non-free-firmware | |
| # deb-src https://ftp.debian.org/debian/ bookworm contrib main non-free non-free-firmware | |
| deb https://ftp.debian.org/debian/ bookworm-updates contrib main non-free non-free-firmware | |
| # deb-src https://ftp.debian.org/debian/ bookworm-updates contrib main non-free non-free-firmware | |
| deb https://ftp.debian.org/debian/ bookworm-proposed-updates contrib main non-free non-free-firmware | |
| # deb-src https://ftp.debian.org/debian/ bookworm-proposed-updates contrib main non-free non-free-firmware | |
| deb https://ftp.debian.org/debian/ bookworm-backports contrib main non-free non-free-firmware |
| { | |
| "log": { | |
| "level": "info", | |
| "output": "sing-box.log", | |
| "timestamp": true | |
| }, | |
| "dns": { | |
| "servers": [ | |
| { | |
| "tag": "cloudflare", |
Since we're dealing with simpler AV1 encoding, that does mean we'll be eskewing aomenc-av1, since it requires 2-pass encoding to be able to take advantage of it, and I use it externally since I have access to a special build.
Now, let's get on with the simple guide.
You'll first need to be reasonably competent with command line builds or use a recent up to date ffmpeg GUI with support for SVT-AV1.
As such, I would recommend getting a master git ffmpeg build for the operating system of your choice right here:
| deb http://deb.debian.org/debian bullseye main contrib non-free | |
| deb-src http://deb.debian.org/debian bullseye main contrib non-free | |
| deb http://deb.debian.org/debian bullseye-updates main contrib non-free | |
| deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free | |
| deb http://deb.debian.org/debian bullseye-backports main contrib non-free | |
| deb-src http://deb.debian.org/debian bullseye-backports main contrib non-free | |
| deb http://security.debian.org/debian-security/ bullseye-security main contrib non-free |
| RAR registration data | |
| WinRAR | |
| Unlimited Company License | |
| UID=4b914fb772c8376bf571 | |
| 6412212250f5711ad072cf351cfa39e2851192daf8a362681bbb1d | |
| cd48da1d14d995f0bbf960fce6cb5ffde62890079861be57638717 | |
| 7131ced835ed65cc743d9777f2ea71a8e32c7e593cf66794343565 | |
| b41bcf56929486b8bcdac33d50ecf773996052598f1f556defffbd | |
| 982fbe71e93df6b6346c37a3890f3c7edc65d7f5455470d13d1190 | |
| 6e6fb824bcf25f155547b5fc41901ad58c0992f570be1cf5608ba9 |
| # source from phuslu | |
| # https://phus.lu/sysctl.conf | |
| # bbr | |
| net.core.default_qdisc=fq | |
| net.ipv4.tcp_congestion_control=bbr | |
| net.ipv4.tcp_retries2 = 8 | |
| # 系统所有进程一共可以打开的文件数量, 每个套接字也占用一个文件描述字 |
This document contains collected notes regarding html5 live streaming approaches. I'm trying to understand how to build a system that enables streaming of live video to HTML5 clients. Following content is mainly centered around MPEG-DASH - modern way of dealing with given needs.
To prepare movie.avi from MPEG-DASH streaming we will execute following ffmpeg commands:
> ffmpeg -y -i movie.avi -an -c:v libx264 -x264opts 'keyint=24:min-keyint=24:no-scenecut' -b:v 1500k -maxrate 1500k -bufsize 3000k -vf "scale=-1:720" movie-720.mp4
> ffmpeg -y -i movie.avi -an -c:v libx264 -x264opts 'keyint=24:min-keyint=24:no-scenecut' -b:v 800k -maxrate 800k -bufsize 1600k -vf "scale=-1:540" movie-540.mp4
> ffmpeg -y -i movie.avi -an -c:v libx264 -x264opts 'keyint=24:min-keyint=24:no-scenecut' -b:v 400k -maxrate 400k -bufsize 800k -vf "scale=-1:360" movie-360.mp4
laptop ssh -> laptop stunnel -> evil network -> internet -> your server -> your server ssh
Sets up a stunnel process listening externally on port 2443/tcp, forwards to localhost 22/tcp
- Install stunnel, e.g.
yum install stunnel - Install server config snippet to
/etc/stunnel/stunnel.conf
| # This is the ssh client system-wide configuration file. See | |
| # ssh_config(5) for more information. This file provides defaults for | |
| # users, and the values can be changed in per-user configuration files | |
| # or on the command line. | |
| # Configuration data is parsed as follows: | |
| # 1. command line options | |
| # 2. user-specific file | |
| # 3. system-wide file | |
| # Any configuration value is only changed the first time it is set. |