5 Replies
      Latest reply on Sep 28, 2015 10:42 AM by Dvyz
      Dvyz Level 1 Level 1 (10 points)

        Hello,

        I stream an HLS video with WebVTT in the master playlist. When I enable the CC, the player downloads the first vtt file and then it does not download.

        When I play the same on my Mac safati, it works fine and the CC is displayed.

        I tried it on iOS9 and iOS9.1 with same results. Same works fine on my android app. Any clue on this will be greatly appreciated.

        • Re: WebVTT files are not downloaded
          TidBits Apple Staff Apple Staff (1,645 points)

          Have you tried running the MediaStreamValidator tool against your master playlist to ensure that the playlists are all formatted properly?

           

          You can download our streaming tools from https://developer.apple.com/streaming/.

            • Re: WebVTT files are not downloaded
              Dvyz Level 1 Level 1 (10 points)

              Thank you for your response. Yes I did validated it and it the following is the message on the webvtt, everything else was OK.

               

              Playlist Syntax:

                Warning: (0:0) Subtitle playlists will be validated, but subtitle segments will not

              Processed 0 out of 6 segments

               

              I didnt find a way to validate the webvtt itself, but I have one sample here.

              WEBVTT

              X-TIMESTAMP-MAP=MPEGTS:10134, LOCAL:00:00:00.000

              NOTE 0X15F830E08 -> 0X15F85FCC8

              18:12:07.461 --> 18:12:09.596 line:92% size:100% align:start

              I certainly can't reach out

              to them for help,

              NOTE 0X15F86143E -> 0X15F87D200

              18:12:09.663 --> 18:12:10.931 line:100% size:100% align:start

              but I know you can.

               

              Second webvtt file looks like this

              WEBVTT

              X-TIMESTAMP-MAP=MPEGTS:10134, LOCAL:00:00:00.000

              NOTE 0X15F8C670C -> 0X15F8EB192

              18:12:14.267 --> 18:12:15.936 line:100% size:100% align:start

              So I must present my agenda

              NOTE 0X15F8EC908 -> 0X15F91138E

              18:12:16.002 --> 18:12:17.671 line:92% size:100% align:start

              to my own people

              __________________________________________________

              Following is some details of the matching segment

              [PACKET]

              codec_type=video

              stream_index=1

              pts=5897415648

              pts_time=65526.840533

              dts=5897412645

              dts_time=65526.807167

              duration=3003

              duration_time=0.033367

              convergence_duration=N/A

              convergence_duration_time=N/A

              size=16401

              pos=752

              flags=K

              [/PACKET]

              [PACKET]

              codec_type=video

              stream_index=1

              pts=5897421654

              pts_time=65526.907267

              dts=5897415648

              dts_time=65526.840533

              duration=3003

              duration_time=0.033367

              convergence_duration=N/A

              convergence_duration_time=N/A

              size=2539

              pos=17860

              flags=_

              [/PACKET]

              [PACKET]

              codec_type=video

              stream_index=1

              pts=5897418651

              pts_time=65526.873900

              dts=5897418651

              dts_time=65526.873900

              duration=3003

              duration_time=0.033367

              convergence_duration=N/A

              convergence_duration_time=N/A

              size=145

              pos=20492

              flags=_

              [/PACKET]