文中只对关键句翻译!
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的很好的书籍,2007年由Eric Setton撰写
The-Technology-of-Video-and-Audio-Streaming
END-TO-END STREAMING KEYWORD SPOTTING 端到端 关键词检测
Resilient Peer-to-Peer Streaming.
MS-WMSP---MS Http Streaming Protocol
很好的流媒体资料,流媒体已经流行很久,但是还没有相关介绍的资料,这里提供,共同分享。
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/...
考虑时间-空间特性的流媒体视频QoE评价模型,石然,刘奕彤,流媒体视频服务作为目前网络服务最广泛使用的应用之一,其用户感知质量已经引起了服务提供商的广泛关注。本文提出了一种预测流媒
Eric Setton, Bernd Girod --Eric Setton, Bernd Girod
资源分类: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%。
资源来自pypi官网。 资源全名:python-ffmpeg-video-streaming-0.1.8.tar.gz
用Flask实现视频数据流传输 用Flask实现视频数据流传输
高级Java人才培训专家-3-Structured Streaming.doc
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 ...
On Peer-to-Peer Media Streaming.ppt
藏经阁-From Spark Streaming to Structured Streaming.pdf
Next-Generation Video Coding and Streaming 英文无水印pdf pdf所有页面使用FoxitReader和PDF-XChangeViewer测试都可以打开 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自网络,如有侵权...
HLS规范
藏经阁-LEARNINGS USING SPARK STREAMING & DATAFRAMES FOR WALMART SEA