Skip to content

Move tv dash manifest issue #4

@kalehrl

Description

@kalehrl

The possible reason why Move tv raw dash manifests don't work in any app is that they lack BaseURL.

<?xml version="1.0" encoding="UTF-8"?>
<MPD id='dash' type="dynamic" xmlns="urn:mpeg:dash:schema:mpd:2011"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="urn:mpeg:DASH:schema:MPD:2011 DASH-MPD.xsd"
  profiles="urn:mpeg:dash:profile:isoff-live:2011"
  minBufferTime="PT13S"
  suggestedPresentationDelay="PT13S"
  availabilityStartTime="2026-01-28T21:38:25Z"
  publishTime="2026-04-02T13:15:38Z"
  minimumUpdatePeriod="PT4.2S"
  maxSegmentDuration="PT7S"
  timeShiftBufferDepth="PT18S">
    <Period id='1769636305' start="PT0S" >
        <AdaptationSet id="2" mimeType="video/mp4" contentType="video" maxWidth="1920" maxHeight="1080" par="1920:1080"  maxFrameRate="50" segmentAlignment="true" startWithSAP="1" subsegmentAlignment="true" subsegmentStartsWithSAP="1">
            <Representation id="tracks-v1" width="480" height="270" sar="1:1" frameRate="50" bandwidth="409000" codecs="avc1.4d401e">
              <SegmentTemplate initialization="tracks-v1/init.m4v" media="tracks-v1/seg-1769636305-$Number$.m4v?t=$Time$" timescale="1000"  startNumber="935784">
                 <SegmentTimeline>
                   <S t="5499415200" d="6000" r="2"/>
                 </SegmentTimeline>
              </SegmentTemplate>
            </Representation>
            <Representation id="tracks-v2" width="1024" height="576" sar="1:1" frameRate="50" bandwidth="1125000" codecs="avc1.640020">
              <SegmentTemplate initialization="tracks-v2/init.m4v" media="tracks-v2/seg-1769636305-$Number$.m4v?t=$Time$" timescale="1000"  startNumber="935784">
                 <SegmentTimeline>
                   <S t="5499415200" d="6000" r="2"/>
                 </SegmentTimeline>
              </SegmentTemplate>
            </Representation>
            <Representation id="tracks-v3" width="1280" height="720" sar="1:1" frameRate="50" bandwidth="2876000" codecs="avc1.640020">
              <SegmentTemplate initialization="tracks-v3/init.m4v" media="tracks-v3/seg-1769636305-$Number$.m4v?t=$Time$" timescale="1000"  startNumber="935784">
                 <SegmentTimeline>
                   <S t="5499415200" d="6000" r="2"/>
                 </SegmentTimeline>
              </SegmentTemplate>
            </Representation>
            <Representation id="tracks-v4" width="1920" height="1080" sar="1:1" frameRate="50" bandwidth="5015000" codecs="avc1.64002a">
              <SegmentTemplate initialization="tracks-v4/init.m4v" media="tracks-v4/seg-1769636305-$Number$.m4v?t=$Time$" timescale="1000"  startNumber="935784">
                 <SegmentTimeline>
                   <S t="5499415200" d="6000" r="2"/>
                 </SegmentTimeline>
              </SegmentTemplate>
            </Representation>
        </AdaptationSet>
        <AdaptationSet id="1" mimeType="audio/mp4" contentType="audio" lang="srb" segmentAlignment="true" startWithSAP="1">
            <Representation id="tracks-a1" audioSamplingRate="44100" bandwidth="99000" codecs="mp4a.40.2">
              <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
              <SegmentTemplate initialization="tracks-a1/init.m4v" media="tracks-a1/seg-1769636305-$Number$.m4v?t=$Time$" timescale="1000"  startNumber="935784">
                 <SegmentTimeline>
                   <S t="5499415200" d="6000" r="2"/>
                 </SegmentTimeline>
              </SegmentTemplate>
            </Representation>
        </AdaptationSet>
    </Period>
    <UTCTiming schemeIdUri="urn:mpeg:dash:utc:direct:2014" value="2026-04-02T13:15:38Z" />
</MPD>

This is likely the biggest issue. The segment URLs are relative (e.g., tracks-v1/seg-1769636305-$Number$.m4v), but there's no element telling the player where the server root is. Players have no idea where to fetch segments from. The possible solution would be to rewrite manifests by adding BaseURL inside the Period or at the top level:
<BaseURL>https://your-streaming-server.com/path/to/content/</BaseURL>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions