Audio stuttering
#1
I have multiple Android Kodi devices, they all do the same thing. There is no exact time to it, sometimes it happens more than others, but when I'm watching a show the video is smooth and consistent, but the audio cuts out for one second. I have tried and tried to figure this out and I can't so here's a debug log. Can anyone sort me out? I started this log and stopped it right after the hiccup.

http://paste.kodi.tv/rezojisuha
Reply
#2
(2020-12-24, 20:28)Brakiss Wrote: I have multiple Android Kodi devices, they all do the same thing. There is no exact time to it, sometimes it happens more than others, but when I'm watching a show the video is smooth and consistent, but the audio cuts out for one second. I have tried and tried to figure this out and I can't so here's a debug log. Can anyone sort me out? I started this log and stopped it right after the hiccup.

http://paste.kodi.tv/rezojisuha

Do you have sync playback to display option enabled?
Reply
#3
(2020-12-24, 20:36)mx77 Wrote:
(2020-12-24, 20:28)Brakiss Wrote: I have multiple Android Kodi devices, they all do the same thing. There is no exact time to it, sometimes it happens more than others, but when I'm watching a show the video is smooth and consistent, but the audio cuts out for one second. I have tried and tried to figure this out and I can't so here's a debug log. Can anyone sort me out? I started this log and stopped it right after the hiccup.

http://paste.kodi.tv/rezojisuha

Do you have sync playback to display option enabled?

Yes, no change
Reply
#4
(2020-12-24, 20:42)Brakiss Wrote:
(2020-12-24, 20:36)mx77 Wrote:
(2020-12-24, 20:28)Brakiss Wrote: I have multiple Android Kodi devices, they all do the same thing. There is no exact time to it, sometimes it happens more than others, but when I'm watching a show the video is smooth and consistent, but the audio cuts out for one second. I have tried and tried to figure this out and I can't so here's a debug log. Can anyone sort me out? I started this log and stopped it right after the hiccup.

http://paste.kodi.tv/rezojisuha

Do you have sync playback to display option enabled?

Yes, no change

That is what usually causes thst kind of issues for me when enabled.
Reply
#5
According to the log your device only supports 1080p 60hz, and you're playing a 24 fps file. I would expect it to use 3:2 pulldown but this difference could explain the audio cutting out while Kodi tries to sync the video & audio. Turning off Sync Playback could fix the audio issue, but in turn produce some slight jitter as the video frames are duplicated to compensate.
Reply
#6
(2020-12-24, 22:42)FXB78 Wrote: According to the log your device only supports 1080p 60hz, and you're playing a 24 fps file. I would expect it to use 3:2 pulldown but this difference could explain the audio cutting out while Kodi tries to sync the video & audio. Turning off Sync Playback could fix the audio issue, but in turn produce some slight jitter as the video frames are duplicated to compensate.

So it was off to begin with and I turned it on when asked. My device supports 4k hdr and I watch content on it but no matter if it is 480p or 4k I have the audio stutter. Again, no frame drops
Reply
#7
(2020-12-25, 02:45)Brakiss Wrote:
(2020-12-24, 22:42)FXB78 Wrote: According to the log your device only supports 1080p 60hz, and you're playing a 24 fps file. I would expect it to use 3:2 pulldown but this difference could explain the audio cutting out while Kodi tries to sync the video & audio. Turning off Sync Playback could fix the audio issue, but in turn produce some slight jitter as the video frames are duplicated to compensate.

So it was off to begin with and I turned it on when asked. My device supports 4k hdr and I watch content on it but no matter if it is 480p or 4k I have the audio stutter. Again, no frame drops
The log tells us your device supports only 1080p 60hz, hence you are having issues with 24hz content. I'm not disputing what you are saying, just stating what the log file tells us.
Reply
#8
How may I show otherwise?
Reply
#9
Enable Debug Log and Play such a file and post the debug log afterwards please.

In your log one can only see a spamming up next addon.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#10
https://paste.kodi.tv/uperekosit

That's 4k hdr Ironman. Same audio stutter.

Merry Christmas!

EDIT here is one more. at 8:03 it stuttered and I dont have exact second, but i reloaded log right after.

