[vlc-devel] Severe A/V asynchronous with hardware acceleration on android

Jean-Baptiste Kempf jb at videolan.org
Fri May 4 11:16:31 CEST 2012


On Fri, May 04, 2012 at 04:08:52PM +0800, ScottLin wrote :
> I built the latest VLC for android with NO_NEON and TEGRA2 flags.

Tegra2 is crap :)

>   1. Both of the them show the message constantly.
>       W/libOpenSLES(1339): Leaving BufferQueue::Enqueue
> (SL_RESULT_BUFFER_INSUFFICIENT)
>       E/VLC(1339): buffer insufficient

Yes the OpenSL ES output has issue. We are trying a new approach based on AudioTrack.

>    2. In the log for SD file, I notice the omx video decoder is not used.

This is why:
05-04 15:15:38.650: D/VLC(1339): component standard role set to video_decoder.avc
05-04 15:15:38.660: D/NvOsDebugPrintf(112): Unable to find block: 116
05-04 15:15:38.660: D/NvOsDebugPrintf(112): NvxVideoDecoderAcquireResources : NvxNvMMLiteTransformOpen failed
05-04 15:15:38.660: D/VLC(1339): OmxEventHandler (OMX_EventError, OMX_ErrorInsufficientResources, 2, (null))
05-04 15:15:38.660: I/ActivityManager(191): Displayed org.videolan.vlc/.gui.video.VideoPlayerActivity: +221ms
05-04 15:15:38.670: I/TextType(483): TextType = 0x0
05-04 15:15:38.680: D/OpenGLRenderer(1339): Flushing caches (mode 0)
05-04 15:15:39.660: D/VLC(1339): Wait for Idle failed (80001011)
05-04 15:15:39.660: E/OMXNodeInstance(112): FreeHandle FAILED with error 0x80001010.

>    3. Both of them use SW audio decoder(FFMPEG). Is it right?

See above.

> Questions:
> 1. Where should I follow the resolve the issue? My goal is to play Full-HD
> file smoothly using VLC.

Try using the AudioTrack audio output.
Try fixing the OMX module in the nvidia case.

> 2. What is the plan for VLC to support hardware acceleration for android
> devices?
>     What devices are supported now?

Mostly TI, Samsung and QCOm devices. nVidia is untested.

Best regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list