ios - 在 iOS 中播放带有 Alpha channel 的视频?

标签 ios video alpha playback

是否可以在您的 iPhone 应用程序中播放带有 Alpha channel 的视频?

我正在考虑带有 subview (电影 View )的 UIView 并在该 View 中播放带有 alpha channel 的电影..

这可能吗?

最佳答案

看看应用商店中的“APNG”应用。这个应用程序是一个免费演示,展示了如何使用 .apng 文件格式在 iOS 应用程序中实现带有 alpha channel 的动画。也可以看看h.264 with an alpha channel有关如何使用一对 h.264 视频来实现具有 Alpha channel 的视频的详细说明。

APNG app

关于ios - 在 iOS 中播放带有 Alpha channel 的视频?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5895213/

相关文章:

objective-c - 使用 SUP 调动 SAP

ios - 使用 setContainerView 时不显示 SVProgressHUD

Java Graphics2D - 绘制具有渐变不透明度的图像

image - 确定图像是否具有 alpha channel 的最佳方法是什么?

video - FFMPEG 将 RGBA 图像序列拆分为 rgb.mp4 和 alpha.mp4

ios - MapKit 的点击手势

ios - 我如何在 objective-c 的AVPlayerLayer中获得AVPlayer y位置,高度,宽度

iOS 8 键盘扩展 : How to copy/paste an audio or video clip into messages?

ios - 使用 Swift 从库中获取所选视频的当前时间

ios - 在 UIView 中自动播放本地视频