Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxError: JSON Parse error: Unexpected EOF with DVB (2018 xsd) Module Enabled #693

Open
cflammark opened this issue Dec 14, 2023 · 0 comments
Labels
Bug Something isn't working HbbTV-DVB-issue

Comments

@cflammark
Copy link

Hi,
The validator showing "SyntaxError: JSON Parse error: Unexpected EOF"
When testing with DVB (2018 xsd) module enabled, please help to investigate.
This is the DASH manifest used:

<?xml version="1.0" encoding="utf-8"?>
<!-- Created with Unified Streaming Platform (version=1.11.14-26090) -->
<MPD
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns="urn:mpeg:dash:schema:mpd:2011"
  xsi:schemaLocation="urn:mpeg:dash:schema:mpd:2011 http://standards.iso.org/ittf/PubliclyAvailableStandards/MPEG-DASH_schema_files/DASH-MPD.xsd"
  type="dynamic"
  availabilityStartTime="1970-01-01T00:00:00Z"
  publishTime="2023-12-14T15:06:16.393266Z"
  minimumUpdatePeriod="PT2S"
  timeShiftBufferDepth="PT3M"
  suggestedPresentationDelay="PT45S"
  maxSegmentDuration="PT7S"
  minBufferTime="PT10S"
  profiles="urn:dvb:dash:profile:dvb-dash:2014,urn:dvb:dash:profile:dvb-dash:isoff-ext-live:2014">
    <Period
    id="1"
    start="PT0S">
        <BaseURL>dash/</BaseURL>
        <EventStream
      schemeIdUri="urn:scte:scte35:2014:xml+bin"
      timescale="10000000">
            <!-- 2023-12-14T15:04:03.240000Z -->
            <Event
        presentationTime="17025662432400000"
        duration="300000000"
        id="4072693672">
                <Signal
          xmlns="http://www.scte.org/schemas/35/2016">
                    <Binary>/DAlAAAAAA4QAP/wFAVIXncCf+/+AhcW0P4AKTLgAAEBAQAAD6xlfg==</Binary>
                </Signal>
            </Event>
            <!-- 2023-12-14T15:06:03.040000Z -->
            <Event
        presentationTime="17025663630400000"
        duration="300000000"
        id="2105563467">
                <Signal
          xmlns="http://www.scte.org/schemas/35/2016">
                    <Binary>/DAlAAAAAA4QAP/wFAVIXnfJf+/+ArucAP4AKTLgAAEBAQAAEDsKyQ==</Binary>
                </Signal>
            </Event>
        </EventStream>
        <AdaptationSet
      id="1"
      group="1"
      contentType="audio"
      lang="en"
      segmentAlignment="true"
      audioSamplingRate="48000"
      mimeType="audio/mp4"
      codecs="mp4a.40.2"
      startWithSAP="1">
            <AudioChannelConfiguration
        schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011"
        value="2" />
            <Role schemeIdUri="urn:mpeg:dash:role:2011" value="main" />
            <SegmentTemplate
        timescale="48000"
        initialization="bitrate1-clear-$RepresentationID$.dash"
        media="bitrate1-clear-$RepresentationID$-$Time$.dash">
                <!-- 2023-12-14T15:03:09.642645Z / 1702566189 - 2023-12-14T15:06:15.648000Z -->
                <SegmentTimeline>
                    <S t="81723177102847" d="287744" />
                    <S d="288768" />
                    <S d="287745" />
                    <S d="287743" />
                    <S d="287744" />
                    <S d="288768" />
                    <S d="287745" />
                    <S d="287743" />
                    <S d="269312" />
                    <S d="307200" />
                    <S d="287745" />
                    <S d="287743" />
                    <S d="287744" />
                    <S d="269312" />
                    <S d="307201" />
                    <S d="287743" />
                    <S d="287744" />
                    <S d="288768" />
                    <S d="287745" />
                    <S d="287743" />
                    <S d="287744" />
                    <S d="288768" />
                    <S d="287745" />
                    <S d="287743" />
                    <S d="287744" />
                    <S d="288768" />
                    <S d="287745" />
                    <S d="287743" />
                    <S d="260096" />
                    <S d="316416" />
                    <S d="287745" />
                </SegmentTimeline>
            </SegmentTemplate>
            <Representation
        id="audio_0=128000"
        bandwidth="128000">
      </Representation>
        </AdaptationSet>
        <AdaptationSet
      id="2"
      group="2"
      contentType="video"
      par="16:9"
      minBandwidth="657984"
      maxBandwidth="1240960"
      maxWidth="768"
      maxHeight="432"
      segmentAlignment="true"
      sar="1:1"
      frameRate="25"
      mimeType="video/mp4"
      codecs="avc1.4D401E"
      startWithSAP="1">
            <SupplementalProperty
        schemeIdUri="urn:mpeg:mpegB:cicp:ColourPrimaries"
        value="5" />
            <SupplementalProperty
        schemeIdUri="urn:mpeg:mpegB:cicp:TransferCharacteristics"
        value="5" />
            <SupplementalProperty
        schemeIdUri="urn:mpeg:mpegB:cicp:MatrixCoefficients"
        value="5" />
            <Role schemeIdUri="urn:mpeg:dash:role:2011" value="main" />
            <SegmentTemplate
        timescale="600"
        initialization="bitrate1-clear-$RepresentationID$.dash"
        media="bitrate1-clear-$RepresentationID$-$Time$.dash">
                <!-- 2023-12-14T15:03:15.600000Z / 1702566195 - 2023-12-14T15:06:15.600000Z -->
                <SegmentTimeline>
                    <S t="1021539717360" d="3600" r="6" />
                    <S d="3384" />
                    <S d="3816" />
                    <S d="3600" r="2" />
                    <S d="3384" />
                    <S d="3816" />
                    <S d="3600" r="12" />
                    <S d="3264" />
                    <S d="3936" />
                    <S d="3600" />
                </SegmentTimeline>
            </SegmentTemplate>
            <Representation
        id="video=657984"
        bandwidth="657984"
        width="640"
        height="360"
        scanType="progressive">
      </Representation>
            <Representation
        id="video=1240960"
        bandwidth="1240960"
        width="768"
        height="432"
        scanType="progressive">
      </Representation>
        </AdaptationSet>
    </Period>
    <UTCTiming
    schemeIdUri="urn:mpeg:dash:utc:http-iso:2014"
    value="https://time.akamai.com/?iso" />
</MPD>

Thanks.

@rbouqueau rbouqueau added Bug Something isn't working HbbTV-DVB-issue labels Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working HbbTV-DVB-issue
Projects
None yet
Development

No branches or pull requests

2 participants