One: RTMPRTMP Streaming protocol is a set of Adobe developed audio video real-time transmission protocol;Two: Nginx-rtmpNginx-rtmp is an nginx-based rtmp service module, open source, freeHttps://github.com/arut/nginx-rtmp-moduleThree: Installation process in Ubuntu Server 14
content to be published via broadcast unicast, the URL consists of a server name and a publishing point alias. For example: Mms://windows_media_server/liveevents. Here Windows_media_server is the Windows Media server name, and Liveevents is the release nameHLSHTTP Live Streaming (HLS) is Apple Inc. (Apple Inc) The implementation of the HTTP-based streaming media transmission protocol, can achieve
URL consists of a server name and a publishing point alias. For example: Mms://windows_media_server/liveevents. Here Windows_media_server is the Windows Media server name, and Liveevents is the release nameHLSHTTP Live Streaming (HLS) is Apple Inc. (Apple Inc) The implementation of the HTTP-based streaming media transmission protocol, can achieve streaming media
: 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
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 rt
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
There is one way to test the latency, that is, one way to play the sender's video, and the other way to play the stream received by the streaming media. Two Stream play modes are available: FFMPEG and ffplay.
Playing Through ffplay is a well-known method, for example:
[Plain]View plaincopy
Ffplay-F dshow-I video = "integrated camera"
You can play back the cam
. 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
First, Local: Using JAVACV (Android and Java Platform recommended JAVACV), FFmpeg, OpenCV or JMF can easily get to the local camera streaming media
JAVACV Series articles:
JAVACV Development 1: Call native webcam video
JAVACV Development in Detail 2: The implementation of the converter, push the local camera video to the
For text chat rooms, as well as multiple screen interaction, we understand a lot more, I know there are two kinds of sockets and XMPP protocol. If we use Red5, a streaming media server based on Flash, in the development of live video, or voice chat rooms, we can use RTMP,RTSP. One, what is the main feature of the Red5 Red5 is similar to the Macromedia Compan
Preface
Recent projects require streaming media playback, the backend provides three kinds of streaming data (Rtsp,rtmp,hls), in different scenarios may be used in different ways to play, you need to adapt to support all streaming data playback. Spent a period of time studying, here and share with you, there are some
One, what is Red5Red5 's main function is similar to Macromedia's FMS, which provides a Java based Open-source streaming media server for streaming media services based on Flash. It is written by the Java language and uses rtmp as a streaming media transport protocol, which is fully compatible with FMS. It has
This article outlines:Nginx is a very good open source server, use it to do HLS or rtmp streaming media server is a very good choice. This paper introduces a simple method to quickly set up rtmp streaming media server, also known as RTSP retransmission, the data source is not read files, but use to obtain rtspnal strea
first of all, I admire eguid, whether it is technology or sharing, thanks to his series of Bowen on my first learning process help, so clearly indicated the reprint address:
http://blog.csdn.net/eguid_1/article/details/51725970
one, the local push to send the end1, Local: The use of JAVACV (Android and Java Platform recommended JAVACV), FFmpeg, OpenCV or JMF can be very convenient access to the local camera streaming media
JAVACV Series arti
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
1 Why use flash ActionScript to implement the RTMP protocol to publish or play media streams, play media streaming, protocol controllable, such as the number of streaming media encryption, mixing and so on.2 core ideas using the flash socket to establish a TCP binary transmission channel, the binary data is mainly RTMP
Nginx builds one of the streaming media servers supporting http and rtmp protocolsPurpose:Enable Nginx to support flv and mp4 files and RTMP live and on-demand video;Enable the rtmp hls FunctionMATERIALS:HTTP Live Streaming (HLS)
The ninth part---Project ffmpeg command parsingYou have seen the ffmpeg on the arm Development Board to give the following information:usage:ffmpeg [Options] [[infile Options]-I infile] ... {[outfile options] outfile} ...Refer to the previous command to perform the same task on the PC Linux operating systemFfmpeg-i rtsp://admin:[email protected]-vcodec copy-acodec copy-s 640x480-f flv rtmp://192.168.1.102:1935/hls/te St2Do a detailed explanation here
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-c
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.