0

I am trying to add manually to the .mpd file the following code.

    <AdaptationSet contentType="audio" segmentAlignment="true" bitstreamSwitching="true" lang="English">
        <Representation id="1" mimeType="audio/mp4" codecs="mp4a.40.2" audioSamplingRate="44100">
            <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2" />
            <SegmentTemplate timescale="44100" media="http://localhost/audio.aac" startNumber="1">
            </SegmentTemplate>
        </Representation>
    </AdaptationSet>

But its not working, Does everything have to be segmented in .mpd files ? or can I have a single .acc file?

Got To Figure
  • 390
  • 6
  • 13

1 Answers1

1

It will not work! You have to package your media into a MPEG-DASH compliant format first. So yeah, it needs to be segmented. Plus for "audio/mp4" MIME type the media needs to be added to a MP4 container prior segmentation.

One can use open source tool like MP4Box for that purpose.

Zangue
  • 26
  • 2