How to change Encoding Closed captions

How to display a unicode text on closed caption?

My srt file like:

1

00:00:00.599 → 00:00:04.160

Diễn viên chính

it display on player : Diá»…n viên chÃ*nh

How to fix it?, my srt file encoding utf8

You will need to use the method

charToByte(String text, int pos, String characterSet, int channel)

This is used to convert characters to closed captioning character codes. It’s this method that must be extended to add support for additional character sets.

Have a look in the README.html file of the PublishOnTextData module to see how to implement this method. There is a section at the bottom called “Notes” where this info is located.

Salvadore

Take a look at the language selection section of this guide. Try setting the “cupertinoDebugVODCaptionLanguageSelection” Property to see if that adds any useful debug info to the access log.

Richard

Actually, my suggestion is probably not relevant. Can you open a ticket by writing to support@wowza.com so we can take a closer look, to see if this is a JW Player problem or a Wowza problem. If it is the player we can help get that to them.

Please zip up your /conf folder, and recent access logs to send to Wowza support, and include a link to this thread for reference.

Richard

I don’t think there is a way to do that. If you convert to ID3 tags and encrypt the stream (with AES encryption for example) the captions will also be encrypted, but using this “side-car” method I don’t think there is a way to encrypt or hide the captions. And I’m not sure if JW Player desktop HLS feature supports ID3 tags at present.

Richard

Hi,

The iOS player using CEA-608 only supports English, Dutch, Spanish, Italian French and German.

You can use webVTT for HLS, which has wider language support.

The Closed Captioning articles explain how to turn on webVTT captions both for vod and live.

Both VOD and Live WebVTT workflows are covered in this article.

Daren

I have looked into this further and my initial information seems to be out of date, so please disregard my first post.

What player are you using and what language configuration do you have set up for closed captioning?

Salvadore

Thanks for reply. Sorry, I have some problem with my work last year, Now, I come back, I have still fixed this problem.

I 've setup PublishOnTextData module but it 's still not working.

I am using wowza server streaming for Flash (jwplayer6), Android and IOS. All of them are being used hls streaming.

If I am using rtmp, the caption will display correctly “Diễn viên chính” with jwplayer6 , but with hls I got fail “Diá»…n viên chÃ*nh” :frowning:

Sorry, I have some problems last year. Now, I come back. My problem have not fixed

I using hls streaming VOD mp4 files for IOS, Android and jwplayer6.

this problem occurs in hls but working fine with rtmp in jwplayer6

I need close caption for jwplayer 6. rtmp protocol is woking well, but not in hls.

I resolved this problem by convert all characters to html codes (examples: À Á …) it work fine

Now, I need to enscrypt *.srt files, protected another person can not download .srt files from my streaming (commonly, I can download http://127.0.0.1:1935/vod/sample.srt). How to do?

I need captions for jwplayer 6

I resolved it by convert all characters to html codes (examples: À , Á …) it’s working

Now, I need encrypt my captions file, how to do?

(Commonly, we can download *.srt files easy,

example: streaming: http://127.0.0.1/vod/mp4:sample.mp4/playlist.m3u8

-> download from url: http://127.0.0.1/vod/sample.srt.

I need protect them, how to do?)

I need captions for jwplayer 6

I resolved it by convert all characters to html codes (examples: À , Á …) it’s working

Now, I need encrypt my captions file, how to do?

(Commonly, we can download *.srt files easy,

example: streaming: http://127.0.0.1/vod/mp4:sample.mp4/playlist.m3u8

-> download from url: http://127.0.0.1/vod/sample.srt.

I need protect them, how to do?)