自定义 Quicktime iPhone

发布于 2024-08-09 09:17:39 字数 284 浏览 6 评论 0原文

有人尝试过自定义 QuickTime 播放视频的窗口吗?

如果是这样,你能给我一个提示,让我开始实施这样的事情吗?

确实谢谢你。

更新: 一些应用程序已经实现了它。在这里查看。

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.

UPDATE: Some apps have implemented it. See it here.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

半暖夏伤 2024-08-16 09:17:39

这款手机没有 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文