{"action":"created","issue":{"url":"https://api.github.com/repos/google/ExoPlayer/issues/286","labels_url":"https://api.github.com/repos/google/ExoPlayer/issues/286/labels{/name}","comments_url":"https://api.github.com/repos/google/ExoPlayer/issues/286/comments","events_url":"https://api.github.com/repos/google/ExoPlayer/issues/286/events","html_url":"https://github.com/google/ExoPlayer/issues/286","id":57054479,"number":286,"title":"Multiple playback problem","user":{"login":"brystel","id":2974913,"avatar_url":"https://avatars.githubusercontent.com/u/2974913?v=3","gravatar_id":"","url":"https://api.github.com/users/brystel","html_url":"https://github.com/brystel","followers_url":"https://api.github.com/users/brystel/followers","following_url":"https://api.github.com/users/brystel/following{/other_user}","gists_url":"https://api.github.com/users/brystel/gists{/gist_id}","starred_url":"https://api.github.com/users/brystel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brystel/subscriptions","organizations_url":"https://api.github.com/users/brystel/orgs","repos_url":"https://api.github.com/users/brystel/repos","events_url":"https://api.github.com/users/brystel/events{/privacy}","received_events_url":"https://api.github.com/users/brystel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-09T16:34:36Z","updated_at":"2015-02-10T00:40:31Z","closed_at":"2015-02-10T00:40:31Z","body":"Hello,\r\nIs there possibility to play multiple video / stream at the same time?\r\n\r\nI have created activity which try to play one stream and one local video at this same time in splitted window mode. I use DefaultRendererBuilder. I have got ExoPlayer from master branch.\r\n\r\nStream: http://html5demos.com/assets/dizzy.mp4 (from demo)\r\nLocal video codec: H264 / MPEG AAC\r\n\r\nIf I use another media problem still happens.\r\n\r\nI am attaching logs:\r\n\r\n`\r\n02-09 16:12:55.646    2439-2505/com.google.android.exoplayer.demo E/ACodec﹕ [OMX.amlogic.avc.decoder.awesome] storeMetaDataInBuffers failed w/ err -2147483648\r\n02-09 16:12:55.646    2439-2509/com.google.android.exoplayer.demo I/OMXClient﹕ Using client-side OMX mux.\r\n02-09 16:12:55.646    2439-2509/com.google.android.exoplayer.demo E/ACodec﹕ Unable to instantiate decoder 'OMX.amlogic.avc.decoder.awesome'.\r\n02-09 16:12:55.646    2439-2508/com.google.android.exoplayer.demo E/MediaCodec﹕ Codec reported an error. (omx error 0x80001003, internalError -2147483648)\r\n02-09 16:12:55.646    2439-2505/com.google.android.exoplayer.demo I/ACodec﹕ onConfigureComponent native-window finished OMX.amlogic.avc.decoder.awesome\r\n02-09 16:12:55.676    2439-2502/com.google.android.exoplayer.demo D/dalvikvm﹕ GC_FOR_ALLOC freed 949K, 29% free 2438K/3412K, paused 22ms, total 22ms\r\n02-09 16:12:55.676    2439-2503/com.google.android.exoplayer.demo W/ALooperRoster﹕ ALooper::handler_id ALooperRoster::registerHandler 13\r\n02-09 16:12:55.676    2439-2503/com.google.android.exoplayer.demo W/ALooperRoster﹕ ALooper::handler_id ALooperRoster::registerHandler 14\r\n02-09 16:12:55.686    2439-2502/com.google.android.exoplayer.demo E/ExoPlayerImplInternal﹕ Internal track renderer error.\r\n    com.google.android.exoplayer.ExoPlaybackException: com.google.android.exoplayer.MediaCodecTrackRenderer$DecoderInitializationException: Decoder init failed: OMX.amlogic.avc.decoder.awesome, MediaFormat(video/avc, 120031, 1280, 720, -1.0, -1, -1, -1, -1, -1)\r\n            at com.google.android.exoplayer.MediaCodecTrackRenderer.maybeInitCodec(MediaCodecTrackRenderer.java:298)\r\n            at com.google.android.exoplayer.MediaCodecTrackRenderer.onInputFormatChanged(MediaCodecTrackRenderer.java:648)\r\n            at com.google.android.exoplayer.MediaCodecVideoTrackRenderer.onInputFormatChanged(MediaCodecVideoTrackRenderer.java:369)\r\n            at com.google.android.exoplayer.MediaCodecTrackRenderer.readFormat(MediaCodecTrackRenderer.java:435)\r\n            at com.google.android.exoplayer.MediaCodecTrackRenderer.doSomeWork(MediaCodecTrackRenderer.java:412)\r\n            at com.google.android.exoplayer.ExoPlayerImplInternal.doSomeWork(ExoPlayerImplInternal.java:398)\r\n            at com.google.android.exoplayer.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:203)\r\n            at android.os.Handler.dispatchMessage(Handler.java:98)\r\n            at android.os.Looper.loop(Looper.java:136)\r\n            at android.os.HandlerThread.run(HandlerThread.java:61)\r\n            at com.google.android.exoplayer.util.PriorityHandlerThread.run(PriorityHandlerThread.java:40)\r\n     Caused by: com.google.android.exoplayer.MediaCodecTrackRenderer$DecoderInitializationException: Decoder init failed: OMX.amlogic.avc.decoder.awesome, MediaFormat(video/avc, 120031, 1280, 720, -1.0, -1, -1, -1, -1, -1)\r\n            at com.google.android.exoplayer.MediaCodecTrackRenderer.maybeInitCodec(MediaCodecTrackRenderer.java:295)\r\n            at com.google.android.exoplayer.MediaCodecTrackRenderer.onInputFormatChanged(MediaCodecTrackRenderer.java:648)\r\n            at com.google.android.exoplayer.MediaCodecVideoTrackRenderer.onInputFormatChanged(MediaCodecVideoTrackRenderer.java:369)\r\n            at com.google.android.exoplayer.MediaCodecTrackRenderer.readFormat(MediaCodecTrackRenderer.java:435)\r\n            at com.google.android.exoplayer.MediaCodecTrackRenderer.doSomeWork(MediaCodecTrackRenderer.java:412)\r\n            at com.google.android.exoplayer.ExoPlayerImplInternal.doSomeWork(ExoPlayerImplInternal.java:398)\r\n            at com.google.android.exoplayer.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:203)\r\n            at android.os.Handler.dispatchMessage(Handler.java:98)\r\n            at android.os.Looper.loop(Looper.java:136)\r\n            at android.os.HandlerThread.run(HandlerThread.java:61)\r\n            at com.google.android.exoplayer.util.PriorityHandlerThread.run(PriorityHandlerThread.java:40)\r\n     Caused by: java.io.IOException: Failed to allocate component instance\r\n            at android.media.MediaCodec.native_setup(Native Method)\r\n            at android.media.MediaCodec.<init>(MediaCodec.java:210)\r\n            at android.media.MediaCodec.createByCodecName(MediaCodec.java:204)\r\n            at com.google.android.exoplayer.MediaCodecTrackRenderer.maybeInitCodec(MediaCodecTrackRenderer.java:289)\r\n            at com.google.android.exoplayer.MediaCodecTrackRenderer.onInputFormatChanged(MediaCodecTrackRenderer.java:648)\r\n            at com.google.android.exoplayer.MediaCodecVideoTrackRenderer.onInputFormatChanged(MediaCodecVideoTrackRenderer.java:369)\r\n            at com.google.android.exoplayer.MediaCodecTrackRenderer.readFormat(MediaCodecTrackRenderer.java:435)\r\n            at com.google.android.exoplayer.MediaCodecTrackRenderer.doSomeWork(MediaCodecTrackRenderer.java:412)\r\n            at com.google.android.exoplayer.ExoPlayerImplInternal.doSomeWork(ExoPlayerImplInternal.java:398)\r\n            at com.google.android.exoplayer.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:203)\r\n            at android.os.Handler.dispatchMessage(Handler.java:98)\r\n            at android.os.Looper.loop(Looper.java:136)\r\n            at android.os.HandlerThread.run(HandlerThread.java:61)\r\n            at com.google.android.exoplayer.util.PriorityHandlerThread.run(PriorityHandlerThread.java:40)\r\n02-09 16:12:55.686    2439-2513/com.google.android.exoplayer.demo I/OMXClient﹕ Using client-side OMX mux.\r\n02-09 16:12:55.686    2439-2513/com.google.android.exoplayer.demo I/omx_core﹕ OMX_Init 66 gInitCount=1\r\n02-09 16:12:55.686    2439-2513/com.google.android.exoplayer.demo V/AML_all_components﹕ --------------------------------\r\n    author:aml.sh multi-media team\r\n    branch name:   * jb-mr1-amlogic\r\n    git version:   abf96fd33617f43c76e4cb608f30de81c31d47e0\r\n    last changed:  Date:   Fri Feb 21 15:29:20 2014 +0800\r\n    build-time:     Mon Feb 24 12:47:11 CST 2014\r\n    build-name:     spike.liao\r\n    uncommitted-file-num:1\r\n    cd /mnt/nfsroot/spike.liao/kk-amlogic\r\n    hostname droid09-sz\r\n    --------------------------------\r\n02-09 16:12:55.696    2439-2513/com.google.android.exoplayer.demo I/omx_core﹕ Core library has 22 components\r\n02-09 16:12:55.696    2439-2513/com.google.android.exoplayer.demo E/OMXMaster﹕ A component of name 'OMX.google.alac.decoder' already exists, ignoring this one.\r\n02-09 16:12:55.696    2439-2513/com.google.android.exoplayer.demo W/ALooperRoster﹕ ALooper::handler_id ALooperRoster::registerHandler 15\r\n02-09 16:12:55.696    2439-2513/com.google.android.exoplayer.demo I/ACodec﹕ onConfigureComponent native-window finished OMX.google.aac.decoder\r\n02-09 16:12:55.706    2439-2514/com.google.android.exoplayer.demo I/SoftAAC2﹕ Reconfiguring decoder: 0->44100 Hz, 0->2 channels\r\n02-09 16:12:55.726    2439-2439/com.google.android.exoplayer.demo E/PlayerActivity﹕ Playback failed\r\n    com.google.android.exoplayer.ExoPlaybackException: com.google.android.exoplayer.MediaCodecTrackRenderer$DecoderInitializationException: Decoder init failed: OMX.amlogic.avc.decoder.awesome, MediaFormat(video/avc, 120031, 1280, 720, -1.0, -1, -1, -1, -1, -1)\r\n            at com.google.android.exoplayer.MediaCodecTrackRenderer.maybeInitCodec(MediaCodecTrackRenderer.java:298)\r\n            at com.google.android.exoplayer.MediaCodecTrackRenderer.onInputFormatChanged(MediaCodecTrackRenderer.java:648)\r\n            at com.google.android.exoplayer.MediaCodecVideoTrackRenderer.onInputFormatChanged(MediaCodecVideoTrackRenderer.java:369)\r\n            at com.google.android.exoplayer.MediaCodecTrackRenderer.readFormat(MediaCodecTrackRenderer.java:435)\r\n            at com.google.android.exoplayer.MediaCodecTrackRenderer.doSomeWork(MediaCodecTrackRenderer.java:412)\r\n            at com.google.android.exoplayer.ExoPlayerImplInternal.doSomeWork(ExoPlayerImplInternal.java:398)\r\n            at com.google.android.exoplayer.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:203)\r\n            at android.os.Handler.dispatchMessage(Handler.java:98)\r\n            at android.os.Looper.loop(Looper.java:136)\r\n            at android.os.HandlerThread.run(HandlerThread.java:61)\r\n            at com.google.android.exoplayer.util.PriorityHandlerThread.run(PriorityHandlerThread.java:40)\r\n     Caused by: com.google.android.exoplayer.MediaCodecTrackRenderer$DecoderInitializationException: Decoder init failed: OMX.amlogic.avc.decoder.awesome, MediaFormat(video/avc, 120031, 1280, 720, -1.0, -1, -1, -1, -1, -1)\r\n            at com.google.android.exoplayer.MediaCodecTrackRenderer.maybeInitCodec(MediaCodecTrackRenderer.java:295)\r\n            at com.google.android.exoplayer.MediaCodecTrackRenderer.onInputFormatChanged(MediaCodecTrackRenderer.java:648)\r\n            at com.google.android.exoplayer.MediaCodecVideoTrackRenderer.onInputFormatChanged(MediaCodecVideoTrackRenderer.java:369)\r\n            at com.google.android.exoplayer.MediaCodecTrackRenderer.readFormat(MediaCodecTrackRenderer.java:435)\r\n            at com.google.android.exoplayer.MediaCodecTrackRenderer.doSomeWork(MediaCodecTrackRenderer.java:412)\r\n            at com.google.android.exoplayer.ExoPlayerImplInternal.doSomeWork(ExoPlayerImplInternal.java:398)\r\n            at com.google.android.exoplayer.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:203)\r\n            at android.os.Handler.dispatchMessage(Handler.java:98)\r\n            at android.os.Looper.loop(Looper.java:136)\r\n            at android.os.HandlerThread.run(HandlerThread.java:61)\r\n            at com.google.android.exoplayer.util.PriorityHandlerThread.run(PriorityHandlerThread.java:40)\r\n     Caused by: java.io.IOException: Failed to allocate component instance\r\n            at android.media.MediaCodec.native_setup(Native Method)\r\n            at android.media.MediaCodec.<init>(MediaCodec.java:210)\r\n            at android.media.MediaCodec.createByCodecName(MediaCodec.java:204)\r\n            at com.google.android.exoplayer.MediaCodecTrackRenderer.maybeInitCodec(MediaCodecTrackRenderer.java:289)\r\n            at com.google.android.exoplayer.MediaCodecTrackRenderer.onInputFormatChanged(MediaCodecTrackRenderer.java:648)\r\n            at com.google.android.exoplayer.MediaCodecVideoTrackRenderer.onInputFormatChanged(MediaCodecVideoTrackRenderer.java:369)\r\n            at com.google.android.exoplayer.MediaCodecTrackRenderer.readFormat(MediaCodecTrackRenderer.java:435)\r\n            at com.google.android.exoplayer.MediaCodecTrackRenderer.doSomeWork(MediaCodecTrackRenderer.java:412)\r\n            at com.google.android.exoplayer.ExoPlayerImplInternal.doSomeWork(ExoPlayerImplInternal.java:398)\r\n            at com.google.android.exoplayer.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:203)\r\n            at android.os.Handler.dispatchMessage(Handler.java:98)\r\n            at android.os.Looper.loop(Looper.java:136)\r\n            at android.os.HandlerThread.run(HandlerThread.java:61)\r\n            at com.google.android.exoplayer.util.PriorityHandlerThread.run(PriorityHandlerThread.java:40)\r\n`\r\n"},"comment":{"url":"https://api.github.com/repos/google/ExoPlayer/issues/comments/73622295","html_url":"https://github.com/google/ExoPlayer/issues/286#issuecomment-73622295","issue_url":"https://api.github.com/repos/google/ExoPlayer/issues/286","id":73622295,"user":{"login":"ojw28","id":7881572,"avatar_url":"https://avatars.githubusercontent.com/u/7881572?v=3","gravatar_id":"","url":"https://api.github.com/users/ojw28","html_url":"https://github.com/ojw28","followers_url":"https://api.github.com/users/ojw28/followers","following_url":"https://api.github.com/users/ojw28/following{/other_user}","gists_url":"https://api.github.com/users/ojw28/gists{/gist_id}","starred_url":"https://api.github.com/users/ojw28/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ojw28/subscriptions","organizations_url":"https://api.github.com/users/ojw28/orgs","repos_url":"https://api.github.com/users/ojw28/repos","events_url":"https://api.github.com/users/ojw28/events{/privacy}","received_events_url":"https://api.github.com/users/ojw28/received_events","type":"User","site_admin":false},"created_at":"2015-02-10T00:40:31Z","updated_at":"2015-02-10T00:40:31Z","body":"See https://github.com/google/ExoPlayer/issues/273"}}