reduce time required for audio sync
#1
In v15 a/v synchronization to clock was changed. The former mechanism was dead end and led to a couple of non-solvable issues. Versions prior to 15 adjusted large audio sync errors (> 100ms) by synchronizing the clock to audio. This made video and subtitles suffer from audio errors. Malfunctioning audio could ruin video completely.

Now audio and video sync to clock independently when a stream is started. This chnage requires follow-ups that have not implemented yet. When synchronization is started, audio stream has to be muted and flushed, otherwise the sync process which adds and drops audio packets to the queue would be audible.

The solution is to move this process from VideoPlayerAudio to the audio engine. This task has high priority on my todo list.
Reply
#2
Do you have an estimate on how much this will need adaptions on the sink layer?
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#3
(2015-09-07, 01:00)Memphiz Wrote: Do you have an estimate on how much this will need adaptions on the sink layer?

Most likely zero
Reply
#4
Ohh in that case i can provide the needed changes instantly whenever you need them Wink
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#5
Smile 
Smile
Reply
#6
I have competed this step. For those who want to test on Linux: http://forum.kodi.tv/showthread.php?tid=231955
OSX and Raspberry Pi versions can be compiled from my repo: https://github.com/FernetMenta/xbmc
Reply
#7
If you don't want to fiddle with the Ubuntu installation. I build OpenELEC images without further patches from fernet's master since yesterday: http://fritsch.fruehberger.net/openelec/
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#8
Is there a compiled version for mac somewhere I can download and try?
Reply
#9
No - as these changes have absolutely nothing to do with MAC, they are pulseaudio for linux only.

Forget it - I answerd on the wrong topic.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#10
(2015-10-03, 19:12)bigbully Wrote: Is there a compiled version for mac somewhere I can download and try?

stay tuned, I kicked off a build for OSX
Reply
#11
here we go: http://mirrors.kodi.tv/test-builds/osx/x...x86_64.dmg
Reply
#12
Do you have any idea when this might make it into a release or even alpha/beta? This issue has been is bugging me daily.

I'd attempt to build it myself but it seems that the main repo provides information for setting up an environment for all systems except windows.
Reply
#13
HOW-TO:Compile_Kodi_for_Windows (wiki) should get you sorted.
f**k..... started editing without sudo | M.K.

Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#14
I don't know the state of the Windows port and if it compiles/runs with current code. Linux, Pi, and OSX are up to date.
Reply
#15
(2015-10-04, 14:45)FernetMenta Wrote: here we go: http://mirrors.kodi.tv/test-builds/osx/x...x86_64.dmg

Thanks for that. I tried it last night and see a difference. Maybe I notice the videos pause a bit before starting where I saw black before, but the audio still mutes for the first second once picture starts. I've tried disabling screen refresh adjust and sync video to display with no differences.

I want to try a couple of things tonight as well as my other system to see if there's a difference. I'll let you know if I find an differences.
Reply

Logout Mark Read Team Forum Stats Members Help
reduce time required for audio sync0