https://paste.kodi.tv/uxadawuneg
Reply
#11
According to the log your firmware only supports 1080p 60hz:
Code:
2020-12-25 07:47:53.250 T:20683 DEBUG: CAndroidUtils: current mode: 1: [email protected]
2020-12-25 07:47:53.251 T:20683 DEBUG: CAndroidUtils: available mode: 1: [email protected]
2020-12-25 07:47:53.252 T:20683 DEBUG: CAndroidUtils: maximum/current resolution: 1920x1080
So when playing your 2160 24hz file we see this:
Code:
2020-12-25 07:48:09.349 T:20792 NOTICE: Whitelist search for: width: 3840, height: 1608, fps: 23.976, 3D: false
2020-12-25 07:48:09.349 T:20792 DEBUG: Whitelist is empty using default one
2020-12-25 07:48:09.349 T:20792 DEBUG: Trying to find exact refresh rate
2020-12-25 07:48:09.349 T:20792 DEBUG: No exact whitelisted resolution matched, trying double refresh rate
2020-12-25 07:48:09.349 T:20792 DEBUG: No double whitelisted resolution matched, trying 3:2 pullback
2020-12-25 07:48:09.349 T:20792 DEBUG: No 3:2 pullback refresh rate whitelisted resolution matched, trying current resolution
2020-12-25 07:48:09.349 T:20792 DEBUG: Current resolution doesn't match, trying default resolution
2020-12-25 07:48:09.349 T:20792 DEBUG: Default resolution doesn't provide reqired refreshrate, trying default resolution with double refreshrate
2020-12-25 07:48:09.349 T:20792 DEBUG: Default resolution doesn't provide reqired refreshrate, trying default resolution with 3:2 pullback
2020-12-25 07:48:09.349 T:20792 DEBUG: No whitelisted resolution matched
2020-12-25 07:48:09.350 T:20792 NOTICE: Display resolution ADJUST : 1920x1080 @ 60.000004 - Full Screen (16) (weight: -48071966720.000)
Which means it's playing at 1080p 60hz, and as a result we see audio sync issues like this:
Code:
2020-12-25 07:48:09.785 T:20803 DEBUG: CDVDVideoCodecAndroidMediaCodec::AddData current state (2)
2020-12-25 07:48:09.786 T:20792 DEBUG: CheckPlayerInit - dropping packet type:1 dts:340640000.000000 to get to start point at 341000000.000000
2020-12-25 07:48:09.786 T:20792 DEBUG: CheckPlayerInit - dropping packet type:1 dts:340650000.000000 to get to start point at 341000000.000000
So it looks like a firmware issue in my opinion, whereby Sony are only supporting 1080p 60hz.
Reply
#12
(2020-12-25, 17:39)Brakiss Wrote: https://paste.kodi.tv/uperekosit

That's 4k hdr Ironman. Same audio stutter.

Merry Christmas!

EDIT here is one more. at 8:03 it stuttered and I dont have exact second, but i reloaded log right after.

https://paste.kodi.tv/uxadawuneg
Nice way of naming your own rips: Iron.Man.2008.2160p.BluRay.x265.10bit.HDR.DTS-HD.MA.5.1-SWTYBLZ.mkv

It's quite funny to read how piracy box sellers etc. are "killing Kodi", but hey, there's no problem offering support while it's obvious that we're dealing with illegally obtained media.
Reply
#13
(2020-12-25, 18:48)FXB78 Wrote: According to the log your firmware only supports 1080p 60hz:
Code:
2020-12-25 07:47:53.250 T:20683 DEBUG: CAndroidUtils: current mode: 1: [email protected]
2020-12-25 07:47:53.251 T:20683 DEBUG: CAndroidUtils: available mode: 1: [email protected]
2020-12-25 07:47:53.252 T:20683 DEBUG: CAndroidUtils: maximum/current resolution: 1920x1080
So when playing your 2160 24hz file we see this:
Code:
2020-12-25 07:48:09.349 T:20792 NOTICE: Whitelist search for: width: 3840, height: 1608, fps: 23.976, 3D: false
2020-12-25 07:48:09.349 T:20792 DEBUG: Whitelist is empty using default one
2020-12-25 07:48:09.349 T:20792 DEBUG: Trying to find exact refresh rate
2020-12-25 07:48:09.349 T:20792 DEBUG: No exact whitelisted resolution matched, trying double refresh rate
2020-12-25 07:48:09.349 T:20792 DEBUG: No double whitelisted resolution matched, trying 3:2 pullback
2020-12-25 07:48:09.349 T:20792 DEBUG: No 3:2 pullback refresh rate whitelisted resolution matched, trying current resolution
2020-12-25 07:48:09.349 T:20792 DEBUG: Current resolution doesn't match, trying default resolution
2020-12-25 07:48:09.349 T:20792 DEBUG: Default resolution doesn't provide reqired refreshrate, trying default resolution with double refreshrate
2020-12-25 07:48:09.349 T:20792 DEBUG: Default resolution doesn't provide reqired refreshrate, trying default resolution with 3:2 pullback
2020-12-25 07:48:09.349 T:20792 DEBUG: No whitelisted resolution matched
2020-12-25 07:48:09.350 T:20792 NOTICE: Display resolution ADJUST : 1920x1080 @ 60.000004 - Full Screen (16) (weight: -48071966720.000)
Which means it's playing at 1080p 60hz, and as a result we see audio sync issues like this:
Code:
2020-12-25 07:48:09.785 T:20803 DEBUG: CDVDVideoCodecAndroidMediaCodec::AddData current state (2)
2020-12-25 07:48:09.786 T:20792 DEBUG: CheckPlayerInit - dropping packet type:1 dts:340640000.000000 to get to start point at 341000000.000000
2020-12-25 07:48:09.786 T:20792 DEBUG: CheckPlayerInit - dropping packet type:1 dts:340650000.000000 to get to start point at 341000000.000000
So it looks like a firmware issue in my opinion, whereby Sony are only supporting 1080p 60hz.

