在Pinterest上提高ABR视频性能
Zhihao Hong; Staff Software Engineer | Emma Adams; Sr. Software Engineer | Jeremy Muhia; Sr. Software Engineer | Blossom Yin; Software Engineer II | Melissa He; Sr. Software Engineer |
Zhihao Hong; Staff Software Engineer | Emma Adams; Sr. Software Engineer | Jeremy Muhia; Sr. Software Engineer | Blossom Yin; Software Engineer II | Melissa He; Sr. Software Engineer |
Summary
总结
Video content has emerged as a favored format for people to discover inspirations at Pinterest. In this blog post, we will outline recent enhancements made to the Adaptive Bitrate (ABR) video performance, as well as its positive impact on user engagement.
视频内容已成为Pinterest用户发现灵感的首选格式。在本博客文章中,我们将概述对自适应比特率(ABR)视频性能的最新增强以及其对用户参与度的积极影响。
Terms:
术语:
- ABR: An acronym for Adaptive Bitrate (ABR) Streaming protocol.
- ABR:自适应比特率(ABR)流媒体协议的缩写。
- HLS: HTTP live streaming (HLS) is an ABR protocol developed by Apple and supported both live and on-demand streaming.
- HLS:HTTP Live Streaming(HLS)是由Apple开发的支持实时和点播流媒体的自适应比特率协议。
- DASH: Dynamic Adaptive Streaming over HTTP (DASH) is another ABR protocol that works similarly to HLS.
- DASH:动态自适应流媒体协议(DASH)是另一种类似于HLS的ABR协议。
Context
Context
ABR Streaming is a widely adopted protocol in the industry for delivering video content. This method involves encoding the content at multiple bitrates and resolutions, resulting in several rendition versions of the same video. During playback, players enhance the user experience by selecting the best possible quality and dynamically adjusting it based on network conditions.
ABR Streaming 是业界广泛采用的视频内容传输协议。该方法涉及将内容以多个比特率和分辨率进行编码,从而产生同一视频的多个版本。在播放过程中,播放器通过选择最佳质量并根据网络条件动态调整来提升用户体验。
At Pinterest, we utilize HLS and DASH for video streaming on iOS and Android platforms, respectively. HLS is supported through iOS’s AVPlayer, while DASH is supported by Android’s ExoPlayer. Currently, HLS accounts for approximately 70% of video playback sessions on iOS apps, and DASH accounts for around 55% of video sessions on Android.
在Pinterest上,我们分别在iOS和Android平台上使用HLS和DASH进行视频流媒体。HLS通过iOS的AVPlayer支持,而DASH通过Andr...