<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<p style="margin: 0px 0px 1em; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; clear: both; color: rgb(36, 39, 41); text-align: left; background-color: rgb(255, 255, 255)">
I've created a series of video segments using dashenc.c from ffmpeg's libav on my windows machine. The mpd file is templated, so it's fairly simple and it passes validation. The video plays, but only if I put ffplay in the same folder as all the files and use:</p>
<pre style="margin: 0px 0px 1em; padding: 12px 8px; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; width: auto; max-height: 600px; overflow: auto; background-color: var(--black-050); border-radius: 3px; color: rgb(36, 39, 41); text-align: left"><code style="margin: 0px; background-color: var(--black-050)">ffplay -i manifest.mpd
</code></pre>
<p style="margin: 0px 0px 1em; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; clear: both; color: rgb(36, 39, 41); text-align: left; background-color: rgb(255, 255, 255)">
If I try to play from some other directory, or even the same directory using:</p>
<pre style="margin: 0px 0px 1em; padding: 12px 8px; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; width: auto; max-height: 600px; overflow: auto; background-color: var(--black-050); border-radius: 3px; color: rgb(36, 39, 41); text-align: left"><code style="margin: 0px; background-color: var(--black-050)">ffplay -i c:\tmp\manifest.mpd
</code></pre>
<p style="margin: 0px 0px 1em; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; clear: both; color: rgb(36, 39, 41); text-align: left; background-color: rgb(255, 255, 255)">
or</p>
<pre style="margin: 0px 0px 1em; padding: 12px 8px; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; width: auto; max-height: 600px; overflow: auto; background-color: var(--black-050); border-radius: 3px; color: rgb(36, 39, 41); text-align: left"><code style="margin: 0px; background-color: var(--black-050)">ffplay -i c:/tmp/manifest.mpd
</code></pre>
<p style="margin: 0px 0px 1em; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; clear: both; color: rgb(36, 39, 41); text-align: left; background-color: rgb(255, 255, 255)">
The attempt fails, producing this error:</p>
<pre style="margin: 0px 0px 1em; padding: 12px 8px; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; width: auto; max-height: 600px; overflow: auto; background-color: var(--black-050); border-radius: 3px; color: rgb(36, 39, 41); text-align: left"><code style="margin: 0px; background-color: var(--black-050)">[dash @ 0000016ce0d69900] Failed to open an initialization section in playlist 0
[dash @ 0000016ce0d69900] Error when loading first fragment, playlist 0
C:/tmp/manifest.mpd: Invalid argument
</code></pre>
<p style="margin: 0px 0px 1em; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; clear: both; color: rgb(36, 39, 41); text-align: left; background-color: rgb(255, 255, 255)">
The mpd file:</p>
<pre style="margin: 0px 0px 1em; padding: 12px 8px; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; width: auto; max-height: 600px; overflow: auto; background-color: var(--black-050); border-radius: 3px; color: rgb(36, 39, 41); text-align: left"><code style="margin: 0px; background-color: var(--black-050)"><?xml version="1.0" encoding="utf-8"?>
<MPD xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="urn:mpeg:dash:schema:mpd:2011"
    xmlns:xlink="http://www.w3.org/1999/xlink"
    xsi:schemaLocation="urn:mpeg:DASH:schema:MPD:2011 http://standards.iso.org/ittf/PubliclyAvailableStandards/MPEG-DASH_schema_files/DASH-MPD.xsd"
    profiles="urn:mpeg:dash:profile:isoff-live:2011"
    type="dynamic"
    minimumUpdatePeriod="PT500S"
    suggestedPresentationDelay="PT4S"
    availabilityStartTime="2020-03-23T14:54:16Z"
    publishTime="2020-03-23T14:54:25Z"
    timeShiftBufferDepth="PT4811H53M52.3S"
    minBufferTime="PT9.6S">
    <ProgramInformation>
    </ProgramInformation>
    <Period id="0" start="PT0.0S">
        <AdaptationSet id="0" contentType="video" segmentAlignment="true" bitstreamSwitching="true">
            <Representation id="0" mimeType="video/mp4" codecs="avc1.42001e" bandwidth="5953124" width="720" height="480">
                <SegmentTemplate timescale="1000000" duration="5000000" availabilityTimeOffset="4.967" initialization="init-stream$RepresentationID$.m4s" media="media-stream$RepresentationID$-$Number%06d$.m4s" startNumber="1">
                </SegmentTemplate>
            </Representation>
        </AdaptationSet>
    </Period>
</MPD>

</code></pre>
<p style="margin: 0px 0px 1em; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; clear: both; color: rgb(36, 39, 41); text-align: left; background-color: rgb(255, 255, 255)">
Adding in a BaseUrl element didn't help; my guess is I'm formatting it wrong. Any ideas what I might do to fix this?</p>
<br>
</div>
</body>
</html>