开发者

Play video with alpha channel in iOS?

开发者 https://www.devze.com 2023-03-03 16:24 出处:网络
Is it possible to play a video with alpha channel in you iPhone app? I\'m thinking UIView with a subview (the movie view) and play a movie with alpha channel in that v开发者_如何学Pythoniew..

Is it possible to play a video with alpha channel in you iPhone app?

I'm thinking UIView with a subview (the movie view) and play a movie with alpha channel in that v开发者_如何学Pythoniew..

Is this possible?


Take a peek at the "APNG" app on the app store. This app is a free demo that shows how animations with an alpha channel can be implemented in an iOS app using the .apng file format. One can also take a peek at h.264 with an alpha channel for a detailed description about how a pair of h.264 videos can be used to implement a video with an alpha channel.

APNG app


It looks like there's no way to do this with iOS provided solutions. But according to this answer to a similar question you might succeed with ffmpeg. The problem with ffmpeg is that GPL/LGPL are incompatible with Apple's terms so you can't use it in an app for the App Store.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号