VPS for livestream video


SUBMITTED BY: Guest

DATE: Sept. 22, 2019, 3:02 p.m.

FORMAT: Text only

SIZE: 3.6 kB

HITS: 550

  1. VPS for livestream video
  2. 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.
  3. ++++++++++++++
  4. 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.
  5. Top 200 best traffic exchange sites http://Listfreetop.pw/surf
  6. list of top gpt sites
  7. list of top ptc sites
  8. list of top ptp sites
  9. list of top crypto currency Wallets sites
  10. Listfreetop.pw
  11. Listfreetop.pw
  12. Listfreetop.pw
  13. +++++++++++++++
  14. What i want? I want to have VPS where i gonna upload video and stream that video to youtube live.
  15. Any help?
  16. Thank you
  17. Why do you want to stream a video from your VPS? You can directly stream it on YouTube.
  18. Because i have 700kb/s upload speed.
  19. edit: i found this https://obsproject.com/forum/resourc...sing-nginx.50/ but i need to find way to push local video to livesteam.
  20. It sounds like you could use onestream.live or livereacting.com/stream-pre-recorded-video-facebook-live
  21. Thank you for answering but i want to learn how to do it with my own vps.
  22. Make sure you pick an unmettered VPS with good CPU specs.
  23. 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?
  24. https://medium.com/@yenthanh/setup-a...s-1b0046c77267 ???
  25. WebSitePanel/ MspControl / SolidCP / Smartermail / Installation / Configuration / Troubleshooting / Migrations
  26. Windows Server Management / Security / Hardening
  27. I speak English and Spanish
  28. You should install ubuntu with ngnix and ffmpeg
  29. Configuration nginx.conf for rtmp and hls
  30. 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.
  31. mkdir /tmp/hls
  32. sudo nano /usr/local/nginx/conf/nginx.conf
  33. #user nobody;
  34. user nginxadminusername;
  35. worker_processes 1;
  36. events {
  37. worker_connections 1024;
  38. }
  39. http {
  40. include mime.types;
  41. default_type application/octet-stream;
  42. sendfile on;
  43. server {
  44. listen 80;
  45. server_name YourNginxIPAddress;
  46. location /hls {
  47. # Serve HLS fragments
  48. types {
  49. application/vnd.apple.mpegurl m3u8;
  50. video/mp2t ts;
  51. }
  52. root /tmp/;
  53. add_header Cache-Control no-cache;
  54. add_header 'Access-Control-Allow-Origin' '*';
  55. }
  56. location / {
  57. root html;
  58. index index.html index.htm;
  59. }
  60. error_page 500 502 503 504 /50x.html;
  61. location = /50x.html {
  62. root html;
  63. }
  64. }
  65. }
  66. rtmp {
  67. server {
  68. listen 1935;
  69. application live {
  70. live on;
  71. #What's happening here is we're telling ffmpeg that we want the keyframe interval to be every 40 frames (which is
  72. #two seconds based on OBS's output frame rate of 20fps), and then we're telling nginx to split every 3 keyframes
  73. #(6 seconds). This means that everything fits within the correct second boundaries
  74. exec ffmpeg -i rtmp://YourNginxIPAddress/$app/$name -vcodec libx264 -vprofile
  75. baseline -x264opts keyint=40 -acodec aac -strict -2 -f flv rtmp://YourNginxIPAddress/hls/$name;
  76. }
  77. application hls {
  78. live on;
  79. hls on;
  80. hls_path /tmp/hls/;
  81. hls_fragment 6s;
  82. hls_playlist_length 60s;
  83. }
  84. }
  85. }
  86. Restart Nginx Service
  87. sudo service nginx restart
  88. e domain kota
  89. trafficcodex.com
  90. domain 6 parsons
  91. hosting 90 cz
  92. domain 7 byron bay
  93. domain 3 tea
  94. interserver.net
  95. host 99
  96. host parents
  97. domain suffix
  98. warcraft 3 hosting
  99. 5 domains of life

comments powered by Disqus