By anandbhatt
on Fri, 05/24/2013 - 04:12
I have used VideoPlayback sample code provide by vuforia for android. There are two videos in this sample. 1st one played well, but 2nd one is not played. It will give me "Error while Opening file. Unloading the media player ". I have tested sample code in HTC Desired V, which has 4.0.3 .
I have search a lot. One place i found that if i load video when target found and unload it if not found then problem will be solved. but i am not getting where to change in given code.
Please give me soultion.
Vuforia Android VideoPlayback Sample code
Hi, it sounds very much like a limitation of the device, a similar issue is discussed here:
Vuforia Android VideoPlayback Sample code
I have solve the problem while load video on target found and unload it when not found. But after playing some video application gives me "freeAllBuffersLocked called but mQueue is not empty" and "Surface.finalize() has work.
Vuforia Android VideoPlayback Sample code
I'm testing the VedioPlayBack sample code with Samsung galaxy ACE device. The android version of the galaxy ace is 2.3.6. When i play the video, it's coming to full screen mode. When I moving the target image the the video is not moving with the image and remaining full screen.
Vuforia Android VideoPlayback Sample code
Hi, the video on texture (i.e. rendered on the target) is only supported on Android 4.0 and above,
so it is normal and expected that on 2.3 it only runs in fullscreen mode.
Please check this FAQ:
Vuforia Android VideoPlayback Sample code
By modifying the sample code can we resolve this problem...?
If there is other solution please suggest me
Thank you
Vuforia Android VideoPlayback Sample code
Hi, I'm not aware of other solutions.
The reason why it is only supported on 4.0 and above, is because the sample relies on the Android Media Player and some advanced OpenGL extensions that allow transferring efficiently the video content to an OpenGL texture.
Vuforia Android VideoPlayback Sample code
Thank for the information...
Vuforia Android VideoPlayback Sample code
Hello AL,
I am getting some error when running the video playback demo. My device is Sony Xperia Go running on Android 4.1.2
The log is attached below.
Thanks,
BP
---