自定义 Quicktime iPhone
Did anyone tried to customize the window in which the quicktime is playing video?
If so, can you give me a hint hoe to start implementing something like this.
Thank you indeed.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这款手机没有 Quicktime,至少没有传统意义上的 Quicktime。视频播放由系统 SoC 上的专用解码器处理。您无法以任何重要的方式自定义电影播放器,因为这样做可能会导致它脱离硬件解码路径,而且苹果完全有可能在设备上没有软件解码器。
因此,换句话说,您只能使用 MPMoviePlayerController。如果您需要更多自定义功能,您应该向 Apple 提交 bug 请求该功能并解释为什么需要它,但是我怀疑这是硬件限制。
在有人提到他们看到视频以非全屏方式播放之前,这需要在您的应用程序中包含您自己的视频软件解码器,虽然您可以做到这一点,但它非常复杂,并且没有硬件加速,这意味着您无法播放复杂的视频,需要更多的电量。
The phone doesn't have Quicktime, at least not in the traditional sense. Video playback is handled by a dedicated decoder on the system SoC. You cannot customize the movie player in any significant way, since doing so might cause it to fall off the hardware decode path, and it is entirely possible Apple doesn't even have a software decoder on the device.
So, in other words, you are limited to the options presented by MPMoviePlayerController. If you need more customization you should file a bug with Apple requesting the ability and explaining why you need it, but I suspect this is a hardware limitation.
And before anyone mentions they have seen video playing non-full screen, that requires including your own software decoder for the video in your app, and while you can do that it is very complicated, and gets no hardware acceleration which means you cannot play as complicated video and it takes more power.