FFMpeg generated .mpd doesn't allow more than one bitrate option to choose from #4519
-
Hello community, first and foremost: thank you for reading my question and if you're a contributor to the dash.js project, thank you for your awesome work! Here's a quick list of the steps I took:
What am I missing? Thank you very much in advance for your thoughts about my issue. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
A DASH player such as dash.js typically chooses the best <AdaptationSet id="0" contentType="video" startWithSAP="1" segmentAlignment="true" bitstreamSwitching="true" frameRate="25/1" maxWidth="640" maxHeight="360" par="16:9" lang="und">
<Representation id="0" mimeType="video/mp4" codecs="avc1.64001e" bandwidth="800000" width="640" height="360" sar="1:1">
<SegmentTemplate timescale="12800" initialization="de_02_giant-steps_head_init_$RepresentationID$.m4s" media="de_02_giant-steps_head_chunk_$RepresentationID$_$Number%05d$.m4s" startNumber="1">
<SegmentTimeline>
<S t="0" d="128000" r="2"/>
<S d="8704"/>
</SegmentTimeline>
</SegmentTemplate>
</Representation>
</AdaptationSet>
<AdaptationSet id="2" contentType="video" startWithSAP="1" segmentAlignment="true" bitstreamSwitching="true" frameRate="25/1" maxWidth="1920" maxHeight="1080" par="16:9" lang="und">
<Representation id="2" mimeType="video/mp4" codecs="avc1.640028" bandwidth="2500000" width="1920" height="1080" sar="1:1">
<SegmentTemplate timescale="12800" initialization="de_02_giant-steps_head_init_$RepresentationID$.m4s" media="de_02_giant-steps_head_chunk_$RepresentationID$_$Number%05d$.m4s" startNumber="1">
<SegmentTimeline>
<S t="0" d="128000" r="2"/>
<S d="8704"/>
</SegmentTimeline>
</SegmentTemplate>
</Representation>
</AdaptationSet> You have two options to address this:
|
Beta Was this translation helpful? Give feedback.
A DASH player such as dash.js typically chooses the best
Representation
from only oneAdaptationSet
per media type (audio,video). In your MPD the qualities are distributed over multipleAdaptationSet
elements, e.g.: