iPhone: Display a semi-transparent video on top of a UIView?
-
24-10-2019 - |
Question
is it possible to have semi-transparent video (created with blue-screen) playing on top of a UIView ? I was wondering that in case that's not doable with the MPMoviePlayerViewController it might be by using OpenGL ES and a video texture ?
Thank you in advance,
F.
Solution
It is possible using the ffmpeg library. Here is the link, where you can download a very good example link
Then you just have to set the alpha property to the UIImageView. But i'm not sure about performance, try :)
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow