Hls,http live Streaming is an apple-defined protocol for real-time streaming, and HLS is based on the Http protocol, which mainly consists of two parts: the m3u8 profile and the TS media file.Because it is apple out of the video playback format, so the PC side in addition to safari other browsers basically do not support, Microsoft Edge launch on the support, is the specific support of each browserCan see A
(Ningyugang), is the author of the "Android Development Art Exploration" book, this is the author of the joint two developers screaming (time of the Sand) and song Siyu took a few months to study out of the APK dynamic loading framework, want to learn more about this framework can be seen in the author blog This article is described in detail
70.ExoPlayer
Exoplayer is a Google development team open-source Media Library, more than the Android framework native MediaPlayer has m
1.article------Thesis, this is an introduction to Apple's new technical paper HTTP Live streaming(HLs),http Live streaming(HLS ) is Apple Inc. (Apple Inc) The implementation of the HTTP-based streaming media transmission protocol, can achieve streaming media live and on-demand, mainly in the iOS system, for iOS devices (such as the iphone, IPad) to provide audio and video live and on-demand pr
the m3u8 stream (HLS), RTSP Stream, and MMS (Microsoft Media stream). First let's refer to the Vitamio library in our project.The steps for referencing the Vitamio library in Android Studio are as follows:Download Vitamio bundle Https://github.com/yixia/VitamioBundle Unzip and File->import Module on Android Studio To specify the Vitamiobundle path, select the Vitamio folder click Finish to add the dependent item (': Vitamio ') on the Build.gradle (M
software a color mode, in this mode, processing the image is more convenient, and, RGB stored images than CMYK images to small, can save memory and space.
CMYK mode is a pigment mode, so it belongs to the printing mode, but in essence, there is no difference with RGB mode, but the way of producing color is different. RGB is the additive blending mode, and CMYK is the subtraction process color mode. For example, the display uses RGB mode because the display is an electron beam that emits light
software a color mode, in this mode, processing the image is more convenient, and, RGB stored images than CMYK images to small, can save memory and space.
CMYK mode is a pigment mode, so it belongs to the printing mode, but in essence, there is no difference with RGB mode, but the way of producing color is different. RGB is the additive blending mode, and CMYK is the subtraction process color mode. For example, the display uses RGB mode because the display is an electron beam that emits light
When playing a video stream using HLS technology, you first convert the video to a TS slice and a m3u8 playlist, using FFmpeg to do the conversion (the low version ffmpeg does not support direct turning, and can now be converted to TS and m3u8-segmenter slices, The author uses ffmpeg version-2.1.2), usually using the following command:
Ffmpeg-i input.mp4-c:v libx264-c:a aac-strict-2-F HLS output.m3u8
Howeve
Search the keyword backwards from the cursor position love
Use n or n commands in normal mode to perform forward lookup or backward lookup next keyword
: Set IC ignores uppercase and lowercase commands, IC for ignore case abbreviation: The set is edge input edge shows the match result, is is the incsearch command abbreviation: Set HLS Highlight match results, HLS for highlight search abbreviation
You can p
One, video.js video playback
Github:https://github.com/videojs/video.js
Base code:
var player = Videojs (' My-player ', options, function Onplayerready () {
videojs.log (' Your player is ready! ');
In the, "This" is the player of that being created by Video.js.
This.play ();
How about an event listener?
This.on (' Ended ', function () {
videojs.log (' Awww...over so soon?! ');
});
Turn on AutoPlay (support for Android, IOS, PC):
Second, Videojs-contrib-
image entered here must be out0001.png out0002.png ... out0010.png, must be starting from 1 and is a continuous number, or will not find the input picture error.
splitting video and generating m3u8 files
Ffmpeg-i input.mp4-c:v libx264-c:a aac-strict-2-F hls-hls_time 20-hls_list_size 0-hls_wrap 0 output.m3u8
Related parameter Description:
-I input video file
-c:v output video format
-c:a output audio format
-strict-
f
Slice generates m3u8 List command:
ffmpeg-i input.mp4-c:v libx264-c:a aac-strict-2-F HLS output.m3u8
The length of the default per piece (that is, a TS file) for this conversion command is the only last 5 piece of information that is saved by default in the 2s,m3u8 list file, that is, the player can only broadcast the last 5 TS video files in the pull stream.
This is definitely not what you want, so luckily, FFmpeg provides parameters to change these
. HTTP Live Streaming
HTTP Live streaming is an HTTP-based streaming media transport protocol proposed by Apple. It cuts an entire audio and video stream into a small audio and video stream that can be downloaded by HTTP and generates a playlist (m3u8), where the client only needs to get a m3u8 playlist of resources to play the audio and video. Can realize live broadcast and on-demand. HLS is the technology to achieve live broadcast on demand, its de
I. Basic knowledge:1. Video format: + h, audio format AAC;2. The traditional live broadcasting protocol has Rtmp,rtsp,mms...3. The Apple System protocol is HLS, the Apple video format is the m3u8 format, through which the resource video is segmented into a very small video to be downloaded continuously, the small video format is mpeg-ts format; Two. Technical steps1. Capture the video source and audio source data (DirectShow(or other) technology )2.
'(Ignore case) option by entering: set ic (including case-sensitive matching, such as Ignore and IGNORE)
Set the 'hlsearch' and 'incsearch' options: set hls is (highlighted)
(Set option)
24. Typing ": set xxx" sets the option "xxx". Some options are:
'Ic ''ignorecase' ignore upper/lower case when searching
'Is ''incsearch' show partial matches for a search phrase
'Hls' hlsearch' highlight all matching ph
20. replace:
R: replace multiple letters
R: replace a single letter
21. Move the cursor to the end of the next line: j $
22. Use the y operator to copy text and p to paste it
NOTE: you can also use y as an operator; yw yanks one word.
23. Set the 'IC '(Ignore case) option by entering: set ic (including case-sensitive matching, such as Ignore and IGNORE)
Set the 'hlsearch' and 'incsearch' options: set hls is (highlighted)
(Set option)
24. Ty
), and then under this root directory is another directory and sub-directory www.2cto.com
Like DOS and Windows, Linux uses "paths" to indicate the levels of files or directories in the file system. A path consists of multiple directory name strings separated by "/", which are divided into absolute paths and relative paths. An absolute path is a method that starts from the root directory "/" to indicate the location of a file or directory in the system. For example, if an absolute path is used t
does not emit light by itself. Therefore, only the colors that absorb specific light waves and reflect other light must be reduced.(2) principle of HLS (color phase, brightness, and saturation)HLS is Hue, Luminance, Saturation ). Color is a property of color. it is essentially the basic color of color, which we often talk about seven colors: red, orange, yellow, green, blue, and purple, each color represen
Chinese)
"" Set r0000on, you must set this to ensure
"" The Chinese functionality of gvim
Set ru
"" For syntax color
If term = "xterm"
Set term = rxvt
Set t_Co = 8
Set t_Sb = ^ [4% dm
Set t_Sf = ^ [3% dm
Endif
Syntax on
"" Set visual bell and disable screen flash
": Set vb t_vb =
Set bs = 2
"" Toggle on/off highlightsearch
Map
: Set hls!
Set hls?
"" Toggle on/off paste mode
mechanism of Web server can do high concurrent streaming media distribution;2, the player according to the network bandwidth size dynamic switching different bitrate media source, has the good compatibility;3, has technology by the strong technical strength of the company to lead the development of standards, reliable and practical.Has technology from the development of Internet video technologies, if applied to the traditional industry, will also bring good results.One, Apple HTTP Live streami
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.