# Wowza subtitle support

**URL:** <https://community.wowza.com/t/wowza-subtitle-support/37464>\
**Category:** Wowza Streaming Engine\
**Created:** [October 20, 2011, 11:18am UTC](https://community.wowza.com/t/wowza-subtitle-support/37464 "2011-10-20T11:18:38Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rahil\_Dhunna](https://avatars.discourse-cdn.com/v4/letter/r/ed655f/32.png) [@Rahil\_Dhunna](https://community.wowza.com/u/Rahil_Dhunna)\
**Post date:** [October 20, 2011, 11:18am UTC](https://community.wowza.com/t/wowza-subtitle-support/37464/1 "2011-10-20T11:18:38Z")

</div>

I was looking for using wowza to stream subtitles to iphone native media player.

I found this thread regarding this in WMS 2 forums.

> [@mp4 subtitles on iphone and ipad are not playing](http://community.wowza.com/t/-/34740):
>
> Hi, I am trying to play mp4 files with subtitles using the wowza media server. The subtiltles located in the mp4 file as a seperated trak. I did it using Subler [http://code.google.com/p/subler/](http://code.google.com/p/subler/) When I play the mp4 file from the memory of the ipad I can see the subtitles, but when I play it from the Wowza the subtitles does not shown at all. What should I do to play the subtitles using Wowza. Thanks, Gal Betser [CastUP.NET](http://CastUP.NET)

Is this support available with WMS 3?

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [October 20, 2011, 4:40pm UTC](https://community.wowza.com/t/wowza-subtitle-support/37464/2 "2011-10-20T16:40:02Z")

</div>

This is supported in 2.2.4.05 and Wowza 3x:

[https://www.wowza.com/docs/how-to-convert-ontextdata-events-in-a-live-or-vod-stream-to-timed-events-id3-tags-in-an-apple-hls-stream](https://www.wowza.com/docs/how-to-convert-ontextdata-events-in-a-live-or-vod-stream-to-timed-events-id3-tags-in-an-apple-hls-stream)

Richard

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [November 23, 2011, 5:32am UTC](https://community.wowza.com/t/wowza-subtitle-support/37464/3 "2011-11-23T05:32:58Z")

</div>

We have not dug into this on the player side. We have a method to show that the events are reaching the player using the method described in this article:

[https://www.wowza.com/docs/how-to-debug-timed-data-events-id3-tags-from-apple-hls-streams-in-ios-devices](https://www.wowza.com/docs/how-to-debug-timed-data-events-id3-tags-from-apple-hls-streams-in-ios-devices)

I do not believe there is a way in the player to show these events when streaming using Apple HLS. At this time it most likely requires that you write player side code to capture the events and display the subititles on the player.

Charlie

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [October 21, 2011, 1:48pm UTC](https://community.wowza.com/t/wowza-subtitle-support/37464/4 "2011-10-21T13:48:13Z")

</div>

It looks like you need to add querystring to play command:

```auto
netstream.play("mp4:sample.mp4?audioindex=1&videoindex=1&dataindex=1");

```

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [October 21, 2011, 2:03pm UTC](https://community.wowza.com/t/wowza-subtitle-support/37464/5 "2011-10-21T14:03:21Z")

</div>

The first tracks would be 0

```auto
netstream.play("mp4:sample.mp4?audioindex=0&videoindex=0&dataindex=0");

```

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [October 23, 2011, 1:07am UTC](https://community.wowza.com/t/wowza-subtitle-support/37464/6 "2011-10-23T01:07:29Z")

</div>

The module collection is here:

[https://www.wowza.com/docs/utility-modules-for-wowza-streaming-engine-media-server-software](https://www.wowza.com/docs/utility-modules-for-wowza-streaming-engine-media-server-software)

But that module is not included at present. It will be next week.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [October 24, 2011, 11:29pm UTC](https://community.wowza.com/t/wowza-subtitle-support/37464/7 "2011-10-24T23:29:44Z")

</div>

From what I understand (lacking experience), this requires an objective C iOS application on the iOS client-side to extract. There is not a javascript or “it just works” solution.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [November 4, 2011, 12:00pm UTC](https://community.wowza.com/t/wowza-subtitle-support/37464/8 "2011-11-04T12:00:07Z")

</div>

Working on that right now.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [November 4, 2011, 3:31pm UTC](https://community.wowza.com/t/wowza-subtitle-support/37464/9 "2011-11-04T15:31:33Z")

</div>

It is updated now.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [November 14, 2011, 6:23pm UTC](https://community.wowza.com/t/wowza-subtitle-support/37464/10 "2011-11-14T18:23:04Z")

</div>

Does it work with dataindex=0 ?

Or with dataindex removed?

Are you sure you have file with data tracks 0 and 1?

How are you handling the data events in Flash?

Can you you post that file on a web server and send link to download to support@wowza.com

Tell us name of events, and show us how you are handling in Flash.

Include a link to this thread for reference.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [November 16, 2011, 3:56pm UTC](https://community.wowza.com/t/wowza-subtitle-support/37464/11 "2011-11-16T15:56:16Z")

</div>

RTSP is not supported with this method:

Richard

---

<div class="post-metadata">

**Author:** ![Randall\_Auriemma](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@Randall\_Auriemma](https://community.wowza.com/u/Randall_Auriemma)\
**Post date:** [October 20, 2011, 5:16pm UTC](https://community.wowza.com/t/wowza-subtitle-support/37464/12 "2011-10-20T17:16:42Z")

</div>

T\_L\_D,

Also see this article for reading subtitle info from mp4 files with flash: [https://www.wowza.com/docs/how-to-select-audio-and-subtitle-tracks-from-a-video-on-demand-file](https://www.wowza.com/docs/how-to-select-audio-and-subtitle-tracks-from-a-video-on-demand-file)

---

<div class="post-metadata">

**Author:** ![Orhan\_Uyaver](https://avatars.discourse-cdn.com/v4/letter/o/a88e57/32.png) [@Orhan\_Uyaver](https://community.wowza.com/u/Orhan_Uyaver)\
**Post date:** [October 21, 2011, 2:08am UTC](https://community.wowza.com/t/wowza-subtitle-support/37464/13 "2011-10-21T02:08:46Z")

</div>

it is mentioned among new features and documentation. But there is not enough information.

does this feature come with-in standart libraries? or how can I get the lib file for this featuere

how should I build the URL?

---

<div class="post-metadata">

**Author:** ![Orhan\_Uyaver](https://avatars.discourse-cdn.com/v4/letter/o/a88e57/32.png) [@Orhan\_Uyaver](https://community.wowza.com/u/Orhan_Uyaver)\
**Post date:** [October 23, 2011, 12:13am UTC](https://community.wowza.com/t/wowza-subtitle-support/37464/14 "2011-10-23T00:13:07Z")

</div>

I am not experinced in plug-in development. As far as I Understand, this class will be in the new version of wms-plugin-collection.jar. How can obtain the new compiled version?

---

<div class="post-metadata">

**Author:** ![Orhan\_Uyaver](https://avatars.discourse-cdn.com/v4/letter/o/a88e57/32.png) [@Orhan\_Uyaver](https://community.wowza.com/u/Orhan_Uyaver)\
**Post date:** [November 4, 2011, 12:15pm UTC](https://community.wowza.com/t/wowza-subtitle-support/37464/15 "2011-11-04T12:15:47Z")

</div>

Hi Richard,

has the new version been released? or is there a planned time for the release?

thanks,

---

<div class="post-metadata">

**Author:** ![Orhan\_Uyaver](https://avatars.discourse-cdn.com/v4/letter/o/a88e57/32.png) [@Orhan\_Uyaver](https://community.wowza.com/u/Orhan_Uyaver)\
**Post date:** [November 12, 2011, 1:21pm UTC](https://community.wowza.com/t/wowza-subtitle-support/37464/16 "2011-11-12T13:21:52Z")

</div>

Hi Richard,

I have been trying new library but it didn’t work. event audio track selection does not work. Old version is working well. (can do audio track selection)

Do I need to add any node to config files or update something?

here is the URL format that I tried; rtsp://127.0.0.1/vod/1au000006\_6\_tr\_en.m4v?audioIndex=1&videoindex=1&dataindex=1

thanks,

---

<div class="post-metadata">

**Author:** ![Orhan\_Uyaver](https://avatars.discourse-cdn.com/v4/letter/o/a88e57/32.png) [@Orhan\_Uyaver](https://community.wowza.com/u/Orhan_Uyaver)\
**Post date:** [November 15, 2011, 1:28pm UTC](https://community.wowza.com/t/wowza-subtitle-support/37464/17 "2011-11-15T13:28:05Z")

</div>

I have already sent.

thanks,

---

<div class="post-metadata">

**Author:** ![Rahil\_Dhunna](https://avatars.discourse-cdn.com/v4/letter/r/ed655f/32.png) [@Rahil\_Dhunna](https://community.wowza.com/u/Rahil_Dhunna)\
**Post date:** [October 24, 2011, 5:11pm UTC](https://community.wowza.com/t/wowza-subtitle-support/37464/18 "2011-10-24T17:11:27Z")

</div>

> This is supported in 2.2.4.05 and Wowza 3x:
> 
> [Convert AMF timed metadata to ID3 tags](https://www.wowza.com/docs/how-to-convert-ontextdata-events-in-a-live-or-vod-stream-to-timed-events-id3-tags-in-an-apple-hls-stream)
> 
> Richard

Thanks Richard

As I am new to Wowza it took me some time to setup and test this

Although ID3 tags work fine; I was looking for something that native IOS player supports. ID3 tags by themselves are not shown in video played by native IOS player on iphone, I am assuming this solution requires an app or javascript to show subtitles. Please correct me if I am wrong here.

I have a mp4 file with subtitle tracks, and an ios-stream.smil file.

Is there is a way to specify subtitle codec in the smil file so that subtitles are read and transported automatically, Quicktime on mac and native player on IOS displays subtitles in the file correctly.

(file was added using iTunes to iPhone and then played).

metadata information of mp4 file

* * *

Stream #0.0(eng): Audio: aac, 32000 Hz, mono, s16, 1 kb/s

Metadata:

creation\_time : 2011-10-20 06:30:53

Stream #0.1(eng): Video: h264, yuv420p, 480x274 [PAR 1:1 DAR 240:137], 429 kb/s, 15.75 fps, 90k tbr, 90k tbn, 180k tbc

Metadata:

creation\_time : 2011-10-20 06:30:53

Stream #0.2(eng): Subtitle: tx3g / 0x67337874, 0 kb/s

Metadata:

creation\_time : 2011-10-20 06:30:58

---

<div class="post-metadata">

**Author:** ![Wiaam\_Sliman](https://avatars.discourse-cdn.com/v4/letter/w/7ba0ec/32.png) [@Wiaam\_Sliman](https://community.wowza.com/u/Wiaam_Sliman)\
**Post date:** [November 20, 2011, 3:56pm UTC](https://community.wowza.com/t/wowza-subtitle-support/37464/19 "2011-11-20T15:56:50Z")

</div>

> This is supported in 2.2.4.05 and Wowza 3x:
> 
> [Convert AMF timed metadata to ID3 tags](https://www.wowza.com/docs/how-to-convert-ontextdata-events-in-a-live-or-vod-stream-to-timed-events-id3-tags-in-an-apple-hls-stream)
> 
> Richard

Hi,

How can I use this to show subtitles on a VoD stream (via HLS)?

- I have an .mp4 file with a subtitle track - Which can be viewed on PC with a media player like VLC with no problem.

- STB which streams the .mp4 file.

- iPad 2 which is also used to stream the .mp4 file.

The objective is to show the subtitles while streaming the .mp4 files.

Can this do the job? If so, how? If not, what would?

Thanks,

Wiaam.

---

<div class="post-metadata">

**Author:** ![Wiaam\_Sliman](https://avatars.discourse-cdn.com/v4/letter/w/7ba0ec/32.png) [@Wiaam\_Sliman](https://community.wowza.com/u/Wiaam_Sliman)\
**Post date:** [November 23, 2011, 11:24am UTC](https://community.wowza.com/t/wowza-subtitle-support/37464/20 "2011-11-23T11:24:59Z")

</div>

Anyone?
