简体   繁体   English

使用 AWS MediaConverter 生成的 MPEG DASH 上的一种视频变体

[英]One video variant on MPEG DASH generated with AWS MediaConverter

I've produced an.MDP using MediaConverter, which has the following video streams我已经使用 MediaConverter 制作了一个.MDP,它有以下视频流

<AdaptationSet mimeType="video/mp4" frameRate="30/1" segmentAlignment="true" subsegmentAlignment="true" startWithSAP="1" subsegmentStartsWithSAP="1" bitstreamSwitching="false">
  <Representation id="1" width="3840" height="1920" bandwidth="67300000" codecs="avc1.4d4033">
    <BaseURL>index3.3840.1920.cmfv</BaseURL>
    <SegmentBase indexRange="764-1091">
      <Initialization range="0-763"/>
    </SegmentBase>
  </Representation>
  <Representation id="2" width="3840" height="1920" bandwidth="67300000" codecs="avc1.4d4033">
    <BaseURL>index5.3840.1920.cmfv</BaseURL>
    <SegmentBase indexRange="764-1091">
      <Initialization range="0-763"/>
    </SegmentBase>
  </Representation>
  <Representation id="3" width="3840" height="1920" bandwidth="67300000" codecs="avc1.4d4033">
    <BaseURL>index7.3840.1920.cmfv</BaseURL>
    <SegmentBase indexRange="764-1091">
      <Initialization range="0-763"/>
    </SegmentBase>
  </Representation>
  <Representation id="4" width="3840" height="1920" bandwidth="67300000" codecs="avc1.4d4033">
    <BaseURL>index9.3840.1920.cmfv</BaseURL>
    <SegmentBase indexRange="764-1091">
      <Initialization range="0-763"/>
    </SegmentBase>
  </Representation>
</AdaptationSet>
<AdaptationSet mimeType="audio/mp4" lang="und" segmentAlignment="0">
  <Representation id="5" bandwidth="96000" audioSamplingRate="48000" codecs="mp4a.40.2">
    <BaseURL>indexaudio.cmfa</BaseURL>
    <SegmentBase indexRange="658-985">
      <Initialization range="0-657"/>
    </SegmentBase>
  </Representation>
</AdaptationSet>

This was produced with the files with the following settings这是使用具有以下设置的文件生成的

  new VideoCodecSettings()
                            .withCodec(VideoCodec.H_264)
                            .withH264Settings(
                                new H264Settings()
                                    .withCodecLevel(H264CodecLevel.LEVEL_4_2)
                                    .withMaxBitrate(maxBitRate)
                                    .withRateControlMode("QVBR")
                                    .withQvbrSettings(new H264QvbrSettings()
                                        .withQvbrQualityLevel(quality)
                                    ).withSceneChangeDetect("TRANSITION_DETECTION")
                                )
                        )

When I play it Shaka Player - it only detects a single available variant and will only play the initial stream.当我播放 Shaka Player 时 - 它只检测一个可用的变体并且只会播放初始流。

在此处输入图片说明

The Shaka player has default configurations but ABR is enabled. Shaka 播放器具有默认配置,但启用了 ABR。

Is this because all the bandwidths are the same?这是因为所有带宽都相同吗?

I've configured with QVBR is that not the best way?我已经配置了 QVBR 这不是最好的方法吗?

没错,您必须具有不同比特率的 CBR,以便播放器区分变体。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM