-->

什么是流媒体?

在最基本的层面上, 流媒体是通过互联网或蜂窝数据网络将音频和视频文件从服务器传送到客户端. 第一个流媒体音频于1995年发布, while the first streaming video followed two years later; you can read more about the early history of the technology in the first version of "什么是流媒体,我们在2011年发表了这篇文章. 不用说,自那以后,情况发生了很大变化.

2019年的流媒体会是什么样子? 如果你是这个领域的新手, it probably looks like an impenetrable collection of st和ards, 产品, 和技术, 事实上, 它是. 但它可以被分解成百家乐软件app最新版下载在定义他们的服务时必须做出的一小部分决定. 本指南确定了这些决定,并向您指出其他内容来帮助您做出这些决定.

目标流设备

Start by choosing the platforms that you want to deliver video to. 几乎所有的制作人都希望面向电脑和移动设备,但你必须深入挖掘. 例如,您希望在计算机上支持哪些浏览器,以及您希望回溯到多远? 如果你的浏览者在政府或教育机构工作,你可能需要支持Internet Explorer 11或更早版本的浏览器, which means support for legacy formats like Flash. 如果你的目标是年轻观众, 闪回退 可能不是问题吗.

For mobile, you need to decide between delivering via an app or the browser. 应用程序提供了更多的功能和设计灵活性,但增加了开发成本和时间. Browser support is faster 和 cheaper but offers fewer features (see "视频:浏览器vs. 内容分发应用"). 

流媒体生产商的下一个主要平台是像Roku这样的OTT (over- top)设备, 苹果电视, Chromecast, 和亚马逊Fire TV. You’ll have to create a channel or the equivalent for each of these devices, 但是它们代表了通过每次开发工作来支持大量观众的机会. 如果你的目标观众更年轻, you may also want to support game platforms like PlayStation or Xbox.

最后一组目标平台通常只有最大的流媒体生产商才会采用,那就是智能电视平台. Though t在这里 is some st和ardization through organizations like the SmartTV联盟 (飞利浦、LG、松下、东芝)或 HbbTV, each platform will likely need a separate effort. 有关支持这些平台的概述, 从这个名为“流媒体西部”的工作坊下载讲义编码2018:编解码器 & pc、移动、 & 奥特/机顶盒/智能电视."

自适应比特率(ABR)格式

上面确定的每个平台都支持某些 自适应比特率(ABR) formats that dictate how the video files are encoded 和 packaged. If you’re distributing video to iOS devices in the Safari browser, you’ll have to package your video into the HTTP 在线直播。 (HLS) format (see "什么是HLS"). If you’re distributing to Android devices via a browser, 基于HTTP的动态自适应流, 或破折号, 是首选(参见“什么是MPEG DASH"). 如上所述, if you distribute video to mobile devices via apps, you can typically choose whichever ABR format you would like.

对电脑, your format decision will most likely depend upon the off-the-shelf player you select; an excellent starting point for technical readers is this video from Robert Reinhardt at 流媒体西部 entitled "选择最好的现成的视频播放器.“所有的OTT机顶盒和智能电视都支持一种或多种格式,除了苹果电视(当然)只支持HLS. 一些较老的游戏平台同样缺乏灵活性,只支持较老的格式,如微软的Smooth Streaming.

最后, 以达到他们的目标受众, most producers end up supporting at least two formats, HLS和DASH, 对其他格式的支持很少. We’ll discuss how to support multiple formats in the Packaging & 下面的编码模式部分.

特性集

Fundamental to adaptive bitrate streaming is the concept that each input file, 无论是直播还是视频点播(VOD), 编码成一组不同的文件,具有不同的分辨率和比特率,以优化所有观众的播放体验, 无论是通过3G手机还是通过100Mbps宽带连接的4K智能电视观看. The configuration for these different files is called an encoding ladder; the chart below is a suggested encoding ladder from Apple’s HLS创作规范 适用于苹果设备.

苹果编码阶梯

苹果建议的编码阶梯 HLS创作规范 适用于苹果设备.

Your encoding ladder will change based upon the input of your video, the 压缩技术 that you use, your target platforms, 和 even your geography. Here are two useful videos for creating your encoding ladder—one covering 比特率,还有一个覆盖物  决议. 这里有一些 观察 您可以使用它来微调编码阶梯.

数码版权管理

If you’re distributing sensitive or premium content, you may have to protect it with digital rights management technology, 或DRM(这里有一个有用的 底漆 DRM,而这个 article 描述了好莱坞电影公司如何使用DRM). As with ABR technologies, different platforms support different DRM technologies. 例如, Chrome 和 Chromecast support Google Widevine; 苹果电视, iOS, 和 MacOS support Apple FairPlay; 和 Edge supports 微软 PlayReady. 幸运的是, 从技术和管理的角度来看,部署多个drm比听起来要简单.

技术方面,从Flash到HTML5的过渡是由一个叫做 加密媒体扩展 (EME) that allows a single file to include multiple DRM technologies. 同时, 多个供应商为所有相关的drm提供许可,从而简化了商业方面.

关闭字幕

For certain types of videos, closed captions may be 要求, 而对于其他人来说,它们可能是可取的,以达到听障人士或在嘈杂或公共场所播放,这些场所可能听不到声音. You can find a good overview of closed captioning in this article entitled "流媒体的封闭字幕."

流媒体编解码器

编解码器是一种压缩音频和视频的技术,它允许您通过一系列连接将内容传递给观众(参见“什么是编解码器”)," 在这里). Codecs are absolutely critical to streaming video; no codecs, no streaming video.

For about the last ten years, a video codec named H.264 与AAC音频压缩已成为几乎所有流媒体生产商的选择技术. Over the last five years, however, two video codecs, HEVC 和 VP9, 是否已部署以降低带宽成本并在低比特率连接上提高视频质量. This latter point is key; for example, w在这里 H.264 could deliver a high-quality 720p stream at 2 Mbps, HEVC 和 VP9 can deliver a high-quality 1080p stream at the same data rate, 哪个对大多数观众来说更好看. 2018年,一项名为 AV1 用一种叫做 多功能视频编码 到2020年左右.

选择和部署编解码器是一项艰巨的任务 复杂的分析 涉及编码效率等因素, 平台的兼容性, 以及ABR技术的支持. 有关这些考虑因素的概述,请查看流媒体东部的这个视频。”操作方法:比较AV1, VP9, HEVC & H.264."

流式封装和编码模式

如上所述, 为了达到所有的目标平台,你可能需要支持多种ABR格式, 通常是DASH和HLS. T在这里 are two approaches; static 和 动态打包.

带静态包装, 您将编码并打包交付这两种ABR格式所需的所有文件,并将它们上传到原始服务器以进行分发. 这取决于你如何编码你的视频, this may double your encoding cost 和 will certainly increase online storage costs.

另一种方法叫做 动态打包. 在这里,对编码阶梯的所有梯级进行编码,并将其上传到原始服务器. 当浏览者点击你的链接, 一个独立的服务器检测玩家需要哪种格式,并自动实时创建所需的包装.

动态打包将存储和编码成本降至最低,但需要一台全天候运行的服务器来打包内容. 通常, 考虑到所有相关成本,动态包装比静态包装便宜, 但这因应用而异. To learn more about how 动态打包 works, check out this 入门篇

 At some point in 2020 or so, a technology called the 通用媒体申请格式 (CMAF)将使一组文件同时支持大多数新平台的HLS和DASH, 但并不是所有的传统平台. 对于那些可以忽略传统观众的制片人来说, CMAF将削减与静态包装相关的存储成本,使其成为最实惠的选择.

内容分发网络

与大多数其他形式的网络内容相比, 像文本, 图片, 及PDF档案, streaming video is much larger 和 t在这里fore harder to deliver. 出于这个原因, most streaming producers deploy a content delivery network, 或CDN, 发布他们的视频(见“什么是内容交付网络").

Larger organizations may want to deploy multiple CDNs, both for redundancy 和 to optimize delivery in different regions. To learn more about how 和 why to support multiple CDNs, check out the panel discussion from 流媒体西部 entitled "CDN Optimization: Working Toward Broadcast Economics & 规模化质量."

Quality of Service (QoS) 和 Quality of Experience (QoE)

When streaming video is mission-critical to your organization, 衡量你的内容传递的有效性也同样至关重要. T在这里 are two basic technologies 在这里; quality of service (QoS), which measures the technical effectiveness of your video infrastructure, 体验质量(QoE), 哪一个衡量的是实际的观看体验.

While obviously related, the concepts are definitely separate. 例如, 如果你的视频包装有缺陷, QoS可以是完美的, 但是观看体验会很糟糕. 出于这个原因, most larger producers use different services to monitor both. For an overview of QoE 和 QoS technologies, check out "Measure it, Improve it: For Video Publishers, QoE 和 QoS are Critical." For a tutorial on how to deploy a QoE technology, check out 如何测量视频编码QoE ." 

在这篇“是什么”指南中,我们向您抛出了许多概念,同时也提供了许多百家乐软件. While this article is just a tip of the big toe into the world of streaming media, if you’ve made it this far you’ve got a great start.

流媒体覆盖
免费的
合资格订户
现在就订阅 最新一期 过去的问题
相关文章

How to Succeed on Patreon: A Guide for Video Publishers

超过100,000 creators use Patreon to run their creative businesses, 和 br和s can tap the platform's enthusiasm 和 resources. 以下是如何在Patreon上取得成功的方法.

HEVC是什么.265)?

Not sure what to make of the new format on the block? Read this to get up to speed on how HEVC was created, 它现在面临的挑战, 以及什么时候能投入日常使用.

什么是HLS (HTTP 在线直播。)?

苹果的HTTP 在线直播。 (HLS)协议是用于向iPad和iPhone等苹果设备传输视频的技术. Here's a 底漆 on what HLS is 和 how to use it.

什么是自适应流?

看看什么是自适应流, 主要技术提供者, 和 the factors you should consider when choosing an adaptive streaming technology

H是什么.264?

H的背后.264,世界上最流行的视频编解码器,包括编码参数和版税问题

什么是内容分发网络(CDN)?

A definition 和 history of the content delivery network, as well as a look at the current CDN market l和scape

什么是流媒体(2011版)

流媒体技术、历史和在线视频市场格局的高级视图

提及的公司及供应商