Log in or register to post comments

Video Playback - Auto Loading of Videos into Memory!!!

September 10, 2012 - 7:59am #1

Hi,

So, we are using this plugin to play multiple videos on ImageTargets.

The sample works great, plays both videos fine.

However, when you decide to use more than say 5 videos, at about 6mb each, the Plugin just falls over. As far as I can tell (from the Debugging Logs and looking through the scripts logic) the Plugin tries to load each video into memory when the app starts (or if you enable the triggers at a future point in time). This causes big issues, as the device is unable to load, say, 18 videos into memory!

Its a great solution, but this seems to be a big oversight, and would be handy if the developers could re-write the scripts so that the videos are only loaded when required, and unloaded when not required any more.

I would be happy with a slight delay when the ImageTarget is found, whilst the application loads the video, so that I can have more than 5 videos in the app!

I am attempting to re-write some of the code to get this working, but its taking some time. Any pointers would be of a great help.

Adam

Video Playback - Auto Loading of Videos into Memory!!!

December 22, 2014 - 1:34am #4

I need the solution as to how did you fix this particular problem. Thanks in advance

Video Playback - Auto Loading of Videos into Memory!!!

September 11, 2012 - 11:26am #3

This issue was addressed in a previous thread:

https://ar.qualcomm.at/content/video-texture-fullscreen-broken.

Vince

Video Playback - Auto Loading of Videos into Memory!!!

September 11, 2012 - 8:59am #2

Although there have been no replies... In case anyone is interested I have managed to fix this issue, and will aim to post up how I have done this soon. Its a much better approach to how Qualcomm originally implemented this, as have more than a few videos inside of the app would cause the rest to fail!

In simple terms, the video is loaded and unloaded when the triggers are found (its a second or 2 at most to load), which allows as many to be in the app as you like!

Log in or register to post comments