objective c - With iOS 8.x, Characters are broken in WebVTT for subtitle -
Extras : It seems that working on other basic applications only works on a web browser Break (i.e. Chrome, Mobile Safari)
Using HLS (= .m3u8) to provide adaptive streaming and considering using webvtt for subtitles. But I got some characters besides English, IOS 8.x devices were broken when I played them on Mobile Safari. It works well on the iOS 7 device.
Here is an official sample video hosted by Apple (.m3u8) web page:
If you load it on both iOS 7.x and iOS 8.x devices , Select Japanese subtitles, then it will display broken characters on iOS 8.x (OK, 7.x and below):
To avoid any idea? I tested it on iOS simulator (7.1, 8.1, 8.2 beta 4) and iOS device (8.0.2, 8.1.2).
I posted it and still there has been conflict with this issue, so no answer has given. However, I give you my 4-month solution and general knowledge here:
-
There are two environments for the native iOS video playback feature:
HTML5 video < / Strong> & amp; Local App Playback SDK (such as App Player) -
You can provide Multiple subtitles feature using WebTV. This is a only option, unless you have no third party renderers or something from your backyard.
-
If you want to implement your subtitle feature, then you have to start thinking about how to handle the controller UI of the video player. One example of this is, if you have your subtitles Can not use built-in full screen feature with renderer I think, applying subtitle renderer is not a bad idea if your subtitle-based WebVTT is not (or like .rt, which is similar to .vtt), then (In my case, I have applied a subtitle converter to create the VTT subtitle file, though)
-
Trivia of iOS HTML5 video:
- You can provide weblt files by embedding it in the HLS playlist and by adding an element to the element.
- > = IOS 8.0, if you provide weblt files by embedding them in HLS playlists, multi-bit characters will be broken. ( this is my problem, as described above )
- If you make the WebVTT files available by adding elements to the element, it only works everywhere (at least Low> = iOS 6.0. I did not check older versions)
- CSS styling works This means that you can colorize your subtitles.
-
Trivia of iOS HTML5 video:
- You must embed all the webvt in HVLs using the IOS underlying subtitles feature There is no other way to playlists.
- CSS styling does not work, no text color
- Multibate characters are not broken. Om Shanti Om.
& nbsp;
If you have fallen into this subtitle hell, then I would like to wish you a favor: (
Comments
Post a Comment