AnsweredAssumed Answered

Can't play video on android 4.4.2 / imx6

Question asked by oussama on Feb 3, 2015
Latest reply on Feb 11, 2015 by oussama

I'm not able to play video on android 4.4.2 on imx6q board, although I'm able to play video with the command line in h264 raw format  "mxc-vpu-test -D "-i /clip.raw.h264 -f2"

If I try to open a video with the android Video player (h264 or mpeg4 codec encapsulated in mp4), it says "can't play this video".

the logcat shows some errors. Here's the most relevant:

 

E/BufferQueue( 2230): [com.android.gallery3d/com.android.gallery3d.app.MovieActivity] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count

I/ActivityManager( 2978): Displayed com.android.gallery3d/.app.MovieActivity: +226ms

E/MediaPlayer( 3731): error (1, -2147483648)

E/MediaPlayer( 3731): Error (1,-2147483648)

D/VideoView( 3731): Error: 1,-2147483648

D/dalvikvm( 3731): GC_FOR_ALLOC freed 832K, 23% free 3174K/4084K, paused 16ms, total 16ms

E/BufferQueue( 2230): [com.android.gallery3d/com.android.gallery3d.app.MovieActivity] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count

 

Installing the CactusPlayer by reverting the relevant patch does not help as well.

Outcomes