gpt4 book ai didi

ios - HTTP Live Streaming (HLS) - 降低目标持续时间、选择初始流和调试

转载 作者:塔克拉玛干 更新时间:2023-11-01 19:08:46 25 4
gpt4 key购买 nike

目标是尽可能快地优化观看质量(总是目标不是吗?)。

项目说明:

  1. 使用 HTTP Live Streaming (HLS) 允许 iOS 设备选择最佳流进行观看。
  2. 流不是直播。
  3. 视频时长约为 1 分钟。
  4. 以 iPhone 3gs 及更高版本为目标

三个问题:

  1. 初始 蜂窝流的目标编码器设置应该是什么?编码器设置表:Preparing Media for Delivery to iOS-Based Devices

  2. Apple suggests (转载如下)目标持续时间应为 10 秒。如果初始流质量低于当前能力,则在进行切换之前,您将只能观看同一流 10 秒。我正在考虑将其移动到 3-5 秒。是否有关于下限的建议?我相信 Apple 的建议来自直播的角度,可能并不适用。

  3. 如何调试设备上的 HLS?查看流开关和时间。我曾经遇到一个链接...

Use 10 second Target Durations

The value you specify in the EXT-X-TARGETDURATION tag for the maximum media segment duration will have an effect on startup. We strongly recommend a 10 second target duration. If you use a smaller target duration, you increase the likelihood of a stall. Here's why: if you've got live content being delivered through a CDN, there will be propogation delays, and for this content to make it all the way out to the edge nodes on the CDN it will be variable. In addition, if the client is fetching the data over the cellular network there will be higher latencies. Both of these factors make it much more likely you'll encounter a stall if you use a small target duration.

非常感谢

最佳答案

1) 您的消费者可能会反复试验。鉴于目标持续时间很短,我会为初始流使用非常低的比特率,并假设质量变化会很快发生(见 2)

2) 这确实取决于您的 CDN。然而,对于 VOD 来说更容易,因为每个片段只有一个 HTTP 请求,这与直播不同(每个片段 2 个请求)。也就是说,Microsoft silverlight 的默认值为 2 秒。对于 netflix 来说已经足够好了。

3) 不知道。

关于ios - HTTP Live Streaming (HLS) - 降低目标持续时间、选择初始流和调试,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20863019/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com