weixin_39729784
weixin_39729784
2021-01-11 16:51

Dolby Vision

Is Dolby Vision supported by ShakaPlayer?

Spec: https://www.dolby.com/us/en/technologies/dolby-vision/dolby-vision-streams-within-the-mpeg-dash-format-v2.0.pdf

Edge based in Chromium supports Dolby Vision: https://techcommunity.microsoft.com/t5/discussions/dev-channel-update-to-80-0-361-5-is-live/m-p/1070730

Sample Stream: https://dash.akamaized.net/dash264/TestCasesMCA/dolby/6/DashIf-HDR10_UHD.mpd

该提问来源于开源项目:google/shaka-player

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

4条回答

  • weixin_39877898 weixin_39877898 4月前

    Codec support is a matter of the browser, not the player. The decoders are always below the level of JavaScript. So if the browser supports a codec, Shaka will discover this and may choose to play the corresponding tracks.

    Does this help?

    点赞 评论 复制链接分享
  • weixin_39729784 weixin_39729784 4月前

    In the stream https://dash.akamaized.net/dash264/TestCasesMCA/dolby/6/DashIf-HDR10_UHD.mpd

    
    <!-- Video -->
        <adaptationset mimetype="video/mp4" subsegmentalignment="true" subsegmentstartswithsap="1" framerate="24">
          <representation id="base-layer" codecs="hev1.2.4.H153.b0" bandwidth="29200362" width="3840" height="2160">
            <baseurl>BL_DashIf_BL-HDR10_UHD.mp4</baseurl>
            <segmentbase indexrange="687-862">
             <initialization range="0-686"></initialization>
            </segmentbase>
          </representation>
          <representation id="enhancement-layer" dependencyid="base-layer" codecs="dvhe.07.03" bandwidth="9320458" width="1920" height="1080">
            <baseurl>EL_DashIf_BL-HDR10_UHD.mp4</baseurl>
            <segmentbase indexrange="723-898">
             <initialization range="0-722"></initialization>
            </segmentbase>
          </representation>
        </adaptationset>
    

    The attribute dependencyId, what is it for? How can you prevent ShakaPlayer from adapting between HDR and non-HDR tracks?

    点赞 评论 复制链接分享
  • weixin_39877898 weixin_39877898 4月前

    I'm not familiar with dependencyId. We don't seem to use it.

    The way we prevent adapting between HDR and non-HDR tracks is by the codecs string. We would see hev1 as different from dvhe and only use one or the other.

    When we start using the MediaCapabilities API and MediaSource's changeType method, we would enable adaptation between codecs if the browser supports the transition.

    Does this help?

    点赞 评论 复制链接分享
  • weixin_39729784 weixin_39729784 4月前

    Yes, this is enough for now. thanks!

    点赞 评论 复制链接分享

相关推荐