/local/rar will have the RAR command and the Unrar command.Go to the HTML folder under Nginx download video playback tool player.swf#cd#cd/usr/local/nginx/html#wget Http://blogimg.chinaunix.net/blog/upfile2/100607142612.rar#unrar –e 100607142612.rar#ls –lCan see the extracted files;Vi. Setting the port number according to the configuration in the Nginx configuration file#vi/etc/sysconfig/iptablesOpen 8081 Ports#/sbin/service iptables RestartReboot firewall, set to take effectModify the firewall
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
456 c003f614 4002be64 S nginxnobody 2745 2743 1528 664 C00d8ad4 4002b7a4 S nginxroot 2748 2708 956 332 00000000 40095448 R PSDescription Nginx runs successfully.Open Browser input on the Development Boardhttp://localhost/The reality of the following pageNginx runs successfully.Using commandsKillall NginxKill the Nginx process.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ isolated ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~In summary, the command to run Nginx on the SDcard or tfcard of the Develop
Server | media
The so-called multi-stream means that according to the different speed of the production of streaming media files, can be measured by the actual user connection speed to connect, so that different speed access users can be the most suitable quality to enjoy audio and video files. and the single stream is only a single file, it will not be based on user access to the network speed to adjust
=/HOME/WUYINGQIANG/HTTPTEST/MYHTTPDServer_args =/home/wuyingqiang/httptest/dirDisable = noFlags = IPV4}Socket_type: Network socket type, stream, or packet.PROTOCOL:IP protocol, usually TCP or UDPWait: Take value yes/noUser: Run the process IDServer: Full path of executionServer_args: The value passed to the serverDisable: Used to disable the service in the default {}Flags: The Internet protocol used3. Sudo vi/etc/services to which the port number is added, such as: 22224. Restart the XINETD
FLV video is already the majority of video sites preferred video type, domestic and foreign famous video sharing station YouTube, Youku, potatoes, Sina Blog, Qiyi and so on are all Flash Player Flv/mp4 video.
FLV has two modes of publishing
One, ordinary HTTP way: This method usually needs to download to the local to play, there is buffering, but the download will not occupy the server resources.
Second, stream
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
Determine the bandwidth usage of each client on the Streaming Media Server
Summary
In some cases, it is useful to know the bandwidth used by a single client connected to the server. Sometimes, due to some features (such as Quick Start and quick cache), the bandwidth used may be larger
Capacity transfer rate. This article describes how to add context values so tha
In the past month, we have been studying the combination of msmediaserver and DRM. The main purpose is to set up a streaming media website. The most important function of a website is video protection.
I started to study what technologies can be used to encrypt and decrypt videos. Three solutions I initially identified:
The first is Microsoft's DRM encryption method, which requires a dedicated Certificate Server
When fms2 is used as a Streaming Media Server, You need to convert all the videos uploaded by all users into the FLV format. This format has a small file capacity and is suitable for remote playback. FFMPEG and mencoder are enough to convert most videos into FLV.
Here, I use Perl to call FFMPEG and mecoder commands, Java to operate databases and control threads to call Perl for conversion. I can't tell
Pure Ajax image upload, Ajax to post pictures streaming to the server.
FormData can change post data to stream transfer.
Ajax upload$ ("#upload"). Click (function () {var url = "http://mm.com/ajaxupload.php";var formData = new FormData ($ ("#frm") [0]);$.ajax ({Url:url,Type: ' POST ',Data:formdata,Async:false,Cache:false,Contenttype:false,Processdata:false,Success:function (returndata) {var jsonobj = eval
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.