Log in or register to post comments

Video playback issues on Sony Xperia

April 18, 2013 - 12:33am #1

Vuforia SDK Version: 2.0.31 -

Description with steps to reproduce:

I have two issues with Vuforia video playback on my Japanese Sony Xperia acro HD IS12S running Android 4.0.4.

1. Camera view does not display and AR functionality does not work. It just stays black after Vuforia finishes initializing and starting up.

2. After doing a hack workaround for 1, keyframes display correctly but when video playback starts the video content is rendered correctly (plays on top of the target in its correct position) but the surrounding area which would normally be the rest of the camera view go black. The camera view reappears when the video is paused.

 

With regards to 1., I read this thread and was able to get around temporarily it by:

1. Disabling the internet connection

2. Clearing the app's cache and data and restarting the app into AR video playback mode

3. But once the internet connection is reestablished it seems flaky as to whether it will go back into AR mode or just stay black

 

As it stands my app will be moreorless useless for the many Japanese who have Sony Xperias so I think this is a potentially big issue. From my other OpenGL ES/GLSL testing on Xperia's it seems Sony/the Japanese telcos have modified the heck out of the standard Android OS and camera code so they've probably introduced a bunch of compatibility issues.

 

Further information:

Android OS: 4.0.4

Device: Sony Ericsson Xperia acro HD IS12S.

Telco: KDDI (au)

Build version: 6.1.D.1.91 (according to the thread above for issue #1, that issue was solved on Vuforia 2.0.30 with build 6.1.A.2.50 but my issue seems to say otherwise ... I'm assuming 6.1.D.1.91 is a newer build than 6.1.A.2.50).

App: customized app based on the original VideoPlayback sample app.

The same app runs fine on my Galaxy S3 with Android 4.1.1.

 

-

Development OS (Mac OS X, Windows, Linux): Windows -

Mobile OS and Version: Android 4.0.4 -

Mobile Device Manufacturer and Model name: Sony Xperia IS12S -

Do the Vuforia Sample Applications show the same behavior?: Have only ran my customized app.

Video playback issues on Sony Xperia

December 4, 2013 - 7:31am #18

Actually that might be an opengl problem, I noticed that on some devices including a few Xperia models, do not have GL_OES_texture_npot extensions and therefore any texture which do not have at least one side in power of two size will show black.

Video playback issues on Sony Xperia

December 2, 2013 - 6:31am #17

Have you observed the issue on any other device ? or just the Xperia ?

could you PM me your image, so that i can try to reproduce ?

Video playback issues on Sony Xperia

December 2, 2013 - 6:27am #16

The image is 5 star rated

Yes i uninstalled the app and reinstalled and nothing changed.

I changed for a custom video, custom keyframe and it works well on frame marker, but in image target only play sound.

 

 

Video playback issues on Sony Xperia

December 2, 2013 - 5:17am #15

Hi sirius779,

I've just tried replacing one of the targets in the sample (and still using the sample videos, like you did), but I don't see the issue; the video plays nicely, same as it would on Chips or Stones target.

How many stars (star rating) does your target have ?

Have you tried unisntalling the App from your device and then reinstalling it with the custom target ?

 

Video playback issues on Sony Xperia

December 2, 2013 - 4:49am #14
 
vuforia SDK 2.6.7 unity extension
Unity 4.2.2
Description: I Have no isues runnig the video playback sample, but when i run the sample with a custom image target when the video playback starts the video content go black and only play sound.im using the same video files only replaced my image target.
Device: xperia tipo
Android: 4.0.4

Also when i use a frame marker work fine only have the isue when i play on a custom image target.

Video playback issues on Sony Xperia

April 24, 2013 - 1:03am #13

Glad to help!

Video playback issues on Sony Xperia

April 24, 2013 - 1:01am #12

Hi,

 

Sorry about that! It's all fixed! :)

 

I just uninstalled and tried again with the network on and it works perfectly. 

 

Thank you to you and the engineers who looked into this.

 

Cheers,

Simon.

Video playback issues on Sony Xperia

April 24, 2013 - 12:01am #11

Yes, but here I was asking to try again because yesterday we made update to the online profile for your device, so I was wondering if you could try again now.

 

Video playback issues on Sony Xperia

April 23, 2013 - 8:22pm #10

I've already tried that numerous times and it doesn't fix the issue. The one time it did work was when the activity was left running between the transition from network off->on state. As soon as the main activity that initializes QCAR was restarted (and the network was on, cache/data freshly cleared) it stuck at the black screen.

Video playback issues on Sony Xperia

April 23, 2013 - 9:29am #9

Hi info_1,

could you test again (clear cache, or even better, uninstall the App) network off, then re-enable network and see if it makes any difference...

 

Video playback issues on Sony Xperia

April 19, 2013 - 7:58am #8

By the way if your team wants to send me a pre-release SDK to test I'm willing to do so. You might not be able to reproduce it on the phones available in Europe...

Video playback issues on Sony Xperia

April 19, 2013 - 7:56am #7

I just tested ImageTargets on the same phone, and same issue.

Network off & clear cache/data = it starts, otherwise stuck at black screen.

 

Here's the LogCat log from when it gets stuck at the black screen. Looks like CAM is timing out... this could be an Xperia issue.

 

Video playback issues on Sony Xperia

April 19, 2013 - 7:34am #6

Hi, one more thing:

do you see the problem only with the VP sample ?

have youn tried with the ImageTargets as well ? just for confirmation..

 

Video playback issues on Sony Xperia

April 18, 2013 - 1:29am #5

I ran the phone's update checker (I think this contacts KDDI/au's servers) and it said it was the latest. I haven't checked with Sony though. I want to keep this build number in case a Vuforia fix can be released so I can test it.

Video playback issues on Sony Xperia

April 18, 2013 - 1:09am #4

I just saw your already specify the Build number.

I have brought the issue to our team for investigation.

Video playback issues on Sony Xperia

April 18, 2013 - 1:07am #3

Hi info_1,

so, issue #2 is Ok, but you still see issue #1, right ?

Have you updated the Android 4.0.4 version to the latest build ?

 

Video playback issues on Sony Xperia

April 18, 2013 - 1:01am #2

Typically I find the problem just after posting... Issue #2 was because I was missing the following cleanup code after the renderFrame function code that renders the video content during playback:

 

 

glDepthFunc(GL_LESS);
glDisable(GL_BLEND);
 
I just inserted those 2 lines after glUseProgram(0);

 

Log in or register to post comments