Wowza Community

Wowza subtitle support

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

I found this thread regarding this in WMS 2 forums.

Is this support available with WMS 3?

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

Richard

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

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

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

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

Richard

The first tracks would be 0

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

Richard

The module collection is here:

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

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

Working on that right now.

Richard

It is updated now.

Richard

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

RTSP is not supported with this method:

Richard

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

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?

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?

Hi Richard,

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

thanks,

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,

I have already sent.

thanks,

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

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

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

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.

Anyone?