1

我想访问隐藏式字幕数据,以便我可以使用字幕数据来控制我的 iOS 应用程序中的项目。

如果我们从编码器中注入字幕数据,有没有办法让我们的 MPMoviePlayerController 播放器踢出字幕对象,以便我们可以读取它们并在解析它们后执行操作?

谢谢!

4

2 回答 2

0

There is no way to accomplish this with the MPMoviePlayerController, but it can be done with the AVPlayer.

see

AVPlayer.closedCaptionDisplayEnabled
于 2013-07-15T20:50:31.947 回答
-1

直接来自苹果:“目前没有办法做到这一点。”

因此,您无法从该播放器或 AVplayer 中获取字幕或字幕。

于 2012-10-23T21:30:49.400 回答