Ok so why do I get the issue when I watch a 1080p or a 720p file?

Thank you for your help
Reply
#14
(2020-12-26, 01:49)Brakiss Wrote:
(2020-12-25, 18:48)FXB78 Wrote: According to the log your firmware only supports 1080p 60hz:
Code:
2020-12-25 07:47:53.250 T:20683 DEBUG: CAndroidUtils: current mode: 1: [email protected]
2020-12-25 07:47:53.251 T:20683 DEBUG: CAndroidUtils: available mode: 1: [email protected]
2020-12-25 07:47:53.252 T:20683 DEBUG: CAndroidUtils: maximum/current resolution: 1920x1080
So when playing your 2160 24hz file we see this:
Code:
2020-12-25 07:48:09.349 T:20792 NOTICE: Whitelist search for: width: 3840, height: 1608, fps: 23.976, 3D: false
2020-12-25 07:48:09.349 T:20792 DEBUG: Whitelist is empty using default one
2020-12-25 07:48:09.349 T:20792 DEBUG: Trying to find exact refresh rate
2020-12-25 07:48:09.349 T:20792 DEBUG: No exact whitelisted resolution matched, trying double refresh rate
2020-12-25 07:48:09.349 T:20792 DEBUG: No double whitelisted resolution matched, trying 3:2 pullback
2020-12-25 07:48:09.349 T:20792 DEBUG: No 3:2 pullback refresh rate whitelisted resolution matched, trying current resolution
2020-12-25 07:48:09.349 T:20792 DEBUG: Current resolution doesn't match, trying default resolution
2020-12-25 07:48:09.349 T:20792 DEBUG: Default resolution doesn't provide reqired refreshrate, trying default resolution with double refreshrate
2020-12-25 07:48:09.349 T:20792 DEBUG: Default resolution doesn't provide reqired refreshrate, trying default resolution with 3:2 pullback
2020-12-25 07:48:09.349 T:20792 DEBUG: No whitelisted resolution matched
2020-12-25 07:48:09.350 T:20792 NOTICE: Display resolution ADJUST : 1920x1080 @ 60.000004 - Full Screen (16) (weight: -48071966720.000)
Which means it's playing at 1080p 60hz, and as a result we see audio sync issues like this:
Code:
2020-12-25 07:48:09.785 T:20803 DEBUG: CDVDVideoCodecAndroidMediaCodec::AddData current state (2)
2020-12-25 07:48:09.786 T:20792 DEBUG: CheckPlayerInit - dropping packet type:1 dts:340640000.000000 to get to start point at 341000000.000000
2020-12-25 07:48:09.786 T:20792 DEBUG: CheckPlayerInit - dropping packet type:1 dts:340650000.000000 to get to start point at 341000000.000000
So it looks like a firmware issue in my opinion, whereby Sony are only supporting 1080p 60hz.

Ok so why do I get the issue when I watch a 1080p or a 720p file?

Thank you for your help
If you play a 30 fps file (if you have any) do you see the same issue?
Reply
#15
Please disable: Sync Playback to Display for a test. The log file does not look bad to be honest. The initial drop of dts frames only happens during player init, so is okay.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply

Logout Mark Read Team Forum Stats Members Help
Audio stuttering0
This forum uses Lukasz Tkacz MyBB addons.