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
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
Use librtmp for H264 and AAC live(ext: http://www.codeman.net/2014/01/439.html)1. Frame Division 1.1 H. FramesFor H. 00 00 00 01 or 00 00 01 for each frame.For example, the following H264 file fragment this packet three frame dataE0 9F 96 10 00 (C0)In the F1 2A 00 00 00 013C (CE) 5D DC E9 BDE6 D9 B7 2C D8 D9 EE EF ...The first frame is the xx-C0-DA-E0-9F, which was F1 2A.The second frame is xx 3C 80The third frame is the FF FF 5D DC E9 BD E6 D9 B7 2C D8 D9 EE EF.The frame types are:Nal_slice = 1
[GO] Streaming Media protocol introduction (RTP/RTCP/RTSP/RTMP/MMS/HLS)http://blog.csdn.net/tttyd/article/details/12032357RTP reference Documentationrfc3550/rfc3551Real-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), vi
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 lingering problems to see if we have a good way. RTSP Brief Introduction
This protocol stream data in front of the play, there is no pa
Overview: TCP Establish a connection. rtmp shook hands. • The client and server agree on setting up an rtmp connection. • Create RTMP streams • The client and server agree on play or publish. • The client begins transmitting data to the server. • Message structure Brief tcp establish a connection TCP three times handshake rtm
: (indicates an optional field for the callout * symbol):v = (Protocol version)o = (owner/creator and session identifier)s = (session name)i = * (Session information)u = * (URI description)E = * (email address)p = * (phone number)c = * (connection information-if included in all media, this field is not required)b = * (Bandwidth information)One or more time descriptions (see below):z = * (Time zone Adjustment)k = * (encryption key)A = * (0 or more session property rows)0 or more media description
* symbol):v = (Protocol version)o = (owner/creator and session identifier)s = (session name)i = * (Session information)u = * (URI description)E = * (email address)p = * (phone number)c = * (connection information-if included in all media, this field is not required)b = * (Bandwidth information)One or more time descriptions (see below):z = * (Time zone Adjustment)k = * (encryption key)A = * (0 or more session property rows)0 or more media descriptions (as shown below)Time descriptionT = (Session
The F value contains an rtmp video stream address. Pay attention to the format, rtmp: // ip/live (stream address)/livestream (instance name)[Note] for multi-level directories, for example, the address is rtmp: // localhost/vod/AB/c. Two modifications are required for playing in ckplayer:1. Modify ckplayer. js and ckplayer. ck. pm_spac = '|'; change to ck.
I have written an article "converting FLV stream to standard h264 and ACC in rtmp", link address
Http://www.cnblogs.com/chef/archive/2012/07/18/2597279.html
. The extraction of h264 from rtmp is analyzed.
In flash projects with audio/video interaction, the audio encoding can only be in speex format.
This articleArticleIt is divided into three parts. These are the audio interfaces provided in flex, T
First, software preparationBecause Nginx native is for Linux services, so the official version of Windows is not compiled can be downloaded, to use Nginx on Windows, either download the source code to compile, or use other people have compiled the file.and to let Nginx support video live and on-demand, but also need a third-party
1, the project needs to use FFmpeg push rtmp stream to Crtmpserver, and then live./usr/bin/ffmpeg-re-loop 1-i tmp/234.jpg-r 10-f flv rtmp://127.0.0.1:8085/live/phone-2342, download Crtmpserver source code, official website (http://www.rtmpd.com/) often not go, to GitHub downloadHttps://github.com/j0sh/crtmpserver3, need to install CMake and then compile.Yum Install CMakeCD Crtmpserver/builders/cmakeCMake.Ma
Previous open-Source Videocore improvements: 1) added a beauty filter; 2) added the librtmp to replace the original too simple rtmpclient;Later listen to friends said, in Videocore above OpenGL modification, add new filter More trouble, iOS filter best to calculate gpuimage.I decided to the multi-filter open-source gpuimage to achieve the rtmp live streaming push;Implementation of the scenario:1,gpuimagemoviewriter the output of the RGBA video data.By
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 Company's FMS, a Java based Open-source streaming media server that provides streaming media ser
In flash projects with audio/video interaction, the audio encoding can only be in speex format.
This article is divided into three parts. These are the audio interfaces provided in flex, The speex data in rtmp, and how to convert them to RTP streams.
I. audio interfaces provided in flex
The client is written using Flex. The interface provided by Flex is encapsulated. The call to the client is equivalent to a black box. The difference between the two
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 streaming flv, MP3 files, real-time recording client streams for FLV files, shared objects, real-time video playback, remoting and other functi
the difference between hls,http,rtsp,rtmp protocols:
in HTTP mode:The FLV is downloaded to the local cache by the server, and then the FLV is played back through the local connection of the netconnection, which is to play the local video, not the video of the playing server. So this flv can be found in the local cache. The advantage is that the server downloaded this flv, the server is not consumed, save the server consumption. The disadvantage is th
Use FFmpeg to push rtmp streams under Windows platformsIt's customary to use ffmpeg to simulate push rtmp streaming under Linux, but the home computer is a Windows system that needs to use the bandwidth in the home to test the performance of the streaming media server. So we've studied how to push the stream quickly in Windows systems.First Download Install FFmpegDownload the FFmpeg compression package unde
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 protocol package and audio and video data, play audio and video using NetStream appendbyt
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.