Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPhone: Display a semi-transparent video on top of a UIView?

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.

like image 594
nosuic Avatar asked Nov 06 '22 03:11

nosuic


1 Answers

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 :)

like image 72
Max Avatar answered Nov 14 '22 22:11

Max