Take a UAV project, responsible for video playback this piece, choose is video.js this video plug-in, this thought can open happy heart development, who how material online about this part of the information so little, give me this hand party gave a great pressure. Okay, don't talk nonsense.The project needs to achieve a four-way player, can play the drone shot real-time screen, and can do local refresh without affecting the entire page, and to be abl
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 on Web pages.It supports playback of Adobe Flash player and HTML5 browser which can handl
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 i
of the nginx.conf file.Brew Info Nginx-full8. Edit the nginx.conf, add the rtmp configuration after the HTTP node #在http节点后面加上rtmp配置 rtmp { server { listen 1935; Application Rtmplive { live on; Record Off;}}} 9. View Nginx Version numberNginx-v10. Replace with your own Nginx version number, res
Google, the answer has been tried again, the bug is still the sound. Finally there is no way, brew list look at all the installed modules, only to find that their own manual knocking command, will nginx-full become nginx -full .On the solution:Unloadingnginxuninstall nginxInstall againnginxinstall nginx-full --with-rtmp-module
Installing FFmpeg
Execute commandinstall ffmpegffmpegthe installation time will be a little
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 characteristics of the following three respectively. The 1,RTM
restrictions. Allow it to also support other protocol video playback (such as the RTMP protocol).
The relevant judgment in the IJKDEMOINPUTURLVIEWCONTROLLER.M can be commented out.
1
if ([Scheme isequaltostring:@ "http"] | | [Scheme isequaltostring:@ "https"]) {
[Ijkvideoviewcontroller presentfromviewcontroller:self withtitle:[nsstring stringwithformat:@ "URL:%@", url] URL:url completion:^{
[Self.navigationcontroller Popvi
Configuration referenceHttps://github.com/simple-rtmp-server/srs/wiki/v2_CN_LowLatencyLatency Impact factorsEncoders: Different encoders (free or open source), the delay is also different.Streaming Media server: SRS2Streaming protocol: For example: RTMP is real-time high, http_flv is also high-real-time, HLS is not, the official said 60s can tolerate ...Player: V
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 Insta
()
Rtmp_enablewrite ()
Rtmp_connect ()
rtmp_write () rtmp_pause () Rtmp_seek ()
rtmp_read
() rtmp_close () Rtmp_free ()
rtmp Push Stream
At the end of this article, the Android-side data has been transferred to JNI for conversion, then H.264 encoded and read Sps,pps frame information, now we need to encapsulate the data into RTMP packet, and then push!
Article Link: http://justcoding.iteye.com/blog/2110275Ckplayer, which is all called super cool FLV player, it is a software for playing video on the Web page, supported by the format of: HTTP protocol on the FLV,F4V,MP4 format, while supporting RTMP video streaming format playback, this player is characterized in that the user can define the player's style, such
Many friends will ask how RTSP through the RTMP protocol push to the server, just a while ago developed this feature written here, and you share.The first thing I want to say is that ffmpeg can achieve this function. The FFMPEG supports the RTSP protocol and also supports RTMP. In this case, RTSP is the input,RTMP is the output, FFmpeg realizes the function of tr
Standard Flash Player ACTIONSCRIPT3 statement that plays a flash publish rtmp stream,Netconnection--->netstream--->play--->attachnetstreamThe project, however, has been in a state of stalling.Later added a sentenceNsplayer.buffertime = 0.1;I don't even have a card.The help document says:The default value is 0.1 (One-tenth of a second). To determine the number of
: This article mainly introduces the nginx Reverse proxy TCP to fetch the RTMP stream. if you are interested in the PHP Tutorial, refer to it. Nginx Reverse proxy TCP, get RTMP stream
I. descriptionNginx only supports HTTP reverse proxy by default. to support TCP reverse proxy, you must add the tcp proxy module nginx_
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
Objective:
Using the javacv1.2 version, refer to the code on the Internet, encountered a number of very serious problems, the last one to eliminate the solution. The main issues to be addressed are:
Problem one, ffmpeg default is the way to use UDP, often the problem of packet loss, you need to change the UDP to TCP can be resolved, the following is the content of the error:
Input #0, RTSP, from ' RTSP://ADMIN:123123@192.168.1.64:554/STREAMING/CHANNELS/1 ': Metadata:title:Media Presentation dur
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
speex encoding, they are fixed and invalid data in the Protocol. The encoding sampling rate is 16 kHz, single channel, 16 bit/sample.
The remaining data is the audio frame data, which can be a set of multiple frames, depending on the framesperpacket mentioned above. The default value in Flex is 2, so each audio package has two frames of data. Note: When the VAD function is enabled, the two data frames can be two actual data frames, or two 10-byte data frames, or each occupies one frame.
Iii. H
During this period of time, the work needs are converted from FLV stream to standard h264 and aac on rtmp. The server is an open-source project crtmpserver, client flex writing, video encoding h264, and audio encoding AAC, some protocol-related items are recorded as follows.
1. Analyze FLV data
Let's take a FLV file to analyze the FLV data format.
FLV standard document http://www.cnblogs.com/chef/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.