1. HLS Introduction
Hls, HTTP live streaming is a protocol defined by Apple for real-time stream transmission. HLS is implemented based on HTTP. The transmission content includes two parts: an m3u8 descriptive file, the second is ts media files.
1. m3u8 File
A media file is described in text and consists of a series o
Adobe's HTTP Dynamic streaming is an HTTP-based streaming solution for Apple's HLS solution, based on its scenario description, which can support both HTTP and rtmp, both on-demand (VOD) and live. Therefore, this scheme is equipped with the following procedures:
Server environment: LINUX x86-64 8G Memory (I chose the test plan is to put the FMS and Apache on the
protocol, which solves the problem of video transmission on the mobile side. Then the mobile phone to play the TV channel, it is necessary to solve the HLS protocol can play the player, that is, hlsplayer or m3u8player. So how to convert live TV channel signals into m3u8 ? What kind of hlsm3u8player do you use?TV programs are generally three kinds of program source: The live signal of the telecom such as the application in the hotel OTT Community IPT
1. HLS Introduction
Hls, HTTP live streaming is a protocol defined by Apple for real-time stream transmission. HLS is implemented based on HTTP. The transmission content includes two parts: an m3u8 descriptive file, the second is ts media files.
1. m3u8 File
A media file is described in text and consists of a series o
I. Configuring HLS in the Rtmp module of the Nginx configuration fileHls_key_path/tmp/hlskeys;Prompt for error message:the same path name "/data/hlskeys" used in/usr/local/nginx/conf/nginx.conf:178 and in/usr/local/nginx/conf/ nginx.conf:178Workaround:View official RTMP Source code:nginx-rtmp-module / HLS /ngx_rtmp_hls_module.c Ngx_conf_merge_str_value (conf-> key_path,prev-> Key_path, "");Lines No. 2346
EasyhlsWhat is Easyhls ?Easyhls is a Easydarwin open source media community development of a HLS packaging library, the interface is very simple, only need to pass in the packaged file name, tile directory, packaging interval and the number of slices, Easyhls library can easily be H264+AAC streaming media slicing, provided to the Web server for HLS
supports native video tags and video controls. Because the video control tag also supports HLS protocol playback. So it is possible to play on the mobile side of the mobile website. H5 is to solve the problem of Web playback, HLS solves the problem of mobile-side playback . The combination of the two makes the mobile Web page play perfectly. This enables all people watching live and on-demand video to enjo
This load test tool is a tool for sharing online games and can be used in http://blog.csdn.net/win_lin/article/details/11835011 or https://github.com/winlinvip/ St-load found a very detailed introduction, including how to install, how to use. Server load Test Tool (St-load):
Analog huge concurrency: 2G of memory can open 300k connections. The States-threads-based process.
Supports HLS parsing and testing, downloading TS slices after waiti
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 relatively simple, please refer to the previous
"Note" This series of articles, as well as the use of the installation package/test data can be in the "big gift –spark Getting Started Combat series" get1 Spark Streaming Introduction1.1 OverviewSpark Streaming is an extension of the Spark core API that enables the processing of high-throughput, fault-tolerant real-time streaming data. Support for obtaining data
I have been busy recently. I just took over a live video and on-demand video broadcast project. The video stream on the server is based on the HLS protocol. I will not introduce the HLS protocol here. Please refer to the official website of apple. When I took over the project, I tried several open-source players, such as mplayer, VLC, and ffplayer. The effects were not very good. When playing m3u8 list, the
Nginx itself is a very excellent HTTP server, FFmpeg is a very good audio and video solutions. These two things can be set up by a nginx module Nginx-rtmp-module, a relatively perfect streaming media server.This streaming media server can support RTMP and HLS (Live Http Stream)Starting from InstallationNginx installation refer to my previous one: http://redstarof
HLS getting started with hulusiHLS ProblemsEvaluate the exponent function exp (x)
Use exp (x) in HLS, that is, the exponential function. You cannot export RTL to EDK, that is, Pcore can only be exported to vivado ip. For more information, see the official forum.
Http://forums.xilinx.com/t5/High-Level-Synthesis-HLS/pow-function-in-Pcore-Export/td-p/470178
Work un
this machine, if the browser appears Welcome to nginx! Indicates that Nginx is installed and running successfully..1.7, restart/usr/local/nginx/sbin/nginx–s ReloadNote: If the virtual machine is turned on, the other computer will be able to access the IP address properly.Second, generate the m3u8 file and the corresponding TS file:Generate m3u8 files and for TS files in the same way as the m3u8 file generation method for the HLS (HTTP Live
Use a variety of streaming playlists instead of a single stream of code. The HLS client can dynamically change the stream based on the bandwidth situation, providing the user with the best user experience. (This argument is more idealized, personally think that as long as you can provide a variety of code flow to the user to choose, the app in the start video, according to the bandwidth to select the use of
Objective: To enable the Nginx support RTMP protocol to push the stream, and support HLS distribution function and FFmpeg transcoding multi-bit rate function.First, the preparatory workModule: Nginx-rtmp-module-master (rtmp protocol support):http://nginx.orgHttps://github.com/arut/nginx-rtmp-module1. Install the dependent package:#yum-y install gcc glibc glibc-devel make nasm pkgconfig lib-devel openssl-devel expat-devel gettext-devel libtool mhash. x
Objective: To enable the Nginx support RTMP protocol to push the stream, and support HLS distribution function and FFmpeg transcoding multi-bit rate function.First, the preparatory workModule: Nginx-rtmp-module-master (rtmp protocol support):http://nginx.orgHttps://github.com/arut/nginx-rtmp-module1. Install the dependent package:#yum-y install gcc glibc glibc-devel make nasm pkgconfig lib-devel openssl-devel expat-devel gettext-devel libtool mhash. x
10s to cut, resulting in a cut of the video after the last paragraph will be added to a few seconds of the black section to complement 10s, the reason is segmenter.c in the program written defects, the correct method is as follows:Https://github.com/johnf/m3u8-segmenter/pull/10/filesReference:Http://blog.chinaunix.net/uid-25530360-id-3483535.htmlhttp://shappy1978.iteye.com/blog/1071815http://www.ioncannon.net/programming/452/iphone-http-streaming-wit
rtmp mode is the server real-time playback. RTSP: The IPv4 of the RTSP 1.0 standard did not fully anticipate the rapid growth of Internet bandwidth, and the widespread use of NAT technology due to shortage of address, and the presence of proxy servers, which have some drawbacks in transmission reliability and usability. Although the manufacturers have done a certain degree of patching, such as supporting RTSP over HTTP, support NAT penetration, etc., but still does not help. After 2005 years
Use Nginx + FFmpeg to build an HLS live video transcoding Server
Objective: To enable Nginx to support Rtmp streaming, HLS distribution, and FFmpeg transcoding multi-bit rate.
I. PreparationsModule: nginx-rtmp-module-master (rtmp protocol supported):Http://nginx.orgHttps://github.com/arut/nginx-rtmp-module
1. Install the dependency package:# Yum-y install gcc gli
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.