Red5 stand-alone machine is still relatively good, but the official website does not have documents, do not know how the cluster configuration, network search for a half-day, only Red5 0.8 version has a cluster configuration. Later version looked at, there are clusters of plug-ins, but do not know how to install Plug-ins, even if installed plug-ins, how to configure the cluster, or do not know AH. No documents, Pit dad.Crtmpserver Streaming media server, research and learning, the feeling is sti
http://www.huangyibiao.com/archives/860
Want to learn about live, if not set up a server, how to learn the client-related technical knowledge. The author has successfully built the NGINX+RTMP server.
If you do not know how to build the server, then this article contains the RTMP server address can be used in learning, for testing. HLS Live address http://live.hkstv.hk.lxdns.com/live/hks/playlist.m3u8 Hong K
PlaybackFfplay-f rawvideo-video_size 1920x1080 INPUT.YUV8.YUV sequence turn aviFfmpeg–s w*h–pix_fmt yuv420p–i input.yuv–vcodec MPEG4 Output.aviCommon parameter Description:Main parameters:-I set input stream-F Set output format-ss start time video parameter:-B Set Video traffic, default to 200KBIT/S-R set frame rate, default to 25-s setting screen width and height-aspect set screen ratio-vn do not process video-V Codec set video codec, without timing use the same codec audio parameters as the i
The previous article documented the acquisition and deployment of the service-side playlists project, which summarizes the bits and pieces of the client's playback of streaming media.
======================================================================================
1. Article III requirements: The terminal through the live streaming address, broadcast the live
Because the platform chooses the Android platform. There are a number of options for playing r
The sex industry is a big business. There are not many websites on the internet that can match the largest pornographic sites. It's hard to handle this huge traffic. More difficult, many of the content available on pornography sites are low latency live streaming rather than simple static video. But for all the challenges I've encountered, I've seldom seen what developers have done with them. So I decided to write my own experience in this area. What's the problem? A few years ago, I was work
player CLASSIC-HC source Code Analysis 1: Overall structure [series of articles]
Mplayer:mplayer Source Code Analysis
Ffplay:ffplay Source Code Analysis: Overall flow chart
XBMC:XBMC Source Code Analysis 1: Overall structure and compilation method [series articles]
Not to elaborate here, just briefly explain the principle of video player.
Video player to play a video file on the internet, need to go through the following steps: Solution protocol, solution package, decoding video and audio, vide
Through the next study, we will understand the following three key knowledge points.
In the original Flash program, the client creates a connection with the Flash Media Server through the RTMP protocol, and manages the list of online users on the Flash Media Server through mongodobject, communication between clients uses the Netconnection Call method to send video invitation-related information.Requirements
You must first install the following product
Demo Environment
CentOS 7
nginx-1.8.1
Nginx-rtmp-module
OBS Studio
VLC Media Player
Build nginx-rtmp Live server-obs record push stream-VLC video stream playback
First Compile and install Nginx[[emailprotected] ~]# tar xvf nginx-1.8.1.tar.gz [[emailprotected] ~]# unzip nginx-rtmp-module-master.zip [[emailprotected] ~]# cd
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
recording Ffmpeg–i Rtsp://192.168.3.205:5555/test–vcodec Copy Out.avi 7.YUV sequence Playback Ffplay-f rawvideo-video_size 1920x1080 INPUT.YUV 8.YUV sequence turn avi Ffmpeg–s w*h–pix_fmt yuv420p–i input.yuv–vcodec MPEG4 Output.avi Common parameter Description: main parameters: -I set input stream-F Set output format-ss start time video parameter: -B Set video traffic, default to 200KBIT/S-R set frame rate, default to 25-s setting screen width and height-aspect setting screen ratio Example-VN d
height of the display area. The minimum height of the control area is 20px. When the value is greater than or equal to the SWF height, the playlist is automatically hidden. Otherwise, the playlist is displayed.File * (URL): the address of the file to be played. Supports single-file playback (MP3, FLV, rtmp, JPG, SwF, PNG, and GIF) and playback list. JW image rotator only supports listHeight * (number): sets the SWF height. When you insert a SwF image
the server as follows:New_nc.connect ("rtmp:/doc_record/room_01 ");Otherwise, you need to specify the actual server uri (for example, the server runs on myserver.mydomain.com). You can specify the FCS connection as follows:New_nc.connect ("rtmp: // myserver.mydomain.com/doc_record/room_01 ");Note: It is determined that rtmp is followed by a double slash. A singl
In the previous article on the Mac to build a live server nginx+rtmp, we have built a nginx+rtmp live server. The following need to add support to the Nginx server for HLS. In Nginx addition to the support of the HLS more simple, just simple modification under the configuration file nginx.conf .Installing Nginx and RTMP modulesFor the installation of Nginx is rel
through coaxial cable, such as transmission, IP network development, the use of IP network excellent transmissionrelating to technology or agreement:Transport protocol: RTP and RTCP, RTSP, RTMP, HTTP, HLS (HTTP Live streaming), etc.Control signaling: SIP and SDP, SNMP, etc.4, decoding the data:Using the relevant hardware or software to decode the received encoded audio and video data and get the image/sound that can be directly displayedrelating to t
Cycle through programs
W
Cycle switch Filter or display mode
S
Play Frames by frame
Left/right
Drag backward/forward for 10 seconds
Down/up
Drag backwards/forwards for 1 minutes
Page Down/page up
Drag the previous/next. Or, if no chapters are dragged backwards/forwards for 10 minutes.
Right-click
Drag a file that corresponds to a percentage of the display width to play
and decodes and plays the video in sequence. In this way, the live video process of "production, transmission, and consumption" is realized.
7. live video business logic
One-to-multiple model:
Broadcaster-- RTMP protocol --"Live streaming media server-- RTMP/HLS protocol --"Audience (fans)
RTMP Protocol: low latency and fast transmission speed. (The host uses
Set up the hls Streaming Media Server on ubuntu16.04 and ubuntu16.04hls
1. Distributor ID: UbuntuDescription: Ubuntu 16.04.3 LTSRelease: 16.04Codename: xenial
2. Linux 4.4.0-89-generic # 112-Ubuntu SMP Mon Jul 31 19:38:41 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Mkdir ~ /Working
Switch ~ /Working directory
Cd ~ /Working
Obtain nginx source code:
Wget http://nginx.org/download/nginx-1.13.4.tar.gz
Extract
Tar xvf nginx-1.13.4.tar.gz
Obtain the latest nginx-rt
Mac Live Server Nginx configuration support for HLSIn the previous article on the Mac to build a live server nginx+rtmp, we have built a nginx+rtmp live server. The following need to add support to the Nginx server for HLS. In Nginx addition to the support of the HLS more simple, just simple modification under the configuration file nginx.conf .Installing Nginx and RTMP
Now very popular live, I believe a lot of people are like me very curious how this technology is implemented, just recently in a ffmpeg project, found that the tool is easy to do live, the following to share the following technical points:First you have to compile the ffmpeg to run the required static library, this Baidu has a lot of content, here I will not say, the proposal can be used on GitHub, an open source script compiled, simple and brutal efficiency.Address: Github-kewlbear/ffmpeg-ios-b
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.