# empty captions when loading SMIL from S3

**URL:** https://community.wowza.com/t/empty-captions-when-loading-smil-from-s3/46338
**Category:** Wowza Streaming Engine
**Created:** [December 8, 2015, 4:57pm UTC](https://community.wowza.com/t/empty-captions-when-loading-smil-from-s3/46338 "2015-12-08T16:57:42Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Brian\_Laske](https://avatars.discourse-cdn.com/v4/letter/b/90ced4/32.png) [@Brian\_Laske](https://community.wowza.com/u/Brian_Laske)
#### Post date: [December 8, 2015, 4:57pm UTC](https://community.wowza.com/t/empty-captions-when-loading-smil-from-s3/46338/1 "2015-12-08T16:57:42Z")

</div>

I’m having trouble getting webvtt captions to work when streaming HLS from a vods3cf application.

My SMIL file looks like this:

```auto
<smil>
  <head />
  <body>
    <switch>
      <video src="mp4:video-hd.mp4" system-bitrate="3206200" width="1280" height="544" title="HD" />
      <video src="mp4:video-sd.mp4" system-bitrate="736160" width="640" height="272" title="SD" />
      <textstream src="captions.srt" system-language="eng">
        <param name="isWowzaCaptionStream" value="true" />
      </textstream>
    </switch>
  </body>
</smil>

```

I’ve configured the TimedText section of my conf/vods3cf/Application.xml as follows:

```auto
                <TimedText>
                        <!-- VOD caption providers (separate with commas): vodcaptionprovidermp4_3gpp, vodcaptionproviderttml, vodcaptionproviderwebvtt, vodcaptionprovidersrt, vodcaptionproviderscc -->
                        <VODTimedTextProviders>vodcaptionprovidermp4_3gpp, vodcaptionproviderttml, vodcaptionproviderwebvtt, vodcaptionprovidersrt, vodcaptionproviderscc</VODTimedTextProviders>
                        <!-- Properties for TimedText -->
                        <Properties>
                                <Property>
                                        <Name>cupertinoVODCaptionsEnabled</Name>
                                        <Type>Boolean</Type>
                                        <Value>true</Value>
                                </Property>
                                <Property>
                                        <Name>cupertinoVODCaptionsUseWebVTT</Name>
                                        <Type>Boolean</Type>
                                        <Value>true</Value>
                                </Property>
                        </Properties>
                </TimedText>

```

The video plays using HTML5 Video tag on OSX/Safari, and the caption button appears with “English” as an option, but the captions themselves do not appear in the video. The only errors I see in the access and error logs have to do with failure to load srt files associated with the video files, not the srt file called out in the SMIL:

```auto
MediaCacheItemBase.init: Item does not exist: amazons3/myassetsbucket/files/8f45781ef8f740e4b1f58fae01e1b30b/video-sd.srt

```

Is it possible to load caption files this way when using HLS over the vods3cf application?

---

<div class="post-metadata">

### Author: ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)
#### Post date: [December 14, 2015, 9:57am UTC](https://community.wowza.com/t/empty-captions-when-loading-smil-from-s3/46338/2 "2015-12-14T09:57:19Z")

</div>

Hello there and welcome to the wowza support forum.

I think the quickest way to troubleshoot this is, if you have not done so already, to open a ticket with support.

Please zip a copy of your /conf and /logs folders and send them to support@wowza.com to raise a ticket.

Regards,

Salvadore

---

<div class="post-metadata">

### Author: ![Samuel\_ZASLAVSKY](https://avatars.discourse-cdn.com/v4/letter/s/b782af/32.png) [@Samuel\_ZASLAVSKY](https://community.wowza.com/u/Samuel_ZASLAVSKY)
#### Post date: [November 20, 2017, 2:27am UTC](https://community.wowza.com/t/empty-captions-when-loading-smil-from-s3/46338/3 "2017-11-20T02:27:25Z")

</div>

Hello there!

I have exactly the same problem.

HLS+SMIL+Caption work well when in the Wowza content folder, but not if I use S3 as a source.

Did you find any solution for this problem?

Thank you very much!

Best regards,

Sam
