: Video coding thread, audio coding thread, main thread (send thread) Video Coding thread
According to the frame rate to calculate the interval time, and then the video metadata rtmp packet to save for multiple send, from the video source to get frames, to determine whether it is a key frame, if it is the first send metadata, after the encoding package to send data, the final comparison of time and time to decide whether to wait
const int interval = 1
by Adobe Systems.It has three variants:
1) The PlainText protocol working on TCP, using port 1935;
2) rtmpt package in the HTTP request, can pass through the firewall;
3) Rtmps similar to rtmpt, but using HTTPS connection;
The RTMP protocol (Real time Messaging Protocol) is used by Flash for object, video, and audio transmission. This protocol is based on the TCP protocol or the polling HTTP protocol.The
Reprint: http://easydarwin.org/article/Streaming/141.htmlThe similarities and differences between RTSP, RTMP, and HTTPCommon:1:RTSP RTMP HTTP is applied at the application layer.2: Theoretically RTSP rtmphttp can do live and on-demand, but generally do live with RTSP RTMP, do on-demand http. Video conferencing when the original SIP protocol, and now basically rep
time messaging Protocol) protocol, and the target address of the push stream is similar to "Rtmp://0.0.0.1/path", in the context of the test, No more suitable for stress testing tools. Finally decided to use Python to develop scripts that can execute concurrent push streams. Initially, a Python third-party module, Rtmpy, was found on the web to support the RTMP
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
HLS, then have the SRS to replace Nginx idea.
In the construction of Nginx rtmp service is referred to the predecessors left behind the Nginx build support for the HTTP and rtmp protocol, one of the streaming media server, two or three, because it is the first time in the Nginx to add Nginx-rtmp-module module, the feeling and SRS compared with the relative annoy
working on TCP, using port 1935;
2) rtmpt package in the HTTP request, can pass through the firewall;
3) Rtmps similar to rtmpt, but using HTTPS connection;
The RTMP protocol (Real time Messaging Protocol) is used by Flash for object, video, and audio transmission. This protocol is based on the TCP protocol or the polling HTTP protocol.The RTMP protocol is like a container for data packets, wh
package in the HTTP request, can pass through the firewall;
3) Rtmps similar to rtmpt, but using HTTPS connection;
The RTMP protocol (Real time Messaging Protocol) is used by Flash for object, video, and audio transmission. This protocol is based on the TCP protocol or the polling HTTP protocol.The RTMP protocol is like a container for data packets, which can be either in AMF format or as video/au
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
The article "Let your nginx rtmp live broadcast have the function of counting the number of online viewers of a channel" describes the online statistics module of nginx.Our online live broadcast service uses the nginx rtmp module (see nginx rtmp module nginx-rtmp-Module Instructions for details). In general, this modul
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
I. Io and stream
Data input and output (I/O for input/output)The input and output of standard input devices and standard output devices are referred to as standard I/OThe input and output of files stored on an external disk are referred to as files I/O.The input and output of the specified string bucket in the memory are referred to as string I/O.
The process of data input and output can be visually viewed as a stream.The operation for retrieving dat
|restart|status}"Retval=1EsacExit $RETVAL
third, test Red5 streaming Media server1, publish a streaming media
We can go to the next Adobe Flash Media Encoder, enter RTMP://IP address/live in FML, stream name up, like 111
We can also use Red5 's own publishing tool to publish a stream
A), open http://localhost:5080/demos/publisher.html
b), connecting the
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 RTMP server on MACHttps://www.jianshu.com/p/6fcec3b9d644This is on windows, and the
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 streaming media development. I used to write an articleArticleThe "
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
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 FFmpe
clicking ConnectEverything is ready, start recording.FMLE's encodeing log records recording information.Flash Media Live Encoder video LiveYou can use Flash Player that you have previously made to play. You can also open http://www.osmf.org/configurator/fmp/You can set the width of the player and other data, here video Source:rtmp://localhost/live/livestreamIf it is multi-bit recording, livestream behind the%i={1,2,3 ...}Click preview> Play video to start browsing live video.If you close the
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.