Sony Android TV 6.0.1 - Video playback is stuttering KD-55XD8005

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
mpiet Offline
Member
Posts: 84
Joined: Nov 2016
Reputation: 0
Post: #1
I dont know why, but since some weeks i have huge problems with video playback. I set the TV to factory reset and installed kodi again without any video playback settings. Only passthrough is activated.
Here is a debug log (kodi v16.1): link
Video of the stuttering: link
And a sample of the movie source: Link

Sony KD-55XD8005 ATV 2016 Android 7.0 SonyFW V6.2602 - Sony STR-DN1010 - QNAP TS-112 v4.2.0 [SMB]
(This post was last modified: 2017-04-13 09:12 by mpiet.)
find quote
mpiet Offline
Member
Posts: 84
Joined: Nov 2016
Reputation: 0
Post: #2
Here is a debug log (kodi v17.1): link

Sony KD-55XD8005 ATV 2016 Android 7.0 SonyFW V6.2602 - Sony STR-DN1010 - QNAP TS-112 v4.2.0 [SMB]
find quote
Koying Online
Team-Kodi Developer
Posts: 5,697
Joined: Sep 2008
Reputation: 178
Location: Brussels, Belgium
Post: #3
A sample would help, if possible
find quote
mpiet Offline
Member
Posts: 84
Joined: Nov 2016
Reputation: 0
Post: #4
(2017-03-29 08:44)Koying Wrote:  A sample would help, if possible

Of course, upload in progress. Can i share it to you via PM? I do not want to share it public way.

Sony KD-55XD8005 ATV 2016 Android 7.0 SonyFW V6.2602 - Sony STR-DN1010 - QNAP TS-112 v4.2.0 [SMB]
find quote
mpiet Offline
Member
Posts: 84
Joined: Nov 2016
Reputation: 0
Post: #5
Additional information to this issue. Most of other video player also has the stuttering issue, but not MXPlayerPro with activated HW+ decoding for video.
Is it possible to configure kodi to play videos in same way as the MXPlayerPro do?

Sony KD-55XD8005 ATV 2016 Android 7.0 SonyFW V6.2602 - Sony STR-DN1010 - QNAP TS-112 v4.2.0 [SMB]
(This post was last modified: 2017-03-30 10:09 by mpiet.)
find quote
CiNcH Offline
Fan
Posts: 396
Joined: Jun 2014
Reputation: 1
Location: Austria
Post: #6
It looks like MX Player in "HW+" mode uses libstagefright, as does the Sony pre-installed Video app. Both do not suffer from this stuttering issue. Seems to be related to the MediaCodec Java wrapper!?

libstagefright support has been removed from Kodi with Jarvis and I am sure it won't come back Wink .

Sony BRAVIA 2015 (FW V3.865 / Android TV 6.0.1) | DVBViewer Media Server 2.0
(This post was last modified: 2017-03-30 10:35 by CiNcH.)
find quote
CiNcH Offline
Fan
Posts: 396
Joined: Jun 2014
Reputation: 1
Location: Austria
Post: #7
Tried to remux without audio. Didn't solve the issue.

Sony BRAVIA 2015 (FW V3.865 / Android TV 6.0.1) | DVBViewer Media Server 2.0
find quote
CiNcH Offline
Fan
Posts: 396
Joined: Jun 2014
Reputation: 1
Location: Austria
Post: #8
Isengard plays it just fine. So we have:

SPMC / Kodi 16 Jarvis (MediaCodec): NOK
Kodi 17 Krypton (MediaCodec): NOK
VLC (MediaCodec): NOK
MX Player HW (MediaCodec): NOK

Video (libstagefright): OK
Kodi 15 Isengard (libstagefright): OK
MX Player HW+ (libstagefright): OK

Clearly looks like a MediaCodec issue.

Added info + short sample into my Sony bug list.

Sony BRAVIA 2015 (FW V3.865 / Android TV 6.0.1) | DVBViewer Media Server 2.0
find quote
Koying Online
Team-Kodi Developer
Posts: 5,697
Joined: Sep 2008
Reputation: 178
Location: Brussels, Belgium
Post: #9
Did you try mediacodec non-surface?
I'd be surprised if that one failed and libstagefright worked.
find quote
CiNcH Offline
Fan
Posts: 396
Joined: Jun 2014
Reputation: 1
Location: Austria
Post: #10
Non-Surface is no option on Sony within Kodi. Video playback is generally and constantly jerky after disabling Surface (plus it disables HW deinterlacing).

Sony BRAVIA 2015 (FW V3.865 / Android TV 6.0.1) | DVBViewer Media Server 2.0
(This post was last modified: 2017-03-31 06:31 by CiNcH.)
find quote
Koying Online
Team-Kodi Developer
Posts: 5,697
Joined: Sep 2008
Reputation: 178
Location: Brussels, Belgium
Post: #11
Well it's just to understand why libstagefright would be better for some files Wink
If "hw de-interlacing" is off with mediacodec non-surface, it should be the same with libstagefright. Isn't it the case?
find quote
CiNcH Offline
Fan
Posts: 396
Joined: Jun 2014
Reputation: 1
Location: Austria
Post: #12
Quote: If "hw de-interlacing" is off with mediacodec non-surface, it should be the same with libstagefright. Isn't it the case?
At least not when I play it via Video app. Haven't tried the others.

Sony BRAVIA 2015 (FW V3.865 / Android TV 6.0.1) | DVBViewer Media Server 2.0
find quote
CiNcH Offline
Fan
Posts: 396
Joined: Jun 2014
Reputation: 1
Location: Austria
Post: #13
Quote:Well it's just to understand why libstagefright would be better for some files
Sure. And I tried it even though I knew that it would lead to nowhere. And it didn't as playback of the sample suffered too much anyway from non-surface.

Did you try the sample from within my bug report? It is a short one and perfectly demonstrates the issue. Would be interesting whether SHIELD suffers from the same issue. Suppose not.

Sony BRAVIA 2015 (FW V3.865 / Android TV 6.0.1) | DVBViewer Media Server 2.0
(This post was last modified: 2017-03-31 06:45 by CiNcH.)
find quote
mpiet Offline
Member
Posts: 84
Joined: Nov 2016
Reputation: 0
Post: #14
At the first moment i was happy using Kodi v15.2. The issue with the huge stuttering do not occur on the old version, but it seems that the TVs MotionFlow do not work. On my 720p movies (not the sample i uploaded) i have a constant 24/25p jerking. The setting MotionFlow has no influence.

I will try "hw de-interlacing" off with mediacodec non-surface setting on spmc v16.6.0 and give a feedback.
Generally i can say, after i tried a lot off video apps, that no app can provide a jerk-free playback as the internal app do.

Sony KD-55XD8005 ATV 2016 Android 7.0 SonyFW V6.2602 - Sony STR-DN1010 - QNAP TS-112 v4.2.0 [SMB]
find quote
mpiet Offline
Member
Posts: 84
Joined: Nov 2016
Reputation: 0
Post: #15
@Koying, i deactivated only "mediacodec surface" and "de-interlacing" (during video playback in video options). You are right, the problem video could be played without the huge stuttering. But when playing m2ts 1080p50 video it have very much stuttering.
Question: Are there similar issues using a NVidia Shield TV? Can the Shield put videos 1:1 out without 3:2 pulldown using kodi? I think i have to buy an external player, but i want to be sure that i will not have any stuttering issues.

Sony KD-55XD8005 ATV 2016 Android 7.0 SonyFW V6.2602 - Sony STR-DN1010 - QNAP TS-112 v4.2.0 [SMB]
find quote
Post Reply