Media Texture on Mobile

I am trying to playback a 720p video on a iOS game with the Media Texture. When I test it on the device itself, the game crashes as soon as I look at the object with the media texture applied. Is media texture compatible with mobile?

It should be, but can you post a log of the crash from the device? We might be able to determine what is wrong from that.

-Pete

Ok, that looks like it is not copying the data in to the texture from the video. Can you pull the log from the game off the device? You can do that either via Xcode’s Devices window, or on PC by using IPhonePackager in GUI mode (just double click it) to back up the documents directory from the app. We might be able to see if it is just not finding the video on device and that might be the problem.

-Pete

Hi,

I had upgraded that project to 4.7 so I have tried it again in the new version. It doesn’t crash but I’ve got the following results:

  1. In the viewport the video plays as expected (screenshot 1)
  2. In the mobile preview I’ve got no video at all (screenshot 2)
  3. In the actual device I get no video but just a strange static frame, that does not exist in the video. (screenshot 3)

Any ideas?

I am not sure the attached link textlog will much of a help… I will try to recreate the problem on a simpler project and I will let you know…

Hi again,

I’ve created a very simple project and I was able to recreate the behaviour explained above… If you wish to have a look, you can download this project from: Dropbox - Error

I have been attempting to export to HTML5 and I have been running into a similar problem, but I did not get the strange still that t1319e** had been getting. I simply get a black texture. Could this possibly be a problem with media textures and OpenGLES 2 rendering?

Hi there, do we have any update on this issue?