当玩家客户开始播放破折号媒体时

发布于 2025-02-09 19:35:45 字数 239 浏览 0 评论 0原文

我正在研究Android Player,以播放Dash Media。

为了快速启动视频,我预加载了Dash Media的一部分,现在预紧式的大小为600kb。

如您所见,600KB是一个神奇的数字。我认为,应预装不同的大小用于不同的破折号文件。

所有DASH媒体的启动位置都是0。

我想知道:如何知道可以支持玩家的DASH媒体的大小开始播放?

感谢您的帮助。

I'm working on Android Player for playing dash media.

In order to enable video starting fast, I preload a part of dash media, now the size of preload is 600kb.

As you see, 600kb is a magic number. In my opinion, different size should be preloaded for different dash file.

All start position of dash media is 0.

I want to know: How to know the size of dash media which can support player starts to play?

Thanks for your help.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

噩梦成真你也成魔 2025-02-16 19:35:45

MPGE DASH是ABR格式,它由清单或索引文件和关联的媒体文件组成。

清单“ .mpd文件”是一个相对较小的文本文件,可为实际音频,视频,字幕等媒体文件提供指示。

对于视频,通常有不同的带宽版本可用的带宽版本,每个版本分为相等的长度,TimeWsie,块,以便播放器可以根据网络条件和设备类型在视频的下一个块中切换带宽版本。

清单文件本身并不是标准长度,因为可以包括不同的格式和信息,并且随着实时流的进行,实时清单实际上可以每隔几秒钟更新。

因此,除非您自己控制头尾并决定明显的格式和尺寸,否则没有简单的方法可以准确地知道清单会有多长时间。

媒体流更为可预测 - 对于给定的带宽版本,您可以估计下载尺寸,这是工作参与者确定下一个要下载的带宽的一部分。

MPGE DASH is an ABR format and it consists of a manifest or index file and associated media files.

The manifest, the '.mpd file, is a relatively small text file which provides pointers to the actual audio, video, subtitle etc media files.

For video, there are typically different bandwidth versions of the video available, each segmented into equal length, timewsie, chunks so the player can switch between bandwidth versions for the next chunk of the video depending on the network conditions and the device type.

The manifest file itself is not a standard length as there are different formats and information that can be included, and a live manifest may actually be updated every couple of seconds as the live stream progresses.

Hence, unless you control the headend yourself and can dictate the manifest format and size, there is no easy way to know in advance exactly how long a manifest will be.

The media streams are more predictable - for a given bandwidth version you can estimate the download size, and this is part of the work players do to decide the bandwidth of the next segment to download.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文