Android audio and video goes deep into FFmpeg to implement Rtmp-based streaming (with source code download) and ffmpegrtmp
Source Code addressHttps://github.com/979451341/Rtmp1. Configure the RTMP Server
I don't want to post two blogs on mac and windows respectively.
Set up an RTM
RTMP is designed for transport network streaming, requires support from servers such as Fms,awaza, and provides better copyright protection for streaming media content, and it also needs to pay royalties to adobe itself.
First, the two work differently:
RTMP data requires a dedicated
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) is an HTTP-based
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
to real-time requirements are very high, such as 0.5s or less, this is a good choice. The former mimic Spydroid wrote a proposed RTSP server, in fact, is options,describe,setup,play,pause,teardown these steps, the agreement with the most extensive, on-line introduction is more. To really understand the RTSP protocol, the C + + language is good to see live555.RTMP protocol, own recent research, if intereste
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 HTTP
HLS (HTTP
record page of the push stream name is MyStream, so enter here rtmp://192.168.100.2/live/mystream .
Final descriptionOriginally tried to try to play on the mobile side effect, but Jwplayer seems to be not supported directly on the HTML page rtmp live, but you can download an app (easy to push streaming) for rtmp live
streaming/interactive server that supports the RTMP protocol. The software that supports this protocol includes the Adobe Media server/ultrant media server/red5/nginx ( The nginx I use here) and so on.4.Jwplayer is an open source Flash video, audio, and image player for use
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 streamin
playback front-end. It is worth noting that with the popularity of Adobe Flash players (according to official Adobe data, flash players are installed more than 99%), more and more online videos are using flash players as front-end playback. Therefore, more and more enterprises begin to adopt Flash Player-compatible streaming media servers, and begin to eliminate other types of streaming media servers.
First step: first introduce the relevant technology usedNote: The Jwplayer plug-in used in the project does not support the RTSP protocol, so use the following techniques to turn the art
FFmpeg is an open-source computer program that can be used to record, convert digital audio, video, and turn it into a stream. Here I only use its video format conversion function, the RTSP protocol to the stream into rtmp
RTSP protocol ( live stream Tran
1. Compile nginx that can be used in android and add the option -- add-module =/path/nginx-rtmp-module, prepare ffmpeg files and related library files that can be used by shell on android and m3u8 segmenter files.2. Put the compiled nginx files in the data/android. nginx directory of the mobile phone to this directory.3. Compile the configuration file--------------------------------- Nginx. conf start here ---------------------------------------------
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.Refe
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. Installati
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
bandwidth costs.
4, smooth streaming processing can be applied to on-demand (provided by the IIS smooth streaming extension) and real-time broadcast (provided by the IIS real-time smooth streaming processing extension) two different application requirements.
Disadvantage: Using smooth streaming technology to impleme
Use nginx to build a Streaming Media Server in ubuntu to implement on-demand video streaming and tung.pdf
First, let's see how to implement on-demand video. On-demand video streaming supports flv files, H264 encoded videos, and ACC-encoded audio mp4 files:Step 1: create a separate directory (because of the large number
Use free UMS to set up flash streaming servicesWith the popularity of the Adobe Flash Player (according to Adobe's official data, Flash Player installed up to 99%), more and more network video began to use Flash Player as the playback front end, so More and more businesses are starting to retire from other types of streaming media servers using a
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.