Discover rtmp to http live streaming, include the articles, news, trends, analysis and practical advice about rtmp to http live streaming on alibabacloud.com
, direct Internet download installation, very direct, there is not much to talk aboutWowza provides a streaming media player that is easy to use and of course you can also play on VLC based on the corresponding URI if VLC supports the corresponding protocol. You can open the player from the main interface here2 How to use VLC as a live source 2.1 objective and feasibility analysisWhy do we need to put VLC
0x13
Shared Object
Has subtypes
0x14
Invoke
Like remoting call, used for stream actions too.
0x16
Streamdata
This is the new data type after FMS3, this type of data contains Audiodata and Videodata
Wu, Streamid
Streamid is the ID of the audio and video stream, if amftype!=0x08 or!=0x09 so Streamid is 0.
Calculation formula between Channelid and Streamid: streamid= (ChannelID-4)/5+1 reference Red5
For example, when Chann
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
Rtmp (real time messaging protocol) is a common streaming media protocol used to transmit audio and video data. Combined with flash, rtmp is widely used in live broadcast, on-demand broadcast, chat, and other applications, as well as PCs, mobile devices, and embedded platforms, it is a protocol that is often used for
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 ngin
can be viewed.
2. No permission required, see directly.
3. Support Live and on-demand (record playback for video surveillance)
Of course, the RTMP protocol also has some limitations, rtmp is based on the TCP protocol, and the TCP protocol real-time is not as good as UDP, also occupy bandwidth. The UDP-based RTMFP protocol developed by Adobe is a good solution t
. Configuration of rtmp
Now we're going to modify the nginx.conf configuration file and configure the RTMP
Copy nginx configuration file location
/usr/local/etc/nginx/nginx.conf
Turn on the Finder Shift + command + G to go and open the nginx.conf with the Notepad tool
HTTP {
...
}
After the HTTP
push, you must use Multiprogramming, where the best way to do this is to use the Python process pool. Is the pool that uses the multiprocessing module, such as: poo = multilprocessing. Pool (Process = 5) for x in rtmpaddrlist: Pool.apply_async (Fun, (x,)) # "X" is the parameter in the incoming method fun. You can parameterize the FFmpeg command in fun so that you can implement a push operation on a different rtmp address Pool.close () Pool.j
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
Reprinted from: http://www.cuplayer.com/player/PlayerCode/Wowza/2015/0204/1774.htmlHLS (HTTP Live streaming)Apple's dynamic bitrate adaptive technology. Audio and video services primarily for PC and Apple terminals. Includes an index file for M3U (8), a TS media shard file, and a key encryption string file.The commonly
Video live streaming is the RTMP protocol for video real-time transmission, where the software we use is the Adobe Company'sOne is: Flash media Server4 Another is Flash media Live encoderBoth of these software:http://pan.baidu.com/share/link?shareid=256521uk=1711305891Installation and construction of Flash Media Server
Battle the people of Russia to develop a nginx streaming plug-in, in addition to live streaming audio and video streaming server with the common functions of the media
such as push-pull streaming media resources
Flv/mp4 VOD on-demand based on
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 waiti
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 characteri
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.