user688291
user688291

Reputation: 93

Play video with alpha channel in iOS?

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 view..

Is this possible?

Upvotes: 1

Views: 6496

Answers (2)

MoDJ
MoDJ

Reputation: 4425

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

Upvotes: 3

DarkDust
DarkDust

Reputation: 92336

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.

Upvotes: 2

Related Questions