Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ExoPlayer doesn't play MP4 videos on certain devices #561

Closed
janegrytsenko opened this issue Jun 18, 2015 · 3 comments
Closed

ExoPlayer doesn't play MP4 videos on certain devices #561

janegrytsenko opened this issue Jun 18, 2015 · 3 comments

Comments

@janegrytsenko
Copy link

Hi everyone!
I try to run demo app for playing mp4 videos on different devices. The first one uses OMX.qcom.video.decoder.avc and playing my file without troubles. The second one uses OMX.amlogic.avc.decoder.awesome and doesn't play video, playback state always buffering, the logcat always says:
Warning message AMessage(what = 'omx ', target = 5) = {
int32_t type = 0
void *node = 0xf
int32_t event = 2130706433
int32_t data1 = 0
int32_t data2 = 0
} unhandled in root state.

during I've canceled playback.
I tried to use software decoder - OMX.google.h264.decoder, then playback status at once idle and logcat says:
06-18 18:13:28.099 18290-18592/com.google.android.exoplayer.demo E/ACodec﹕ [OMX.google.h264.decoder] ERROR(0x80001001)
06-18 18:13:28.099 18290-18592/com.google.android.exoplayer.demo E/MediaCodec﹕ Codec reported an error. (omx error 0x80001001, internalError -2147483648)
06-18 18:13:28.109 18290-18583/com.google.android.exoplayer.demo E/ExoPlayerImplInternal﹕ Internal runtime error.
java.lang.IllegalStateException
at android.media.MediaCodec.dequeueInputBuffer(Native Method)
at com.google.android.exoplayer.MediaCodecTrackRenderer.feedInputBuffer(MediaCodecTrackRenderer.java:582)
at com.google.android.exoplayer.MediaCodecTrackRenderer.doSomeWork(MediaCodecTrackRenderer.java:516)
at com.google.android.exoplayer.ExoPlayerImplInternal.doSomeWork(ExoPlayerImplInternal.java:401)
at com.google.android.exoplayer.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:203)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:137)
at android.os.HandlerThread.run(HandlerThread.java:60)
at com.google.android.exoplayer.util.PriorityHandlerThread.run(PriorityHandlerThread.java:40)

The second device has Android 4.2.2 and kernel version 3.0.50 (if it is useful information).
So, is it device trouble? Why video doesn't play with these codecs?

@janegrytsenko janegrytsenko changed the title ExoPlayer doesn't play MP4 videos on certan devices ExoPlayer doesn't play MP4 videos on certain devices Jun 18, 2015
@janegrytsenko
Copy link
Author

The same situation with .mkv files, using TYPE_WEBM.

@janegrytsenko
Copy link
Author

I've found, that codec.dequeueOutputBuffer with OMX.amlogic.avc.decoder.awesome and TYPE_MP4 always returns -1.

@ojw28
Copy link
Contributor

ojw28 commented Oct 11, 2015

Please provide additional information as described here. Thanks.

@ojw28 ojw28 closed this as completed Dec 16, 2015
@google google locked and limited conversation to collaborators Jun 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants