Environment under Windows SetupFirst, to prepare the work, we need to download the program we need1, Easydarwin:https://github.com/easydarwin/easydarwin2, ffmpeg:http://ffmpeg.org/3, nginx:http://nginx.org/en/download.htmlSecond, build Web services1, modify the Nginx configuration file,One is the port that the Web service listens to, then the Easydarwin service end will use;The other is the Web service root directory, which is where HLS slices and vid
the following background information about each of the preceding color modes:
RGB RGB is a color adding mode, that is, the more red, green, and blue colors are added, the closer the color is to white. If you mix the same red, green, and Blue values, you will always get a Neutral gray. To increase the color, reduce the three colors according to the same quantity. The computer's scanners and monitors are based on the RGB color mode, so it describes the natural color mode on the computer
maximum transmission Unit (MTU) maximum of 1500 bytes, when using the IP/UDP/RTP protocol hierarchy, which includes at least 20 bytes of IP header, 8 bytes of UDP header, and 12 bytes of RTP header. This way, the header information takes at least 40 bytes, and the maximum size of the RTP payload is 1460 bytes. Taking H264 as an example, if a frame of data is greater than 1460, it needs to be fragmented and then unpacked to the receiving end and then assembled into one frame of data for decoding
rtmp Live application and delay analysis
Original address: https://github.com/ossrs/srs/wiki/v1_CN_LowLatency Author: Winlin
Related articles:Take you thoroughly understand rtmpSome considerations for implementing RTMP protocol with live push streamingHow the live platform uses rtmp for low latency video streamingRTMP protocol analysis and interaction processIn live streaming applications, rtmp and HLS can basically cover all clients,
superstitious about full stack!
Don't be superstitious about full stack!
What is a knowledge system diagram? Naive ~
In the age of knowledge explosion, what kind of knowledge system diagram are superstitious? Find abuse or how ??
The knowledge system diagram at the front end is enough for you to drink n pots ~
To put it bluntly, I personally support "business-driven ".
So what should we do? (Take the current project as an example)
1. panoramic live broadcast platform construction
1.1 Req
later, it seems a short period of time, our bandwidth has widened, the popularity of smart phones, h.254 coding standards are soon accepted, the Internet video application spring finally came. Bandwidth more and more wide, mobile phone faster and more and more video content on the internet, YouTube, Youku and other domestic and foreign video content operations as the main web site springing up, watching video on the internet gradually from fashion to become a habit.In this process, the streamin
I have been using the Crtmpserver service, in the Crtmpserver service according to their own ideas have also added a lot of features, such as through the HTTP interface to load the configuration, suffering from not support HLS, self-added TS Shard level and limited, reasoning decided to use Simplertmpserver's HLS function. Say dry, immediately find related resources, download, decompression a quick, SRS sm
business logic of live streaming.Business logic for live streamingThe following is a streamlined one-to-many live business model, along with protocols across tiers.The differences between the protocols are as followsThese are some of the basic concepts of live technology. Let's look further at the live performance indicators that affect people's visual experience.Live performance metrics that affect the visual experienceLive streaming The first performance indicator is latency, which is the tim
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. Installation of Homebrow
Brow has been installed to skip this step directly.
Execute command
Ruby-e "$ (curl-fssl https://raw.githubuse
I have been using the Crtmpserver service, in the Crtmpserver service according to their own ideas also added a lot of functions, such as through the HTTP interface to load configuration, such as the lack of support HLS, since the added TS fragmentation level is limited, Reasoning decided to use Simplertmpserver's HLS function. Say dry, immediately find related resources, download, decompression, a smooth,
the current band.
Optional parameter (string ).
An optional list of category names (effectively class names in a thematic image ).
An optional minimum and maximum value.
An optional offset and scale fortransforming raster values into meaning full values (ie translate height tometers)
The name of the grating. This feature can be used to specify important data.
Explanation of each band, specifically:
Gci_undefined: Default, unknown information.
Gci_grayindex: An Independent gray image.
Gci_palet
official statement is that video broadcast can be divided into collection, pre-processing, encoding, transmission, decoding, rendering these links.Acquisition---is generally mobile, iOS is relatively simple, the model is more agreeable, Android is more complex, because there are many models, need to do the appropriate, the most troublesome PC, a variety of different cameras, microphones, more messy and bad processing.Pre-processing---is beauty or something, to make the host good-looking, many D
Color is important.
Color_palette () can pass in any color supported by matplotlib
Color_palette () do not write parameter the default color
Set_palette () sets the color of all graphs
6 Default Color Cycle themes: deep, muted, pastel, bright, dark, colorblindRound artboards * * * *When you have more than six categories to differentiate, the simplest way to do this is to draw evenly spaced colors in a circle of color space (such tones will keep the brightness and satur
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 this Protocol to upload video data to the server immediately)
Recently, I am working on decoding projects and have access to a lot of open source code. I think it is fun, just like a project similar to online live video forwarding.
It happened that Brother Chen bought a server and wanted to borrow his server trainer, haha.
After checking the relevant information, I found a lot of good open source code for reference. I would like to find SRS, FFMPEG, live555, etc.
Yang, the initiator of SRS, seems to have opened a company named Guan chuangxiang in Bei
DockerDocker pull jasonrivers/nginx-1935:19358080:8080 jasonrivers/ Nginx-rtmp/bin/shThe Nginx directory appears under/opt/nginx/, viewing the configuration file, which is found in the node liveThe URL path for HLS is in the HLS nodeMac installation FFmpegBrew Install FFmpegTranscoding and pushing the stream// there seems to be a problem here #ffmpeg-re-i ~/projects/rtmp/xgtt/1. Mp4-vcodec libx264-acodec aa
large need to be compressed for transmission, that is, encoding), common encoding such as H. Encode video stream and AAC encoded audio stream. Compressed encoded video data output becomes non-compressed color data, such as Yuv420p,rgb and so on; compressed audio data output becomes non-compressed audio sampling data, such as PCM data.
Audio synchronization, video streaming, audio streaming, subtitle streaming and other simultaneous playback.
2. Streaming Media Transfer ProtocolGenera
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 Streaming media network transmission protocol proposed by Apple.HLS only requests basic HTTP packets. Unlike the real-time transmission protocol (RTP),
degrades when the network is plugged, so it's better to ensure that the quality of the video is progressively downloaded.Real-time Streaming media protocol:
RTSP (Real time streaming Protocol)
MMS (Microsoft Media Server Protocol)
HLS (Http Live streaming)
Here is the main introduction of HLS,HLS (HTTP Live streaming) is an HTTP-based strea
or RGBA image
Gci_greenband:this Raster is the green portion of an RGB or RGBA image
Gci_blueband:this Raster is the blue portion of an RGB or RGBA image
Gci_alphaband:this Raster is the alpha portion of an RGBA image
Gci_hueband:this Raster is the hue of a HLS image
Gci_saturationband:this Raster is the saturation of a HLS image
Gci_lightnessband:this Raster is the hue of 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.