Closed stari4ek closed 8 years ago
This looks identical to https://github.com/google/ExoPlayer/issues/1295, which was fixed in ExoPlayer version 1.5.7. The log shows you're using 1.5.6, so I suspect that updating to 1.5.7 or later will resolve this issue for you :).
Hi, @ojw28
Checked with demo based on 764dc2b86f37b036dd40c3b7bbe46982e7b29e13
Here are links:
I'm trying to get demo's logcat from Sony TV having this issue. I'm waiting for beta testers to send it me back, so I can add it here later.
Should I create new issue or You can re-open this one?
According to user's feedback:
05-26 13:49:03.975 19863 19863 I ExoPlayerImpl: Init 1.5.8
05-26 13:49:03.975 19863 19863 D EventLogger: start [0]
05-26 13:49:03.975 19863 19863 D EventLogger: state [0.00, false, P]
05-26 13:49:03.975 19863 19863 D EventLogger: state [0.00, true, P]
05-26 13:49:04.035 19863 23076 W TsExtractor: Unexpected start indicator: expected 368 more bytes
05-26 13:49:04.035 19863 20678 D mali_winsys: new_window_surface returns 0x3000
05-26 13:49:04.050 19863 23077 I OMXClient: Using client-side OMX mux.
05-26 13:49:04.065 19863 23077 D MediaCodec: set mOutputPath = 1024 L(1531)
05-26 13:49:04.130 19863 23075 D MediaCodec: OMX.MTK.VIDEO.DECODER.MPEG2 needRmClient (289)
05-26 13:49:04.130 19863 23075 D MediaCodec: OMX.MTK.VIDEO.DECODER.MPEG2 needVdpImgrz (295)
05-26 13:49:04.135 19863 23083 I OMXClient: Using client-side OMX mux.
05-26 13:49:04.170 19863 23082 D MediaCodec: set mOutputPath = 0
05-26 13:49:04.175 19863 23083 E binder.hwcomposer: [enable_vdp:59][channel=0 ,enable=1]
05-26 13:49:04.175 19863 23083 E ACodec : [OMX.MTK.VIDEO.DECODER.MPEG2] storeMetaDataInBuffers failed w/ err -1010
05-26 13:49:05.660 19863 19863 D EventLogger: state [1.69, true, B]
05-26 13:49:05.730 19863 19863 D EventLogger: decoderInitialized [1.75, OMX.MTK.AUDIO.DECODER.DSPMP1]
05-26 13:49:05.730 19863 19863 D EventLogger: state [1.75, true, R]
05-26 13:49:05.730 19863 19863 I Choreographer: Skipped 95 frames! The application may be doing too much work on its main thread.
05-26 13:49:05.815 19863 19863 D EventLogger: decoderInitialized [1.84, OMX.MTK.VIDEO.DECODER.MPEG2]
05-26 13:49:05.815 19863 19863 D EventLogger: state [1.84, true, B]
05-26 13:49:05.815 19863 19863 D EventLogger: videoSizeChanged [720, 576, 0, 1.0666667]
05-26 13:49:05.815 19863 19863 D EventLogger: state [1.84, true, R]
05-26 13:49:31.355 19863 23082 E gralloc : unregister FBM buffer
05-26 13:49:31.355 19863 23082 E gralloc : unregister FBM buffer
05-26 13:49:31.355 19863 23082 E gralloc : unregister FBM buffer
05-26 13:49:31.355 19863 23082 E gralloc : unregister FBM buffer
05-26 13:49:31.355 19863 23082 E gralloc : unregister FBM buffer
05-26 13:49:31.355 19863 23082 E gralloc : unregister FBM buffer
05-26 13:49:31.355 19863 23082 E gralloc : unregister FBM buffer
05-26 13:49:31.355 19863 23082 E gralloc : unregister FBM buffer
05-26 13:49:31.355 19863 23082 E gralloc : unregister FBM buffer
05-26 13:49:31.355 19863 23082 E gralloc : unregister FBM buffer
05-26 13:49:31.355 19863 23082 E gralloc : unregister FBM buffer
05-26 13:49:31.355 19863 23082 E gralloc : unregister FBM buffer
05-26 13:49:31.355 19863 23082 E gralloc : unregister FBM buffer
05-26 13:49:31.355 19863 23082 E gralloc : unregister FBM buffer
05-26 13:49:31.355 19863 23082 E gralloc : unregister FBM buffer
05-26 13:49:31.355 19863 23082 E gralloc : unregister FBM buffer
05-26 13:49:31.355 19863 23082 E gralloc : unregister FBM buffer
05-26 13:49:31.355 19863 23082 E gralloc : unregister FBM buffer
05-26 13:49:31.355 19863 23082 E gralloc : unregister FBM buffer
05-26 13:49:31.355 19863 23082 E gralloc : unregister FBM buffer
05-26 13:49:31.485 19863 19863 D EventLogger: end [27.51]
This issue is confirmed by Manuel Paunet in discussion: https://plus.google.com/109022642737958378223/posts/gi8VzhWGXbA Should be fixed with 6.0 OTA for Sony TV
Video playback is bumpy (audio plays well). This video works well on NVidia Shield.
I have many reports about problems with mpeg2 playback on Sony. Sadly I can not reproduce it locally, cause I don't have proper hardware. I know that android doesn't support mpeg2/mp2 out of the box, but there are bundled decoders. On the other hand ExoPlayer has some "dancing" for MTK.* already
Some logging from Demo app:
Video frame is updated each 5-10 sec, audio plays well.
In my app I see buffering happening all the time (it happens only for specific streams on same network with same live channels provider, so, I'd expect it's not related to network):
Codecs dump: