DockerDocker pull jasonrivers/nginx-1935:19358080:8080 jasonrivers/ Nginx-rtmp/bin/shThe Nginx directory appears under/opt/nginx/, viewing the configuration file, which is found in the node liveThe URL path for HLS is in the HLS nodeMac installation FFmpegBrew Install FFmpegTranscoding and pushing the stream// there seems to be a problem here #ffmpeg-re-i ~/projects/rtmp/xgtt/1. Mp4-vcodec libx264-acodec aa
large need to be compressed for transmission, that is, encoding), common encoding such as H. Encode video stream and AAC encoded audio stream. Compressed encoded video data output becomes non-compressed color data, such as Yuv420p,rgb and so on; compressed audio data output becomes non-compressed audio sampling data, such as PCM data.
Audio synchronization, video streaming, audio streaming, subtitle streaming and other simultaneous playback.
2. Streaming Media Transfer ProtocolGenera
Nginx builds one of the streaming media servers supporting http and rtmp protocolsPurpose:Enable Nginx to support flv and mp4 files and RTMP live and on-demand video;Enable the rtmp hls FunctionMATERIALS:HTTP Live Streaming (HLS) is an HTTP-based Streaming media network transmission protocol proposed by Apple.HLS only requests basic HTTP packets. Unlike the real-time transmission protocol (RTP),
degrades when the network is plugged, so it's better to ensure that the quality of the video is progressively downloaded.Real-time Streaming media protocol:
RTSP (Real time 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 strea
or RGBA image
Gci_greenband:this Raster is the green portion of an RGB or RGBA image
Gci_blueband:this Raster is the blue portion of an RGB or RGBA image
Gci_alphaband:this Raster is the alpha portion of an RGBA image
Gci_hueband:this Raster is the hue of a HLS image
Gci_saturationband:this Raster is the saturation of a HLS image
Gci_lightnessband:this Raster is the hue of a
mask band or, in some cases, acts as a transparent channel.· List of optional category names (used for classification charts)· Optional maximum and minimum values.· Optional offset and zoom ratio, used to transform the pixel value of the image, such as converting the height to the meter.· Image unit name, optional. For example, it can be used to indicate the elevation of elevation data.· The color information of the band, which is one of the following nominal values:O gci_undefined: Default Val
imagewithcgimage:image]; One //uiimagewritetosavedphotosalbum (img, self, nil, nil); [Catransaction commit]; + } ]; Eight: iOS development stream Media common sense real-time streaming media transmission must ensure that the transmission speed of the packet is greater than the speed of the file, otherwise the user will see a video pause. Video quality degrades when the network is plugged, so it's better to ensure that the quality of the video is progressiv
transmission, that is, encoding), common encoding such as H. Encode video stream and AAC encoded audio stream. Compressed encoded video data output becomes non-compressed color data, such as Yuv420p,rgb and so on; compressed audio data output becomes non-compressed audio sampling data, such as PCM data.
Audio synchronization, video streaming, audio streaming, subtitle streaming and other simultaneous playback.
2. Streaming Media Transfer ProtocolGenerally on-demand http, and live, mo
Live555 receive RTSP live stream, convert HTTP Live streaming (iOS live) protocolThe RTSP protocol is also a widely used live/on-demand streaming protocol that previously implemented a program that received the RTSP protocol via live555 and then converted it to the HLS (Http live streaming) live protocol file. In order to receive the remote device or the server's multi-channel RTSP live data, real-time conversion to the
Live from the RTSP protocol (Transport Media stream) to the HTTP TS (ts shard after TS partition encoder, HTML file) (Apple's live streaming scenario) conversion effort.HTTP Live Streaming (abbreviated as HLS) is an HTTP-based streaming network Transfer protocol proposed by Apple. is part of Apple's QuickTime X and iphone software system. It works by dividing the entire stream into small HTTP-based files to download, one at a time. When media streamin
maintain2) Separation of the PHP business logic code (logical processing and data invocation) from the display phaseAdvantages: Easy to maintain the revisionCons: less efficient to perform3) MVC design Ideas3. MVC schematic diagramV. Allocation of projectsProject requirements:Provide a template for a Web site (HTML static page template) and use PHP to implement dynamic Web sites1. Project structure:L PHP Source code developmentL MySQL DatabaseL MVC Design Ideas2. Code ArchitectureL Simple File
MP4 page Playback code, there is no image of the sound solution ~About the Web play MP4 format video, find some plug-ins, here recommend Video.jsOfficial website: http://www.videojs.com/github:https://github.com/videojs/video.js/Demo:http://www.videojs.com/downloads/video-js-4.12.5.zipHow to use:① Introducing files: Assigning a SWF file for flash playback② Setting the video parameter (setting the MP4 visual address)Use the MP4 video source inside the
Video. js changes the ui, and video. js uses the ui
1
The poster attribute is used to set the preview image.
Source is used to set the video address
Obtain various default UIS in video
var myPlayer = videojs('my_video'); var c = myPlayer.controlBar.children(); console.log(c);
I only found a stupid method.
You can see a UI array in the console and select the variable you want to change. For example, I want to delete the full screen icon and re-Add th
creation of the object to broadcastH5 Video AudioVideo tags may be used on mobile side very little, Android support is too bad, visual 5.0 to improveOld problem on iphone, can't auto play (save traffic Ah, save your sister!!! ), and the default is Full screen control playbackFor a long time, I ignored this video processing, Android with the bottom, iphone directly with Videojs, built-in Flash and H5 switch, Flash also has support issuesThe former bos
An open source free cross-browser video player--videojs usage IntroductionHttp://www.cnblogs.com/afrog/p/4115377.htmlSSM framework-Detailed Integration tutorial (Spring+springmvc+mybatis)http://blog.csdn.net/zhshulin/article/details/37956105Building cocos2d-x 3.7 in UbuntuHttp://t.cn/RqsGip8COCOS2DX SolutionsHttp://t.cn/RqFjzpSInstall Eclipse and RadRails Http://t.cn/RqDCA7M3.10 Install fmod for new audioengine on Linux with Install-deps-linux. #14961
The whim of the need to put a 1.5-hour video tutorial on the official website ...However, loading becomes a problem, the page is cshtml. NET hybrid website, do not know where the restrictions, cause the video can not be added.No way, only the front-end to find out.Then cut the video into 4Load autoplay in turn. The effect is also possible.Code:Introduced: Html: Js:var vList = [' Http://xxx.com/video/home2.mp4 ', ' http://xxx.com/video/home3.mp4 ', ' http://xxx.com/video/home4.mp4 ', ' Http://
1, very good pop-up windowhttps://limonte.github.io/sweetalert2/Https://github.com/limonte/sweetalert2Import './untils/swal.css ';Import Swal from ' Sweetalert2 'Swal.queue (steps). Then (function (Result) { swal.resetdefaults () Swal ({ title: ' All done! ', HTML: ' Your answers: 2, a compatible video plugin Video.jsHttps://github.com/videojs/video.js3.Summary of JavaScript plugins
property occurs, the media file starts playing again when it finishes playing.
Muted muted specifies that the audio output of the video should be muted.
The poster URL Specifies the image that is displayed when the video is downloaded, or the image that is displayed before the user clicks the play button.
Preload preload if this property appears, the video loads when the page loads and prepares to play. If you use "autoplay", the property is ignored.
src URL The URL of the video
1 basic information editing Vitamio is an all-in-one multimedia development framework on Android and IOS platforms that supports both hardware decoding and GPU rendering. From August 2011 to January 2014, Vitamio has won the favor of many developers around the world with its simple and easy-to-use API interface, with more than 3000 applications using Vitamio and over 500 million users worldwide.2 functional feature editing Vitamio can seamlessly play videos in common formats such as 720P or 10
AAC (Advanced Audio Coding), Chinese name: PremiumAudio encoding, appeared in 1997, based onMPEG-2Audio encoding technology. By Fraunhofer IIS,Dolby Labs,At,Sonyand other companies to develop together to replaceMP3format. 2000,MPEG-4after the advent of the standard, AAC re-integrates its features, adding SBR technology and PS technology, in order to differentiate it from the traditional MPEG-2 AAC, also known as MPEG-4 AAC. The iOS platform supports AAC encoders, primarily using the Audioconvert
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.