Русские видео

Сейчас в тренде

Иностранные видео


Скачать с ютуб TRIPLE your livestream audience! Multistreaming on a $100 Raspberry Pi using NGINX & RTMP💻 | WOF #30 в хорошем качестве

TRIPLE your livestream audience! Multistreaming on a $100 Raspberry Pi using NGINX & RTMP💻 | WOF #30 4 года назад


Если кнопки скачивания не загрузились НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием, пожалуйста напишите в поддержку по адресу внизу страницы.
Спасибо за использование сервиса savevideohd.ru



TRIPLE your livestream audience! Multistreaming on a $100 Raspberry Pi using NGINX & RTMP💻 | WOF #30

SUPPORT your Lords on Patreon:   / lordsofthetrident   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Multistreaming is a great way to keep multiple audiences engaged or increase your reach on different platforms. Fang reveals the ARCANE SECRETS of setting up a multistream server on a $100 Raspberry Pi! CarCade Video:    • THE CARCADE: Add a FULL ARCADE to you...   ~~~~~~~[CODE TO COPY/PASTE]~~~~~~~~ PASTBIN LINK: https://pastebin.com/z1GtX9FD Enable SSH and Rename Pi: sudo raspi-config Select “Network Options” Select “Hostname” and hit enter. Enter the new name, hit enter Return to the main menu and go to “Interfacing Options” Navigate to SSH and choose “Yes”, then “OK”, then “Finish”. if asked, reboot the Pi Make a directory for your saved recordings: mkdir /home/pi/streamdump Install Pre-reqs for NGINX: sudo apt-get install build-essential libpcre3 libpcre3-dev libssl-dev Install NGINX with RTMP: sudo apt install nginx sudo apt install libnginx-mod-rtmp Make sure NGINX is running (it should come up with [OK] or Active [RUNNING]): (you may have to use “Ctrl+c” to get back to a command line after this command) sudo systemctl status nginx.service Install Stunnel: sudo apt install stunnel4 Stunnel Conf File: sudo nano /etc/stunnel/stunnel.conf setuid = stunnel4 setgid = stunnel4 pid=/tmp/stunnel.pid output = /var/log/stunnel4/stunnel.log include = /etc/stunnel/conf.d Save: Press Ctrl+x, Type “Y”, then hit enter. Add Facebook Conf File: sudo mkdir /etc/stunnel/conf.d sudo nano /etc/stunnel/conf.d/fb.conf [fb-live] client = yes accept = 127.0.0.1:19350 connect = live-api-s.facebook.com:443 verifyChain = no Save: Press Ctrl+x, Type “Y”, then hit enter. Allow Stunnel through your firewall: sudo iptables -A INPUT -p tcp --dport 443 -j ACCEPT Create RTMP Configuration File: sudo nano /etc/nginx/rtmp.conf rtmp { server { listen 1935; chunk_size 4096; application live { live on; #facebook through stunnel for SSL push rtmp://127.0.0.1:19350/rtmp/[PUT_FACEBOOK_STREAM_KEY_HERE]; #youtube live event push rtmp://a.rtmp.youtube.com/live2/[PUT_YOUTUBE_STREAM_KEY_HERE]; #twitch push rtmp://live-ord02.twitch.tv/app/[PUT_TWITCH_STREAM_KEY_HERE]; allow publish all; allow play all; meta copy; record all; record_unique on; record_path /home/pi/streamdump/; } } } Save: Press Ctrl+x, Type “Y”, then hit enter. Add the RTMP file to the NGINX config file: sudo nano /etc/nginx/nginx.conf Under the line: “include /etc/nginx/modules-enabled/*.conf;” Add this line: include /etc/nginx/rtmp.conf; Save: Press Ctrl+x, Type “Y”, then hit enter. ❗❗❗❗❗❗❗❗❗❗UPDATE 2020.12.31❗❗❗❗❗❗❗❗❗❗ - Run this to fix Nginx not coming online after reboot: sudo nano /lib/systemd/system/nginx.service At the bottom of the [Unit] code, add: After=network-online.target Wants=network-online.target Reboot the Pi: sudo reboot Use Windows Terminal to SSH into your Pi: ssh pi@(your_PI_Name) Make sure your services are running (should all come up with [OK] or Active[RUNNING]): (you may have to use “Ctrl+c” to get back to a command line after each command) sudo systemctl status nginx.service sudo systemctl status stunnel4.service (OPTIONAL) If you want to connect to your recording directory on Windows, follow these instructions to install Samba: https://pimylifeup.com/raspberry-pi-s... In OBS or Streamlabs, choose Custom Server: rtmp://(YOUR_PI_NAME):1935/live key is anything ===================================== ~~FOLLOW YOUR LORDS INTO BATTLE!~~ Like and Subscribe, and pledge your fealty on our social media: Website: http://www.LordsOfTheTrident.com Facebook:   / lordsofthetrident   Instagram:   / lordsofthetrident   Twitter:   / lordsoftrident   Patreon:   / lordsofthetrident   YouTube:    / lordsofthetrident   Twitch:   / lordsofthetrident   ~~Hey, Listen!~~ Bandcamp: http://lordsofthetrident.bandcamp.com/ Spotify: https://open.spotify.com/artist/1C11h... Apple Music:   / lords-of-the-trident   Pandora: https://www.pandora.com/artist/lords-... Soundcloud:   / lordsofthetrident   Last.FM: https://www.last.fm/music/Lords+of+th... ~~Video Gear We’re Using~~ Main Camera: BlackMagic Pocket Cinema 4k: https://amzn.to/2WRYYcI Adaptor: MetaBones SpeedBooster for Canon lenses: https://amzn.to/3dl5P5O Secondary Camera: Canon T6i: https://amzn.to/2TTbSH9 Lens: Sigma Canon 18-35mm: https://amzn.to/2Ak9ORg Lens: Rokinon Cine CV35-C 35mm: https://amzn.to/2xIiNuk Microphone: Neumann TLM 103: https://amzn.to/2xJEHgP Lav Mic Set: https://amzn.to/2TXx9zP Lights: https://amzn.to/2wWGZsD Softbox: https://amzn.to/3d5hTs7 Boom Arm for Overhead Light: https://amzn.to/3aXK0rc ===================================== #multistream #raspberrypi #diy

Comments