Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Codexual here, I've setup time codes related to the video when to run the commands ( https://www.youtube.com/watch?v=NtSd4IPjpLQ ), hopefully that would help. Speaking of help, depending if I like your demeanor I might help you if you are stuck... But most of the time I am too lazy to care and or just want to avoid people 'coz I am anti-social. So GOOD LUCK :D
- http://codexual.gg - social medias.
- -----0:00
- apt update
- apt upgrade
- sudo -i
- apt install libinput-dev make cmake tcl openssl zlib1g-dev gcc perl net-tools nano ssh git zip unzip tclsh pkg-config cmake libssl-dev build-essential -y
- # If this long command doesn't want to work for some odd reason then run these single commands below.
- apt install tclsh
- apt install pkg-config
- apt install libssl-dev
- apt install build-essential
- apt install make
- apt install cmake
- apt install tcl
- apt install openssl
- apt install zlib1g-dev
- apt install gcc
- apt install perl
- apt install net-tools
- apt install nano
- apt install ssh
- apt install git
- apt install zip
- apt install unzip
- -----6:04
- # https://github.com/Haivision/srt
- git clone https://github.com/Haivision/srt.git
- cd srt
- ./configure
- make
- git checkout v1.4.3 && ./configure && make -j8 && make install
- cd ../
- -----7:43
- # https://gitlab.com/mattwb65/srt-live-server
- # These bottom two links if you are having errors when running "sls" in the bin folder (for ref)
- # https://github.com/Edward-Wu/srt-live-server/issues/16
- # https://stackoverflow.com/questions/13428910/how-to-set-the-environmental-variable-ld-library-path-in-linux
- git clone https://gitlab.com/mattwb65/srt-live-server.git
- cd srt-live-server
- git checkout v1.4.3 && ./configure && make -j8 && make install
- make -j8
- mv sls.conf sls.bak
- pico sls.conf
- cd bin
- ldconfig
- ./sls -c ../sls.conf
- -----18:00
- # Allowing ubuntu firewall to have access to these ports, 8181 = SLS HTTP, 8282 = SLS Server, 22 = SSH (Allow to terminal/run commands)
- ufw allow 8181/udp
- ufw allow 8181/tcp
- ufw allow 8282/udp
- ufw allow 8282/tcp
- ufw allow 22/tcp
- ufw allow 22/udp
- -----18:35
- # https://github.com/715209/nginx-obs-automatic-low-bitrate-switching
- # https://github.com/715209/nginx-obs-automatic-low-bitrate-switching/releases/tag/v2.5.5
- #
- # https://github.com/715209/nginx-obs-automatic-low-bitrate-switching/releases/tag/v1.9.0 <- only downloading to grab the old config.json file and it will generate into a new config file one we run the updated version and it will do everything for you.
- #
- # https://twitchapps.com/tmi <--- generate your OAUTH key for your Twitch bot (keep it safe and private! (Note your OAUTH key will only stop working if you change your Twitch bot's password via Twith.tv)
- cd ../
- wget https://github.com/715209/nginx-obs-automatic-low-bitrate-switching/releases/download/v2.5.5/noalbs-v2.5.5-x86_64-unknown-linux-musl.tar.gz
- tar -xf noalbs-v2.5.5-x86_64-unknown-linux-musl.tar.gz
- rm -rf noalbs-v2.5.5-x86_64-unknown-linux-musl.tar.gz
- mv noalbs-v2.5.5-x86_64-unknown-linux-musl noalbs
- wget https://github.com/715209/nginx-obs-automatic-low-bitrate-switching/archive/refs/tags/v1.9.0.zip
- mkdir noalbs-old
- cd noalbs-old
- unzip v1.9.0.zip
- mv nginx-obs-automatic-low-bitrate-switching-1.9.0 noalbs-old
- cd noalbs-old
- pico config.json
- mv config.json /root/noalbs
- cd ../
- cd noalbs
- pico config.json
- pico .env
- -----33:27
- # Setting up your obs
- # OBS Websocket https://obsproject.com/forum/resources/obs-websocket-remote-control-obs-studio-from-websockets.466/
- # Adding this URL into your VLC player as a source in OBS srt://192.168.1.163:8282/live/stream/belabox
- -----58:18
- #Look at the batch link (Check YouTube description)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement