Hi,
The VideoPlayback-2-5-5 sample code is not working with my android device. It shows an error icon on top of the texture when the camera is targeted target image.
But when I download sample APK from vuforia site.It is working properly without error icon. My device is supporting for video play on texture(vedio play on 3D space.)
The error log cat is showing
07-15 19:01:03.322: V/MediaPlayer(18679): setListener07-15 19:01:03.322: V/MediaPlayer(18679): setDataSource(55, 10506567, 10511615)07-15 19:01:03.392: E/BufferQueue(18679): [unnamed-18679-2] dequeueBuffer: SurfaceComposer::createGraphicBuffer failed07-15 19:01:03.412: V/MediaPlayer(18679): setVideoSurfaceTexture07-15 19:01:03.412: V/MediaPlayer(18679): prepareAsync07-15 19:01:03.412: V/MediaPlayer(18679): MediaPlayer::setAudioStreamType07-15 19:01:03.412: V/MediaPlayer(18679): message received msg=100, ext1=1, ext2=-1207-15 19:01:03.412: E/MediaPlayer(18679): error (1, -12)07-15 19:01:03.412: V/MediaPlayer(18679): callback application07-15 19:01:03.412: V/MediaPlayer(18679): setVideoSurfaceTexture07-15 19:01:03.412: V/MediaPlayer(18679): back from callback07-15 19:01:03.422: E/MediaPlayer(18679): Error (1,-12)07-15 19:01:03.422: E/QCAR(18679): Error while opening the file. Unloading the media player (Unspecified media player error, -12)07-15 19:01:03.422: I/QCAR(18679): Java_com_qualcomm_QCARSamples_VideoPlayback_VideoPlaybackRenderer_updateRendering07-15 19:01:03.422: I/QCAR(18679): Configure Video Background : Video (640,480), Screen (800,480), mSize (800,600)07-15 19:01:03.422: V/MediaPlayer(18679): stop07-15 19:01:03.422: E/MediaPlayer(18679): stop called in state 007-15 19:01:03.422: V/MediaPlayer(18679): message received msg=100, ext1=-38, ext2=007-15 19:01:03.422: E/MediaPlayer(18679): error (-38, 0)07-15 19:01:03.422: V/MediaPlayer(18679): callback application07-15 19:01:03.422: V/MediaPlayer(18679): back from callback07-15 19:01:03.422: V/MediaPlayer(18679): setListener07-15 19:01:03.422: V/MediaPlayer(18679): disconnect07-15 19:01:03.432: V/MediaPlayer(18679): destructor07-15 19:01:03.432: V/MediaPlayer(18679): disconnect07-15 19:01:03.432: W/MediaPlayer(18679): mediaplayer went away with unhandled events07-15 19:01:03.512: E/BufferQueue(18679): [unnamed-18679-3] dequeueBuffer: SurfaceComposer::createGraphicBuffer failed
please provide me solution to fix this..
Thanks.
The VideoPlayback-2-5-5.zip sample code is not working
Hi, have you rebuilt the sample in Eclipse ? did you also build the native code using ndk-build ?
The VideoPlayback-2-5-5.zip sample code is not working
It appears that the video file isn't being found. Are you testing the samples videos or your own? - check that they are where they should be in the project.
The VideoPlayback-2-5-5.zip sample code is not working
Hi ,
Thanks for the replay...
Yes,The building setup is ok..just i did a modification to the native source code and tested it.
I'm testing smaple application as it is...video files are sample videos..
The VideoPlayback-2-5-5.zip sample code is not working
Hi AlessandroB/DavidBeard,
The VideoPlayback-2-5-5.zip sample code is not working
Hi, if you get the error the second time, but not the first,, this probably means that the video has not being unloaded from memory.
You need to make sure the video is properly unloaded from the Media Player. See also the unload() method in VideoPlayerHelper
The VideoPlayback-2-5-5.zip sample code is not working
Hi AlessandroB,
Problem is solved, Thank you for your help.
Best regards,
Nishantha Priyathilaka
The VideoPlayback-2-5-5.zip sample code is not working
Glad to hear it is solved.