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
Nginx itself is a very excellent HTTP server, FFmpeg is a very good audio and video solutions. These two things can be set up by a nginx module Nginx-rtmp-module, a relatively perfect streaming media server.This streaming media server can support RTMP and HLS (Live Http Stream)Starting from InstallationNginx installation refer to my previous one: http://redstarofsleep.iteye.com/blog/2010391The difference is
Nginx rtmp ffmpeg combo mimic HLS LiveA few days ago, Mister said to engage in a LAN live broadcast, think of the rtmp module mentioned before, holding a try to open the mentality of theSystem environment:[Email protected] html]# uname-a Linux localhost.localdomain 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:35 EDT i686 ATHL On i386 Gnu/linux[[email protected] html]# getconf Long_bit32Nginx Environment:1, Nginx:h
This load test tool is a tool for sharing online games and can be used in http://blog.csdn.net/win_lin/article/details/11835011 or https://github.com/winlinvip/ St-load found a very detailed introduction, including how to install, how to use. Server load Test Tool (St-load):
Analog huge concurrency: 2G of memory can open 300k connections. The States-threads-based process.
Supports HLS parsing and testing, downloading TS slices after waiting for a slice length, impersonating the clie
SRS is a Chinese development of a video server, the use of support rtmp and HLS protocol, can be made into a container, let the client push the stream, or can be combined with ffmpeg own initiative to pull the stream, detailed instructions can view the SRS wiki:Https://github.com/ossrs/srs/wiki/v2_CN_HomeSrs:http://ossrs.net/srs.release/releases/index.htmlSRS Web Player: http://www.ossrs.net/players/srs_player.html?stream=livestreamport=19350#Ffmpeg:h
: This article mainly introduces how to use nginx to build flv and mp4 streaming media servers based on rtmp or http. if you are interested in PHP tutorials, refer to it. Http://itindex.net/detail/48702-nginx-rtmp-http
I. streaming media playback mode1. HTTP
In this way, you need to download the FLV video file and play it locally. Once the FLV video file is downloaded, the server's resources and bandwidth
rtmp Protocol
Real Time messaging Protocol (Real-time Messaging Protocol protocol) is a private protocol developed by Adobe for Audio, video, and data transmission between flash players and servers. The RTMP protocol is an application layer protocol in the TCP/IP five-tier architecture.
The basic data unit in the RTMP protocol is called a message, and when the
Use nginx and nginx-rtmp-module in Ubuntu to set up the correct posture of the Streaming Media Server. nginxrtmpmodule
When I used nginx and nginx-rtmp-module to build a Streaming Media Server, I encountered an embarrassing problem: when I added the nginx-rtmp-module to nginx, I first uninstalled the original nginx, and then downloaded the source code of nginx an
The simplest librtmp-based example: receive (RTMP is saved as FLV), librtmprtmpThis document records a libRTMP-based program for receiving streaming media: Simplest libRTMP Receive. This program can save the RTMP stream to FLV files at a cost. In fact, the program recorded in this article is a "streamlined" RTMPDump. RTMPDump has many functions, so the code is complicated, so many beginners do not know wher
Many friends will ask how RTSP through the RTMP protocol push to the server, just a while ago developed this feature written here, and you share.The first thing I want to say is that ffmpeg can achieve this function. The FFMPEG supports the RTSP protocol and also supports RTMP. In this case, RTSP is the input,RTMP is the output, FFmpeg realizes the function of tr
Http://itindex.net/detail/48702-nginx-rtmp-http
One, streaming media playback mode
1. HTTP mode
this way to download the FLV video file to local playback, once the FLV video file download is complete, will not consume the server resources and bandwidth, but the drag function is not rtmp/rtmp streaming media powerful, many video sites are implemented in HTTP, su
One, RTMP, RTSP, HTTP protocolThese three protocols belong to the Application layer protocol in the Internet TCP/IP five layer architecture. Theoretically these three kinds can be used for video broadcast or on-demand. But usually, live broadcast with RTMP, RTSP. And on-demand with HTTP.The following are the characteristics of the following three respectively. The 1,RTM
Push off
Processes: initializing, connecting to servers, sending dataThis part mainly uses the librtmp, because is uses other people to encapsulate the good library, generally relatively simple initialization
Simply call the function
rtmp = Rtmp_alloc ();
Rtmp_init (RTMP);
connecting to a server
The four functions represent: Set the URL, make yourself a sender, build a netconnection, build a NetStream
Rt
Standard Specification Learning:
RTMP message structure, including several parts: timestamp: 4 byte, in milliseconds. is flipped when the maximum value is exceeded. Length: The length of the message payload. Type Id:type ID part of the ID range used for rtmp control signaling. There is also a part to use for the upper layer, rtmp is just a pass. This makes
Itools a bit of a card, but pushing to the server is fast. Preface to push FlowThis blog is a supplement to the:简信 and 微博 ask me how to push the flow this part of how to achieve. So, I've re-integrated RTMP the push flow and merged it into the previous project.Download linkGitHub (full version video live)Blog details (suggested that you join this article to see together)Mac Build Nginx+rtmp Server
To publish FLV data using RTMP, you first need to be aware of the FLV encapsulation format. can view: FLV video Encapsulation Format before you run this instance, you need to build a rtmp server and build an environment where Rtmpdump compiles and runs. can refer to:
Nginx build rtmp Streaming Media server
Linux compilation Installation Trmpdump (LIBRTMP)
Use PHP to simulate RTMP client sending AMF message (Barrage launcher)
Use PHP to simulate RTMP client sending AMF message (Barrage launcher)
August 25, 2010
With the advent of Adobe's Open source of rtmp (real-time Messaging Protocol), various third-party flash multimedia servers have sprung up, renowned for their Red5.
However, the client program is rare, the
This is a created
article in which the information may have evolved or changed.
First, what is the Cloud Guide broadcasting station
Provides live streaming of rtmp or http-flv on multiple live streams during live stream switching. For example, when there are multiple live rtmp sources, the source dynamic, real-time selection, will be live out of it, display to the audience.
Second, what is Livego
Liveg
Some rtmp open-source projects are found when you query the rtmp protocol encapsulation. For more information, see: Just very few of them.
Red5 only contains a server-implementation (in Java ).
The Python project rtmpy aims to be a freeSoftware Implementation of an rtmp library, whilst tape intends to be a fullStreaming Server (in Python). rtmpy i
Reprint: http://easydarwin.org/article/Streaming/141.htmlThe similarities and differences between RTSP, RTMP, and HTTPCommon:1:RTSP RTMP HTTP is applied at the application layer.2: Theoretically RTSP rtmphttp can do live and on-demand, but generally do live with RTSP RTMP, do on-demand http. Video conferencing when the original SIP protocol, and now basically rep
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.