Topic locked

Video Playback Streaming Render To Texture

October 13, 2014 - 12:04am #1


I would like to have some video streamed and played on top of a recognized image, not in full screen. The vuforia samples as of this date do not seem to indicate that something like this is possible, or at least, they haven't created a sample with that.

I found this link,

but it seems a little bit outdated, as many files are missing. 

Therefore, here are my questions:

-- Is there any simple way of making this work?

-- If not, Has anyone tried using "AVPlayerItemVideoOutput" in order to have the AVPlayer stream the video, grab the OpenGL data from it and render it on a vuforia - provided texture? Would something like this work?


I would appreciate any thoughts on the matter.

Video Playback Streaming Render To Texture

March 16, 2015 - 4:58am #4

Great, thanks for sharing the nice tutorial.

Video Playback Streaming Render To Texture

March 14, 2015 - 10:45am #3

A lot of time has passed since this post, and I was finally able to figure out a scalable solution, that is not a hack, and works with Vuforia SDK 3 and 4. All links and resources that I found were misleading. It's not that you cannot do it using iOS, it's that Vuforia's samples are not supporting it (as it is not a part of the core library).

However, it is very possible to do it, After reading a lot about OpenGL and video support on iOS I have written a tutorial here (includes source code), which modifies Vuforia's example in order to render OpenGL data acquired from the network.

I am already using it into applications released to the App Store.

I am sharing these information, because I am very sure that it will help a lot of people.

Video Playback Streaming Render To Texture

October 23, 2014 - 7:08am #2

I was hoping this would have changed by now. 

Is there any way of doing this manually, by acquiring the recognized item in world space and by applying our own texture to it? If that is possible, maybe we can do something with CALayer or OpenGL

Topic locked