VPS for livestream video
I have been searching this for long time but no luck so i hope someone will know how to do it or atleast put some tutorial.
++++++++++++++
If You want to buy cheap web hosting then visit http://Listfreetop.pw and select the cheapest hosting. it can be suitable for all your needs.
Top 200 best traffic exchange sites http://Listfreetop.pw/surf
list of top gpt sites
list of top ptc sites
list of top ptp sites
list of top crypto currency Wallets sites
Listfreetop.pw
Listfreetop.pw
Listfreetop.pw
+++++++++++++++
What i want? I want to have VPS where i gonna upload video and stream that video to youtube live.
Any help?
Thank you
Why do you want to stream a video from your VPS? You can directly stream it on YouTube.
Because i have 700kb/s upload speed.
edit: i found this https://obsproject.com/forum/resourc...sing-nginx.50/ but i need to find way to push local video to livesteam.
It sounds like you could use onestream.live or livereacting.com/stream-pre-recorded-video-facebook-live
Thank you for answering but i want to learn how to do it with my own vps.
Make sure you pick an unmettered VPS with good CPU specs.
Yes but how to livestream local video on vps? I upload video to vps then what? What line of code in /usr/local/nginx/conf/nginx.conf i need to add?
https://medium.com/@yenthanh/setup-a...s-1b0046c77267 ???
WebSitePanel/ MspControl / SolidCP / Smartermail / Installation / Configuration / Troubleshooting / Migrations
Windows Server Management / Security / Hardening
I speak English and Spanish
You should install ubuntu with ngnix and ffmpeg
Configuration nginx.conf for rtmp and hls
First create the folder for hls files under /tmp. Then change nginx.conf file according to your info. I removed the comments from nginx.conf in this article for readability's sake. You need to modify YourNginxIPAddress field with your own server.
mkdir /tmp/hls
sudo nano /usr/local/nginx/conf/nginx.conf
#user nobody;
user nginxadminusername;
worker_processes 1;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
server {
listen 80;
server_name YourNginxIPAddress;
location /hls {
# Serve HLS fragments
types {
application/vnd.apple.mpegurl m3u8;
video/mp2t ts;
}
root /tmp/;
add_header Cache-Control no-cache;
add_header 'Access-Control-Allow-Origin' '*';
}
location / {
root html;
index index.html index.htm;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}
}
rtmp {
server {
listen 1935;
application live {
live on;
#What's happening here is we're telling ffmpeg that we want the keyframe interval to be every 40 frames (which is
#two seconds based on OBS's output frame rate of 20fps), and then we're telling nginx to split every 3 keyframes
#(6 seconds). This means that everything fits within the correct second boundaries
exec ffmpeg -i rtmp://YourNginxIPAddress/$app/$name -vcodec libx264 -vprofile
baseline -x264opts keyint=40 -acodec aac -strict -2 -f flv rtmp://YourNginxIPAddress/hls/$name;
}
application hls {
live on;
hls on;
hls_path /tmp/hls/;
hls_fragment 6s;
hls_playlist_length 60s;
}
}
}
Restart Nginx Service
sudo service nginx restart
e domain kota
trafficcodex.com
domain 6 parsons
hosting 90 cz
domain 7 byron bay
domain 3 tea
interserver.net
host 99
host parents
domain suffix
warcraft 3 hosting
5 domains of life