HTTP (Hyper-Text Transfer Protocol), RTSP (Real Time Streaming protocol live Stream Transfer Protocol), RTMP (Routing Table Maintenance Protocol Routing Tables Maintenance Protocolis the application layer protocol, theoretically can do live, on-demand, in fact, live more than rtmp and RTSP, on-demand and more with RTSP and HTTP. First, common areas:
HTTP (HTTPS) all data as text processing, widely
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
Recently in window is a platform to do a function to capture audio and video through Obs, and through the RTMP protocol to its encoded compressed data into its own program, since the OBS software with very powerful game recording and desktop recording functions, as well as input, output audio device data acquisition and mixing function , the current fight fish game Live is also used by this software as a recording tool.OBS software because of the use
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
to the console. Copy the information and save it as a. SDP text file suffix. It can also be used to receive the RTP stream. After "> test. SDP" is added, you can directly Save the SDP information as text.
2.2. Play the RTP that carries the H.264 bare stream.
[Plain]View plaincopy
Ffplay test. SDP
3. rtmp3.1. send the H.264 bare stream to the rtmp server (flashmedia server, red5, etc)
Run the command to send the "Chunwan. h264" of the H.264 bare str
. SDP" is added, you can directly Save the SDP information as text.
2.2. Play the RTP that carries the H.264 bare stream.
ffplay test.sdp
3. rtmp3.1. send the H.264 bare stream to the rtmp server (flashmedia server, red5, etc)
Run the command to send the "Chunwan. h264" of the H.264 bare stream to the rtmp URL where the host is localhost, the application is oflademo, and the path is livestream.
ffmpeg -re
1. Installation commandRuby-e "$ (curl-fssl https://raw.githubusercontent.com/Homebrew/install/master/install)" If you want to uninstall RUBY-E after installation, "$ (Curl- Fssl https://raw.githubusercontent.com/Homebrew/install/master/uninstall) "2. Install Nginx first clone Nginx project to local brew tap Homebrew/nginx Installation: Brew Install Nginx-full--with-rtmp-module at this point, the Nginx and rtmp
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
Two days ago want to write a script with Python, batch access to RTMP server, to achieve the effect of concurrent live, search on the network, there is a python-librtmp library can be used, but this library is not installed, do not want to waste too much time, and then give up (back to study).
Then with degrees Niang fine search, found FLAZR this tool, support rtmp concurrent live function, can be used for
to be less stable, perhaps it is not very familiar with it. Perhaps see everyone is using Nginx HLS, so there is the idea of replacing SRS with Nginx. When setting up the Nginx rtmp service, we refer to the predecessor's nginx build one of the streaming media servers that support HTTP and rtmp protocol, two or three, because it is the first time nginx Add Nginx-rtmp
Http://itindex.NET/detail/48702-nginx-rtmp-httpOne, streaming media playback mode1. HTTP modeThis 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, such as
Bilibili (b station), presumably everyone is not unfamiliar. The Ijkplayer framework is the B station provides an open source streaming media solution, integrates ffmpeg, and also supports hard decoding (requires iOS8 above version). Using the Ijkplayer framework, we can easily realize the video live function (which is supported by several HTTP/RTMP/RTSP).
This article mainly describes how to use the Ijkplayer framework to play online live
address and port number used for the media stream, and if it is unicast, the destination address should only be provided for security in the presentation description.
invitation to join: The media server can be invited to participate in an ongoing meeting, or play back the media in the presentation, or record all media or a subset of it in the presentation, ideal for distributed teaching.
Add Media: notifies users of new and available media streams, which is especially useful for live le
The article "Let your nginx rtmp live broadcast have the function of counting the number of online viewers of a channel" describes the online statistics module of nginx.Our online live broadcast service uses the nginx rtmp module (see nginx rtmp module nginx-rtmp-Module Instructions for details). In general, this modul
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.