v18 Video playback / Audio sync issues
#1
Hi everyone,
I'm having trouble with video playback in Kodi 18.3. Generally, playback is really smooth, but the audio seems to stutter or skip every once in a while. Maybe the video is also skipping a few frames, but it is hard to see, because it mostly occurs when there are quick cuts in the movie. I looked into the log file and there are a lot of CDVDClock::ErrorAdjust and ActiveAE::SyncStream events every time it happens. Not sure how else to describe it, I hope someone can help me with this.

Full log:
https://paste.kodi.tv/xawejumuha.kodi

HW is this: http://global.shuttle.com/products/produ...uctId=2114
(Intel Apollo Lake J3355 CPU, Intel iGPU, Realtek ALC662), running Fedora 30
Reply
#2
Looks like you have some packet errors, ensure in settings/player sync and refresh are off. Investigate Seagate Expansion Drive is giving you full speed (some default to lower specs). Would like to see if you have this kind of packet loss with a 'local' drive video.  Keyboard controls (wiki) Ctrl+⇧ Shift+O and look for bottlenecks in delivery.
Reply
#3
OK, thx for the suggestions.
I played Buck Bunny a few times from the local SSD. First time ( 17:12:44.901 ) is with the same settings as above, last time ( 17:29:59.321 ) with 'adjust display refresh rate' and 'sync playback to display' disabled. But it seems the issues are still there.
I enabled the codec info, but I wasn't quite sure what to look for. What I noticed was the audio queue saturation constantly going up and down, staying mostly at 96% but dropping below 90% a few times, even ~75% during the end titles. Dropped or skipped frames were always at 0, vq always at 99%, buffer at 0B 100%.

New log: https://paste.kodi.tv/exidibedup.kodi
Reply
#4
Great PulseAudio (wiki) information here. From what I can see, it looks like a data flow issue, check sec 6.5 for known problems.
Reply
#5
Quote:INFO: ffmpeg[7F822ECAF700]: Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 12001 kb/s, 24 fps, 24 tbr, 24 tbn, 24 tbc

^^ This is totall uncommon. It's an oldish codec from the 90s and it seems hw acceleration for it is not available.

Post the output of vainfo as well
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
Video playback / Audio sync issues0