1 Install Nginx to increase nginx-rtmp-module support download good nginx-rtmp-module after decompression, and then add this module Nginx installation (--add-module)./configure--prefix=/usr/local/nginx--add-module= (nginx-rtmp-module path)2 after the installation is complete, open nginx configuration file nginx.conf to configureFirst add the rtmp configuration to the insidertmp {server {Listen 1935;Application Video {Live on;}Application HLS {Live on;
Tags: URL 5.0 ges Tutorial nload get the keyword folder to useNginx third-party module ngx_http_accesskey_module to implement the download file anti-theft chain 1, the specific installation tutorial: HTTP://WWW.CNBLOGS.COM/TINYWAN/P/5983694.HTML/2, Nginx configuration fileLocation/hls {
Alias/tmp/hls;
}location/download {
accesskey on ;
Accesskey_has
platforms found out you were doing so.
Moral aspects of the non-evaluation, single technically feasible, but there are some limitations.
The possible reasons are:
At present, most of the technology of the live platform is using the RTMP (real-time Messaging Protocol) protocol to transmit (host) and receive the live stream (viewer side).
These live platforms also use the HLS (HTTP live Streaming) protocol for live viewing in a mobile WEB e
adept at processing simple work but a large amount of data gpu.
GPU decoding is called hard decoding.
CPU decoding is soft decoding.
iOS provided by the player class is hard decoding, so video playback on the CPU will not be a lot of pressure, but the supported playback format is relatively single, generally is MP4, MOV, M4V these several.
HTTP Live Streamingabout HLSHTTP Live Streaming (abbreviated as HLS) is an HTTP-based stre
) The HTTP protocol does not have a specific transport stream. (4) HTTP transmission generally requires 2-3 channels, command and data channel separation.Second, the available live stream addressUsually when we do RTMP/RTSP development, we can build our own video server for testing. You can also directly use some of the TV station's live address, save time and effort.Here are some of the video live addresses that I collected aggregated, pro-test available. 1,rtmp Agreement Live source Hong Kong
CPU caused a great burden, so the mobile phone engineers to this part of the work is more adept at processing simple work but a large amount of data gpu.GPU decoding is called hard decoding.CPU decoding is soft decoding.iOS provided by the player class is hard decoding, so video playback on the CPU will not be a lot of pressure, but the supported playback format is relatively single, generally is MP4, MOV, M4V these several.HTTP Live StreamingAbout HLSHTTP Live Streaming (abbreviated as
output >file.* Additional output >>file.* The redirect descriptor is similar to 1GT;AMP;2.* Enter The following ffmpeg call converts the input flow code to the Hls-ready stream (H264/AAC). To run this example, FFmpeg must be compiled to support libx264 LIBFAAC. Application src {Live on;EXEC ffmpeg-i rtmp://localhost/src/$name-vcodec libx264-vprofile baseline-g 10-s 300x200-acodec libfaac-ar 44100-a C 1-f flv rtmp://localhost/
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 streaming solution developed by Apple for mobile devices such as the iphone, IPod, itouch and ipadhttps://developer.apple.com/streaming/Technical key points1. Capture data from video sources and audio so
Build an mp4/flv Streaming Media Server Based on tengine in CentOS6 (
Location ~ \. Mp4 $ {Root/mnt/media/vod;Mp4;Limit_conn addr 20;Limit_rate 200 k;}
Location/hls {# Serve HLS fragmentsAlias/mnt/media/app;}
Access_log logs/nginxflv_access.log access;}}---------------- Nginx configuration file --------------
4. Convert your movies into mp4 and flv formats to test the nginx environment.
4.1) Prepare a movie
) The HTTP protocol does not have a specific transport stream. (4) HTTP transmission generally requires 2-3 channels, command and data channel separation.Second, the available live stream addressUsually when we do RTMP/RTSP development, we can build our own video server for testing. You can also directly use some of the TV station's live address, save time and effort.Here are some of the video live addresses that I collected aggregated, pro-test available.1,RTMP protocol Live source Hong Kong sa
) The HTTP protocol does not have a specific transport stream. (4) HTTP transmission generally requires 2-3 channels, command and data channel separation.Second, the available live stream addressUsually when we do RTMP/RTSP development, we can build our own video server for testing.You can also directly use some of the TV station's live address, save time and effort. 1,rtmp Agreement Live source Hong Kong satellite TV: RTMP://LIVE.HKSTV.HK.LXDNS.COM/LIVE/HKS 2,RTSP Agreement live source Zhuhai o
first, the conceptM3U8 is a format for segmenting request data to implement streaming media technologysecond, the installation of NginxDownload First: Http://nginx.org/download/nginx-1.5.10.zipModify the MIME Plus in config:Application/x-mpegurl m3u8;Application/vnd.apple.mpegurl m3u8;VIDEO/MP2T ts;To modify the domain name port configuration, double-click Nginx.exe to run the specific installation reference: Windows Next-minute configuration Ngnix implement
:30 21 * * * means 21:30 per night45 4 1,10,22 * * = 4:45 per month for 1, 10, 22ndnow is the official code that compresses the logs for one months and deletes them .Create a new. sh file under Logs's sibling directory for example: logzip.shContent:Echo"Please wait ..."m= ' date-d"1 months ago"+%y-%m ' #获取上个月的yyyy-date string in mm format m2= ' date-d"1months ago"+%y%m ' Index=0F= ' Ls/home/hls/apache-tomcat-7.0.61/logs-1-C ' #获取logs下文件列表 (/home/
series of chips and Planahead and HLS tools provide the possibility for large-scale system hardware and software co-design. Therefore, this project uses the ZYNQ experimental platform developed by Digilent company Zedboard to realize the design of gesture recognition and application system. Project IntroductionThe project is based on Zedboard development design, using Xilinx HLS tools for the hardware deve
$ (document). Ready (function() {loadingjwplayer (); //Video Start playback eventPlayer.onplay (function() {Console.log ("start playing video"); //set the player background color, default is black, but our video is white background, cannot change here, I can only be resolved by changing the source code (jwplayer.js "#000000" to "#ffffff")JQuery ("#sp_box"). CSS ('bgcolor','#ffffff'); }); //Video Playback Complete eventPlayer.onplaylistcomplete (function() {Console.log ("Load Compl
It took me nearly 3 weeks, after a lot of problems, today finally put the streaming media server, hurriedly write a blog post to avoid forgetting ...It started with some tutorials on the web, but it was not comprehensive, and something was out of date (like the old version of Jwplayer). I am using the latest version of jwplayer6.8, in the configuration has a lot of different places, also very pit, it is worth noting! In terms of configuration, I strea
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.