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 configurat
-http_stub_status_moduleMakeMake installAfter the installation is complete, Nginx is located in the/usr/local/nginx/sbin directory, the configuration file nginx.conf in the/usr/local/nginx/conf directory++++++++ test if Nginx is installed correctly +++++++++++#cd/usr/local/nginx#./sbin/nginx-c./conf/nginx.confOpen the Web page http://localhost, if the display welcome means the installation is correct, if not shown, please check the Nginx log.++++++++ Test rtmp+++++++++++Modify the contents of th
://your_ip/myapp/test, using the player (http://www.cutv.com/demo/ LIVE_TEST.SWF) to see if it is OK.++++++++ test HLS slicing function +++++++++++Modify the contents of the/usr/local/nginx/conf/nginx.conf as follows:#debugDaemon off;Master_process off;Error_log./error.log Debug;events{Worker_connections 1024;}rtmp{server {Listen 1935;Chunk_size 4000;#liveApplication MyApp {Live on;
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
Ta
/video_recordingsConfigure NginxBack up the original Nginx configuration filesudo cp/usr/local/nginx/conf/nginx.conf/usr/local/nginx/conf/nginx.conf.backsudo gedit/usr/local/nginx/conf/nginx.confAdd the following to/usr/local/nginx/conf/nginx.confWorker_processes 1;Error_log Logs/error.log Debug;Events {Worker_connections 1024;}rtmp {server {Listen 1935;Allow play all;#creates our ' live ' full-resolution HLS
Solution 1: ffmpeg + nginx the new ffmpeg already supports HLS. (I also participated in the code supply, to do an advertisement for myself :)) on-demand: generate hls fragment: ffmpeg-I lt; media files gt;-c: vlibx264-c: a-fhlsusrlocalnginxhtmltestm3u8 live broadcast first solution: ffmpeg + nginx new ffmpeg has supported HLS. (I also participated in the code p
: This article mainly introduces how to configure the rtmp Server for NGINX to implement rtmp and hls live broadcast. if you are interested in PHP Tutorial, refer to it. Introduction to NGINX
First configure:
work_processes4;events{ work_connections1024;}http{ include mime.types; default_type application/octet-stream; sendfileon; keepalive_timeout65;
send the previous several flvtag,header+metadata+spspps+aacheader, when these tags are sent, the server will be from the live stream tag, find the latest video keyframe tag, from this keyframe tag development data, why? Because the video stream is an IBP frame with each other, I is the complete data, the BP decoding requires I and the front frame, so, the normal video data, must be sent from the I-frame start. This is where the GOP pitch is concerned
A simple Rtmp/hls Live server licensed by the MIT protocol, its core value concept is simplicity and efficiency.How to use:TEP 1:build SRSTar XF simple-rtmp-server-*.*.tar.gzCD Simple-rtmp-server-*.*/trunk./configure--with-ssl--with-hlsMakeStep 2:start SRS./objs/simple_rtmp_server-c conf/srs.confStep 3 (Optional): Star
Keywords: nignx (http server); Rtmp,hls (Streaming media Services)Thanks for the open source, thanks to the fighting people. Now in some of the work of streaming media services, streaming media server set up online tutorials more into the calf, but look carefully, found a lot of comrades posted tutorials have a little problem, there are some are crawling other pe
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 streaming, we
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 streaming)
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
Actual procedure:brew install nginx-full --with-upload-modulethe input command appears with the following error:Need to install Nginx server, Run command brew tap homebrew/nginx , error:Change to a GitHub project, which runs the commandbrew tap denji/nginxAfter successful re-entering brew install nginx-full --with-upload-module the command, the following error occurred:Follow xcode-select --install the prompts to enter the command, installEnter the br
HLS (HTTP Live streaming) is a streaming media solution developed by Apple based on the HTTP protocol for mobile devices such as the iphone, IPod, itouch and ipad. In HLS technology, the WEB server provides near-real-time audio and video streaming to clients. However, the use of the standard HTTP protocol is used, so at this time, as long as the use of
According to the http://tools.ietf.org/html/draft-pantos-http-live-streaming-08, can have a better understanding of m3u8 than the license system.
Hls (HTTP live streaming) is an HTTP-based streaming media solution developed by Apple for mobile devices such as iPhone, iPod, itouch, and iPad. In HLS technology, web server provides client with near real-time audio
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
HTTP, and then providing a companion media list file to the client, allowing the client to sequentially pull these media files to play, to achieve the effect that appears to be playing a stream. HLS is now widely used in the field of on-demand and live broadcasting.
Using HLS on the HTML5 page
The advantages of HLS
Client support is simple, only need to s
HLS live broadcast technical solutions and pitfalls, hls live broadcast technical solutionsFor personal information about the old code farmers, please see here: http://www.koulianbing.com /? Page_id = 12I. Why is IJKPlayer having mature backend systems in terms of basic technology? let's leave it alone. Let's talk about the client. There will be bullet screens when there is a live video, which is basically
HLS (HTTP Live streaming) is a new streaming protocol that Apple released in 2009 that can be distributed through a common Web server. Apple's official HLS solution for the live video service, the main scope of the program is:
Live streaming with IPhone, IPod Touch, IPad, and Apple TV. (MAC can also be used)
No special service software is used to str
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.