Comments on How to Install Nginx with RTMP Module on CentOS 7
RTMP (Real Time Messaging Protocol) is a high-performance protocol for transmission of data, audio, and video over the internet between flash-based platform technologies. Originally developed by Macromedia, and now owned by Adobe. In this tutorial, I will show you how to install and configure the Nginx web server with the RTMP module.
17 Comment(s)
Comments
This tutorial worked out great, but I would like know how would one add streamer authentication, while this works it also allows anyone to stream on my setup i d like to be able to restrict access
How to setup mobile live please help me
Great post! How play the videos stored on /mnt/mp4s or /mnt/hls embeded in html?
I have done all right as what this article says, but still can't play video through vlc player.
By the way. The vlc player was installed on a Windows10 computer.
I try convert the rtmp stream to rtsp by using ffmpeg and it could successfuly parse the rtmp stream.
I don't know why my vlc player on windows os can't work. Could somebody help me.
Hello, I wanted to know which VPS server to hire, I need to know what configuration I need to use with 2000 thousand people watching my video simultaneously, thanks for the tutorial.
Works like a charm, except how can I view the stream from an embedded player from the net. Works in VLC just fine, but I want the live stream to be viewed by others on my website.
I seem to have a problem streaming Live from OSB. Stream starts fine OSB connect to the server, stream starts.
When I try using VLC to stream I just see the bar going back and forth, nothing happens, no errors on the VLC side.
Any ides would be helpful.
Cheers,
Hubert
plz help, im stuck in here systemctl enable nginx
Failed to execute operation: Bad message
what to do please ?
Thanks
hello, I am looking to have someone build for me an HLS Streaming Server with NGINX so that I can do live broadcasing on Roku IPTV.
I want to use my existing website to link the m3u8 link and run it through hoping that this may allow unlimited viewers since i won't be saving any data. can anybody help? email me at [email protected]
Hi,
I would like to use this to try out and create tutorial with in contacts. Can I do so?
This is a great article. According to the tutorial, I successfully configured the nginx server. I would like to translate your article to other forums. I wonder if it is OK? Thanks again?
I'm sorry, translation and republishing of HowtoForge articles is not permitted.
Hello ,
I have donw excectlly as it say
didn't get any error
but it doesn't work ,
when I enter the
serverIP:8080 , I get nothing
ServerIP:1935 nothing
the service is up
sudo systemctl status nginx
? nginx.service - The nginx HTTP and reverse proxy server
Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2020-07-02 13:25:17 GMT; 32min ago
what could it be ?
Thanks,
Do you use a firewall? Are the ports opened in the firewall?
Using CentOS 8 (Core) - All these steps work fanatstic except you now need to use nginx 1.15.0 instead of 1.14.0
wget https://nginx.org/download/nginx-1.15.0.tar.gztar -xzvf nginx-1.15.0.tar.gzhls fragmented files deleted after a while i upload them to the server! in fact, after 1 min the converted files deletes on the server!
RTMP TEST WORKS FINE ON VLC.
here is my ffmpeg command:
ffmpeg -i /mnt/videos/myfile.mp4 /mnt/hls/myfile.m3u8
.......here is my hls config:# Define the Applicationapplication show {live on;# Turn on HLShls on;hls_path /mnt/hls/;hls_cleanup off;hls_playlist_length 10y;hls_fragment 3;......Any Idea!TNX.
Very nice tutorial, but i have been burning my head trying to compile nginx and always get the same error:
nginx-1.15.0/src/stream/ngx_stream_limit_conn_module.o \
nginx-1.15.0/src/stream/ngx_stream_access_module.o \
nginx-1.15.0/src/stream/ngx_stream_geo_module.o \
nginx-1.15.0/src/stream/ngx_stream_map_module.o \
nginx-1.15.0/src/stream/ngx_stream_split_clients_module.o \
nginx-1.15.0/src/stream/ngx_stream_return_module.o \
nginx-1.15.0/src/stream/ngx_stream_upstream_hash_module.o \
nginx-1.15.0/src/stream/ngx_stream_upstream_least_conn_module.o \
nginx-1.15.0/src/stream/ngx_stream_upstream_zone_module.o \
nginx-1.15.0/src/stream/ngx_stream_ssl_preread_module.o \
nginx-1.15.0/ngx_stream_module_modules.o \
-shared
sed -e "s|%%PREFIX%%|/etc/nginx|" \
-e "s|%%PID_PATH%%|/var/run/nginx.pid|" \
-e "s|%%CONF_PATH%%|/etc/nginx/nginx.conf|" \
-e "s|%%ERROR_LOG_PATH%%|/var/log/nginx/error.log|" \
< man/nginx.8 > nginx-1.15.0/nginx.8
make[1]: se sale del directorio '/usr/local/src/nginx-1.15.0'
with any version of Centos, i have tryied 7 Minimal and then Centos 8 Core or Minimal Installation, i tried LVM and Standard partitioning and i have done everything the most clean and clear way possible, so whats missing, whats wrong? at least i have tried to continue every step and everything seems to be working, i have made the test for ondemand video and it works, so i just have to ask?
does any body know if this is normal? or abnormal?
make[1]: se sale del directorio '/usr/local/src/nginx-1.15.0'
just after that the make process ends, so it would make any body think that something went wrong and cannot continue.