Note that there are some explanatory texts on larger screens.

plurals
  1. POiOS: Video as GL texture with alpha transparency
    primarykey
    data
    text
    <p>I'm trying to figure out the best approach to display a video on a GL texture while preserving the transparency of the alpha channel. </p> <p>Information about video as GL texture is here: <a href="https://stackoverflow.com/questions/4237538/is-it-possible-using-video-as-texture-for-gl-in-ios">Is it possible using video as texture for GL in iOS?</a> and <a href="https://stackoverflow.com/questions/5621627/ios4-how-do-i-use-video-file-as-an-opengl-texture">iOS4: how do I use video file as an OpenGL texture?</a>. </p> <p>Using ffmpeg to help with alpha transparency, but not app store friendly is here: <a href="https://stackoverflow.com/questions/4796626/iphone-display-a-semi-transparent-video-on-top-of-a-uiview/4796877#4796877">iPhone: Display a semi-transparent video on top of a UIView?</a></p> <p>The video source would be filmed in front of a green screen for chroma keying. The video could be untouched to leave the green screen or processed in a video editing suite and exported to Quicktime Animation or Apple Pro Res 4444 with Alpha.</p> <p>There are multiple approaches that I think could potentially work, but I haven't found a full solution.</p> <ol> <li>Realtime threshold processing of the video looking for green to remove</li> <li>Figure out how to use the above mentioned Quicktime codecs to preserve the alpha channel</li> <li>Blending two videos together: 1) Main video with RGB 2) separate video with alpha mask</li> </ol> <p>I would love to get your thoughts on the best approach for iOS and OpenGL ES 2.0</p> <p>Thanks.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload