Opened 3 years ago

Closed 3 years ago

#5590 closed defect (duplicate)

Schematron validation not successful. Period element shall have an id.

Reported by: obirkedal Owned by:
Priority: normal Component: avformat
Version: unspecified Keywords: dash
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Using http://www-itec.uni-klu.ac.at/dash/?page_id=605 for validating DASH manifests I get the current error when validating the attached MPD file from FFmpeg:

<svrl:failed-assert test="if (not(@id) and ancestor::dash:MPD/@type = ‘dynamic’) then false() else true()"
location="/*[local-name()='MPD' and namespace-uri()='urn:mpeg:dash:schema:mpd:2011']/*[local-name()='Period' and namespace-uri()='urn:mpeg:dash:schema:mpd:2011']">
<svrl:text>If the MPD is dynamic the Period element shall have an id.</svrl:text>
</svrl:failed-assert>
Schematron validation not successful – DASH is not valid!`

If I change <Period start="PT0.0S"> into <Period id="p0" start="PT0.0S"> it validates.
Seems like the id tag is necessary to keep the MPD valid for dynamic files.

Attachments (2)

test.mpd (1.9 KB) - added by obirkedal 3 years ago.
DASH file
0001-Adding-id-attribute-to-Period-tag-of-DASH-manifest.-.patch (1.1 KB) - added by obirkedal 3 years ago.
Patch to fix the Period tag

Download all attachments as: .zip

Change History (5)

Changed 3 years ago by obirkedal

DASH file

Changed 3 years ago by obirkedal

Patch to fix the Period tag

comment:1 Changed 3 years ago by fiuqwb

FYI http://dashif.org/conformance is the most up-to-date version of the DASH validator.

comment:2 Changed 3 years ago by FishB8

This would probably fix #4555

comment:3 Changed 3 years ago by cehoyos

  • Resolution set to duplicate
  • Status changed from new to closed

The patch was sent, this is apparently a duplicate of ticket #4555.
http://ffmpeg.org/pipermail/ffmpeg-devel/2016-May/194698.html

Note: See TracTickets for help on using tickets.