I. Configuring HLS in the Rtmp module of the Nginx configuration fileHls_key_path/tmp/hlskeys;Prompt for error message:the same path name "/data/hlskeys" used in/usr/local/nginx/conf/nginx.conf:178 and in/usr/local/nginx/conf/ nginx.conf:178Workaround:View official RTMP Source code:nginx-rtmp-module / HLS /ngx_rtmp_hls_module.c Ngx_conf_merge_str_value (conf->
Pre-readiness to understand RTMP definition readiness Rtmpdump in LIBRTMP using the Libssllibcrypto push flow work overall framework diagram in OpenSSL use the LIBTRMP provided API to package streaming into rtmp format Advanced rtmp Client and RTMP server interaction process Rtmpdump Source Analysis handshake handsshak
module command is TCP, which does not belong to the HTTP framework, so it is at the same level as HTTP {}.
Tcp {upstream proxy_name {# simple round-route server localhost: 1935; # port requiring proxy # check interval = 3000 rise = 2 fall = 5 timeout = 1000; # check interval = 3000 rise = 2 fall = 5 timeout = 1000 # check interval = 3000 rise = 2 fall = 5 timeout = 1000 # check_http_send "GET/HTTP/1.0 \ r \ n \ r \ n "; # check_http_expect_alive http_2xxhttp_3xx;} server {listen 8888; # proxy p
--with-openssl=objs/lib/openssl-1.0.2k \--with-select_module--with-http_ssl_module--add-module=objs/lib/nginx-rtmp-moduleLike the last three parts of the outputThe end result is that the makefile file is generated in the Objs directory, along with other dependent code.V. The pit of OpenSSL,The nginx\auto\lib\openssl\makefile.msvc file needs to be modified.Change Ms\do_ms to Ms\do_nasm.See article for specific reasons.Http://blog.csdn.net/felixking/art
--with-openssl=objs/lib/openssl-1.0.2k \--with-select_module--with-http_ssl_module--add-module=objs/lib/nginx-rtmp-moduleLike the last three parts of the outputThe end result is that the makefile file is generated in the Objs directory, along with other dependent code.V. The pit of OpenSSL,The nginx\auto\lib\openssl\makefile.msvc file needs to be modified.Change Ms\do_ms to Ms\do_nasm.See article for specific reasons.Http://blog.csdn.net/felixking/art
|restart|status}"Retval=1EsacExit $RETVAL
third, test Red5 streaming Media server1, publish a streaming media
We can go to the next Adobe Flash Media Encoder, enter RTMP://IP address/live in FML, stream name up, like 111
We can also use Red5 's own publishing tool to publish a stream
A), open http://localhost:5080/demos/publisher.html
b), connecting the Red5 streaming media server
If 19:56:05:
format, and the result was shocking:The above test.264 size is 6.2M, converted to. yuv format after the size of 1.6G, really took a surprise. It's too compressed.2. Test the performance of the streaming media serverThe most critical place to be, success or failure stake.(1) Open Nginx[Email protected]:/data/misc/nginx-rtmp/sbin #./nginx-p/data/misc/nginx-
RTMP Request General format is rtmp://domain name/app/file such as Rtmp://fantefei.blog.51cto.com/fantefei/3.mp4 so it can play, but rtmp:// Fantefei.blog.51cto.com/fantefei/mp4:v/abc/3.mp4 or RTMP://FANTEFEI.BLOG.51CTO.COM/FANTEFEI/MP4:/V/ABC/3. What format is MP4?In genera
C + + implements RTMP protocol to send H. Encode and AAC encoded audio and videoTransferred from: http://www.cnblogs.com/haibindev/archive/2011/12/29/2305712.htmlRTMP (Real time Messaging Protocol) is a streaming protocol specifically designed to transfer audio and video data, originally created by Macromedia and later owned by Adobe, a proprietary protocol used primarily to contact Flash Player and Rtmpserver, such as FMS, RED5, Crtmpserver, etc. The
Recent visits to foreign sites found that the translation is not accurate please understand.1. Send files to live as LiveFfmpeg-re-i localfile.mp4-c copy-f flv rtmp://server/live/streamname2. Save the live media to a local fileFfmpeg-i rtmp://server/live/streamname-c Copy dump.flv3, one of the live stream, video instead of H264 compression, audio unchanged, sent to another live streaming serviceFfmpeg-i
=====================================================
The simplest example series based on Librtmp is a list of articles:
Simplest LIBRTMP-based example: Receive (rtmp saved as FLV)
Simplest LIBRTMP-based example: Publish (FLV is released via RTMP)
Simplest LIBRTMP-based example: release of H. (H. rtmp Post)
=====================================================
Nginx-rtmp-mudule rtmp is an excellent car-eye-http-flv-module is a streaming media server modified on Nginx-rtmp-mudule rtmp basis, in addition to support Flash player, Players that are now common are also supported. A perfect way to achieve the HTTP mode of FLV Live Function.This article briefly introduces the main f
Use FFmpeg to push rtmp streams under Windows platformsIt's customary to use ffmpeg to simulate push rtmp streaming under Linux, but the home computer is a Windows system that needs to use the bandwidth in the home to test the performance of the streaming media server. So we've studied how to push the stream quickly in Windows systems.First Download Install FFmpe
ext.: http://www.cnblogs.com/haibindev/archive/2011/12/29/2305712.htmlC + + implements RTMP protocol to send H. Encode and AAC encoded audio and videoRTMP (Real time Messaging Protocol) is a streaming protocol specifically designed to transfer audio and video data, originally created by Macromedia and later owned by Adobe, a proprietary protocol used primarily to contact Flash Player and Rtmpserver, such as FMS, Red5, crtmpserver , etc. The
The simplest example based on librtmp: Release H.264 (H.264 via RTMP), librtmprtmpThis article records a program that publishes the H.264 code stream based on libRTMP. This program can publish H.264 data to the RTMP Streaming Media Server. The current example is not very stable, and the next step is to be modified.
This program uses the callback function as the input. Through the custom callback function, y
C + + implements RTMP protocol to send H. Encode and AAC encoded audio and videoRTMP (Real time Messaging Protocol) is a streaming protocol specifically designed to transfer audio and video data, originally created by Macromedia and later owned by Adobe, a proprietary protocol used primarily to contact Flash Player and Rtmpserver, such as FMS, Red5, crtmpserver , etc. The RTMP protocol can be used for li
Http://www.cnblogs.com/haibindev/archive/2011/12/29/2305712.htmlRTMP (Real time Messaging Protocol) is a streaming protocol specifically designed to transfer audio and video data, originally created by Macromedia and later owned by Adobe, a proprietary protocol used primarily to contact Flash Player and Rtmpserver, such as FMS, Red5, crtmpserver , etc. The RTMP protocol can be used for live streaming, on-demand applications, and FMLE (Flash Media live
I. PreambleCore: Server (Nginx-rtmp-module) + push-to-stream (OBS) + Accept-end (Jwplayer)Second, the service side 1. Download Nginx-rtmp-module ModuleAddress: Https://github.com/arut/nginx-rtmp-module2. Compile and install NginxCD./nginx-1.10.0/./configure--add-module=/path/to/nginx-rtmp-module--with-http_ssl_modulema
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.