文中只对关键句翻译!
Introduction - How to Create Streaming Video
This tutorial covers the different types of video streaming on the internet and introduces the two main methods of streaming video: Streaming servers (true streaming) and HTTP streaming. This tutorial is suitable for people who are familiar with basic digital video concepts, and who understand how websites work (see our video tutorials and internet tutorials for more information).
When creating streaming video, there are two things you need to understand: The video file format and the streaming method.
File Formats[文件格式]
There are many video file formats to choose from when creating video streams. The most common formats are:
-
Windows Media
-
RealMedia
-
Quicktime
-
MPEG (in particular MPEG-4)
-
Adobe Flash
There are pros and cons for each format but in the end it comes down to personal preference. Be aware that many of your users will have their own preferences and some users will only use a particular format, so if you want to reach the widest possible audience you should create separate files for each format. In reality this isn't usually practical so you need to make a judgment call on which formats to provide. Obviously the better you understand all the options, the better your decision is likely to be.
At this stage we won't worry too much about individual formats (we'll come back to them in the format tutorial).
Streaming Methods[传输方法]
There are two ways to view media on the internet (such as video, audio, animations, etc): Downloading and streaming.
Downloading[下载]
基于HTTP的文件下载,需要整个文件下载完才能播放观看。
When you download a file the entire file is saved on your computer (usually in a temporary folder), which you then open and view. This has some advantages (such as quicker access to different parts of the file) but has the big disadvantage of having to wait for the whole file to download before any of it can be viewed. If the file is quite small this may not be too much of an inconvenience, but for large files and long presentations it can be very off-putting.
The easiest way to provide downloadable video files is to use a simple hyperlink to the file. A slightly more advanced method is to embed the file in a web page using special HTML code.
Delivering video files this way is known as HTTP streaming or HTTP delivery. HTTP means Hyper Text Transfer Protocol, and is the same protocol used to deliver web pages. For this reason it is easy to set up and use on almost any website, without requiring additional software or special hosting plans.
Note: This is not technically "true" video streaming - the best it can do is a passable imitation.
Streaming[流式传输]
媒体到达一部分就播放一部分,在网络广播中时常用到。
Streaming media works a bit differently - the end user can start watching the file almost as soon as it begins downloading. In effect, the file is sent to the user in a (more or less) constant stream, and the user watches it as it arrives. The obvious advantage with this method is that no waiting is involved. Streaming media has additional advantages such as being able to broadcast live events (sometimes referred to as a webcast or netcast).
True streaming video must be delivered from a specialized streaming server.
Progressive Downloading[渐进式下载]
上两种方式的混合,文件只要下载一部分就可以开始播放,类似流式传输,但却不具有流输的诸多优点。
There is also a hybrid method known as progressive download. In this method the video clip is downloaded but begins playing as soon as a portion of the file has been received. This simulates true streaming, but doesn't have all the advantages.
Which Method to Use?
The method you choose will depend on your situation, but most people will opt for HTTP streaming (download or progressive download). This is the easiest and cheapest way to get started. If necessary you can upgrade to a streaming server later.
Still, you will want to understand both options so the next two pages of this tutorial look at each one in a bit more detail. After that we'll talk about how to create the actual video files.
分享到:
相关推荐
【标题】:对等网络视频流(Peer-to-Peer Video Streaming) 在当今互联网技术日新月异的时代,视频流媒体已经成为我们日常生活中的重要组成部分。"Peer-to-Peer Video Streaming"是一种创新的技术,它改变了传统的...
《Peer-to-Peer Video Streaming》是由Eric Setton和Bernd Girod共同撰写的关于点对点视频流传输技术的专业著作。在这个领域,两位作者深入探讨了如何利用P2P技术来有效地分发大规模的在线视频内容,从而减轻服务器...
对等视频流(Peer-to-Peer Video Streaming,简称P2P视频流)是一种网络技术,它允许用户在观看在线视频时与其他观看同一内容的用户共享数据。这种技术通过减少对中央服务器的需求来提高效率、降低成本,并改善用户...
MS-WMSP---MS Http Streaming Protocol
标题中的"flask-video-streaming-master.zip"表明这是一个与使用Flask框架进行视频流传输相关的项目。Flask是一个轻量级的Python Web服务器网关接口(WSGI)Web应用框架,它提供了构建Web服务的基本工具。这个项目...
git clone https://github.com/phatak-dev/introduction-to-spark-streaming 3. 构建 mvn clean install 4. 测试 在 Linux 上,运行nc如下 nc -l localhost 50050 然后从代码目录运行以下命令 java -cp target/...
"python-ffmpeg-video-streaming-0.1.8.tar.gz"这个压缩包包含了该库的源代码和相关文件。通过解压并安装,开发者可以在自己的Python项目中利用这个库来实现视频流的处理。在PyPI(Python Package Index)官网上,...
资源分类:Python库 所属语言:Python 资源全名:python-ffmpeg-video-streaming-0.0.11.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
文本实现的HTTP/2 360视频流媒体系统在大多数情况下需要传输的tile数量是比传统的ERP要少的,其所需要传输的比特率下降约17%,视口预测精度提高约30%,视区内的PSNR提高22%,传输延迟降低约30%。
videojs-http-streaming(VHS) 即使没有本地支持,也可以使用video.js播放HLS,DASH和将来的HTTP流协议。 默认情况下包含在video.js 7中! 请参阅 维护状态:稳定 Video.js兼容性:6.0,7.0 支持MSE的浏览器 仅本...
videojs-contrib-quality-levels是VideoJS的一个贡献组件,它的主要功能是为VideoJS添加了多质量级别(Adaptive Streaming)的支持。这个组件尤其对于流媒体服务至关重要,因为它允许用户根据网络状况选择不同质量的...
在这个"Real-time-Video-Streaming.zip"压缩包中,包含了一个使用Java语言实现的实时视频流项目,名为"Real-time-Video-Streaming-master"。下面我们将深入探讨相关的知识点。 首先,我们要了解Java在实时视频流中...
赠送jar包:flink-streaming-java_2.11-1.13.2.jar; 赠送原API文档:flink-streaming-java_2.11-1.13.2-javadoc.jar; 赠送源代码:flink-streaming-java_2.11-1.13.2-sources.jar; 赠送Maven依赖信息文件:flink-...
This plugin allows you to stream audio and video in a fullscreen, native player on iOS and Android. 1.0.0 Works with Cordova 3.x 1.0.1 Works with Cordova >= 4.0 Installation cordova plugin add ...
Next-Generation Video Coding and Streaming 英文无水印pdf pdf所有页面使用FoxitReader和PDF-XChangeViewer测试都可以打开 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自网络,如有侵权...
在这个“android-video-streaming”项目中,我们将会探讨如何利用`VideoView`来实现视频流播放功能,同时关注如何对媒体流数字版权进行有效控制。 首先,我们要了解`VideoView`的基本用法。在布局文件中,我们可以...
【应用】★★★★-iPhone Internet Radio Streaming Application.zipIOS应用例子载【应用】★★★★-iPhone Internet Radio Streaming Application.zipIOS应用例子载 1.适合学生学习研究参考 2.适合个人学习研究参考...
spark-streaming-flume_2.11-2.1.0.jar
在现代网络视频播放领域,HTML5的Video元素已经成为了主流,然而对于HTTP Live Streaming(HLS)这种流媒体协议的支持,浏览器原生并不完全兼容。为了解决这个问题,社区开发了一系列的插件,其中videojs-contrib-...
赠送jar包:flink-streaming-java_2.11-1.10.0.jar; 赠送原API文档:flink-streaming-java_2.11-1.10.0-javadoc.jar; 赠送源代码:flink-streaming-java_2.11-1.10.0-sources.jar; 赠送Maven依赖信息文件:flink-...