【问题标题】:mediastreamvalidator validate Warningmediastreamvalidator 验证警告
【发布时间】:2012-01-31 10:06:47
【问题描述】:

我正在尝试在我的应用程序中使用 HTTP Live Streaming。为此,我正在使用此命令分割我的流。

sudo /usr/bin/mediafilesegmenter -I -f Desktop/MySegment -a -t 10.00 Desktop/MyVideo.mp4

我通过这个命令验证流

mediastreamvalidator validate http://www.xyz.com/prog_index.m3u8

但我在验证时收到了一些警告(如下图所示)。

Playlist Validation: 

    OK

Segments:

fileSequence26.aac:

WARNING: Media segment exceeds target duration of 9.98 seconds by 1.32 seconds (segment duration is 11.31 seconds)

fileSequence28.aac:

WARNING: Media segment exceeds target duration of 10.01 seconds by 1.56 seconds (segment duration is 11.56 seconds)

fileSequence29.aac:

WARNING: Media segment exceeds target duration of 9.98 seconds by 1.39 seconds (segment duration is 11.38 seconds)

fileSequence42.aac:

WARNING: Media segment exceeds target duration of 10.01 seconds by 1.23 seconds (segment duration is 11.24 seconds)

我应该怎么做才能删除此警告?
任何人都可以在这方面提供帮助吗?

谢谢。

【问题讨论】:

    标签: macos xcode4 http-live-streaming mediastreamsegmenter


    【解决方案1】:

    您应该将持续时间增加到比所有分段都长。您可以通过修改#EXT-X-TARGETDURATION: 来做到这一点

    要完全符合 HLS 草案规范,您的目标持续时间应更改为 12 秒。 https://datatracker.ietf.org/doc/html/draft-pantos-http-live-streaming-10#section-3.4.2

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-12-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多