rtmp/flv Learning points of attention
1.RTMP and FLV format-friendly compatibility, mainly embodied in the RTMP package playable audio and video streams, when carefully studied, you will find that the RTMP packet in the package of audio and video data flow, in fact, and Flv/tag package the way the video data is the sa
Simple RTMP Server is an open source Rtmp/hls streaming media server written by people in the ROC. Functions are similar to nginx-rtmp-module, enabling the distribution of Rtmp/hls.Reference to the Nginx-rtmp-module: http://blog.csdn.net/redstarofsleep/article/details/450921
Objective
I believe we all know nginx is a very good open source server, use it to do HLS or rtmp streaming media server is a very good choice, so small set up the installation process online, now share to everyone and make a memo. Have the need of friends can refer to study, let's take a look together.
I. Installation of Homebrow
Brow has been installed to skip this step directly.
Execute command
Ruby-e "$ (curl-fssl https://raw.githubuse
1. s60 uses a multimedia framework (MMF) for video and audio playback and recording. It has a plug-in architecture and can use multiple types of plug-ins for media playback and recording, for example, the RealPlayer engine is a plug-in for the MMF controller and supports video and audio playback and stream. 2. The s60 built-in player uses the RealPlayer engine. HTTP streaming media is not supported, because all video data must be read into the cache at one time before display. 3. the common form
With the arrival of 3G, the bandwidth is higher and the traffic fee is lower, and multimedia applications such as mobile phone and TV will surely develop greatly. I will sum up my previous experience, I will discuss with you how to create a VoD solution for mobile phones, and finally provide a preliminary client implementation result. Welcome to the discussion.
First, let's talk about the architecture. For ease of management and expansion, bandwidth restrictions, and multi-user concurrency, comm
Recently, due to the need to implement RTSP-based transmission RM rmvb, no existing solutions have been found on the Internet. Only one live555 has implemented the RTSP service, but only supports RTP transmission of mpg, MP3, WAV and other formats. rm seems very unpopular in the Open Source Field, probably because the formats and protocols are private and not open. Then we started to develop rmvb over
, quality reduction; second, advanced and efficient compression algorithms.Basic Principles
The process of stream transmission is generally as follows:
(1) After selecting a first-class media service, the web browser and the Web server use HTTP/tcp to exchange control information, in order to retrieve the real-time audio/video stream data to be transmitted from the original information.
(2) The web browser on the client starts the Client Program (some playing programs) and uses http to retrieve
Atitit onvif protocol Get RTSP address play Java language ATTILX summary
1.1. Get the RTSP address algorithm and Flow 1
1.2.Onvif camera discovery, WS discovery Mechanism, using XCF class library 1
2. Call Getstreamuri get RTSP address, use class library onvif Java Library by Milgo2
2.1. The problem why use this get address can not play 4
1.1. algorithms and
Recently in the development of dm368, intends to transplant a gst-rtsp-server on 368. First on the computer to toss a day, finally can run.Gstreamer-0.10 was previously installed on my virtual machine (the GStreamer version is too new and some plugins are not available). GStreamer and Base,good,ugly,bad related plug-in installation did not encounter any problems. Here are the problems I encountered in compiling gst-
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
Tags: blank import max col Change RTM restart success typesOriginal address: 80063031Recently built a local nginx server based on rtmp, did not expect the first step cloning error: Homebrew/nginx was deprecated. This tap was now the empty as all its formulae were migrated. Specific as follows:The first step is to use:Add Nginx clone to local $ brew tap Homebrew/nginxThe error is as follows:The reason for this is that Homebrew/nginx's git path has chan
RTSP-RFC2326 protocol format Analysis 1 application layer protocol, control the transmission of real-time data streams, the Protocol aims to control multiple data transmission links, select the channel for sending, such as UDP, multicast UDP and TCP. many methods have nothing to do with the RTSP status, but the following methods are very important: SETUP, PLAY, RECORD, PAUSE, TEARDOWN. ~~~~~~~~~~~ SETUP: Le
data packets. therefore, the server can dynamically change the transmission rate or even the type of the payload. RTP and RTCP can be used together to optimize transmission efficiency with effective feedback and minimal overhead. Therefore, it is particularly suitable for transmitting real-time online data.
RTSPReal-Time Streaming Protocol (RTSP) is proposed by Real Networks and Netscape. This Protocol defines how one-to-multiple applications can eff
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
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
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
RTP/RTCP/RTSP/SIP/SDP RelationshipRTP (real-time transport protocol, Transport layer)Real-time Transport Protocol) is a Transport layer protocol for multimedia traffic on the Internet. The RTP protocol details the standard packet format for transmitting audio and video over the Internet. RTP protocols are commonly used in streaming media systems (with the RTCP protocol), video conferencing and a Push-to-talk system (with either a/p or SIP), making it
RTMP is a TCP protocol that Flash player receives video from a video server. Adobe has released most of the RTMP protocol, although some details have not been disclosed, but for our own development of a rtmp server is enough, even if not open, many open-source projects have already made a lot of details of the agreement to clarify.
At present, many video surveill
The rtsp is paused. the Mapache + php tool mplayer + vlc function enables camera recording and playback (only playback is used here). The technical route is recorded by mplayer. after recording, the recorded video files are played using the rtsp protocol, and the vlc is used as the rtsp server. the player control inserted in the browser is qui
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.