[FFmpeg-trac] #5590(avformat:new): Schematron validation not successful. Period element shall have an id.

FFmpeg trac at avcodec.org
Thu May 26 15:10:05 CEST 2016


#5590: Schematron validation not successful. Period element shall have an id.
-----------------------------------+---------------------------------------
             Reporter:  obirkedal  |                     Type:  defect
               Status:  new        |                 Priority:  normal
            Component:  avformat   |                  Version:  unspecified
             Keywords:  dash       |               Blocked By:
             Blocking:             |  Reproduced by developer:  0
Analyzed by developer:  0          |
-----------------------------------+---------------------------------------
 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.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5590>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list