2016-09-11, 16:39
Setup: Macbook Air Mid 2012, Intel HD4000 graphics, OSX 10.11.6
LG 1080p TV
Connection: miniDP -> HDMI -> HDMI Audio extractor (it relays the EDID from the TV)
from there: HDMI out -> TV; optical out -> Onkyo Receiver
Kodi 17.0 b1
Kodi’s configuration can be seen in the log. Note that VTB on or off makes no difference, so the test is for VTB on.
I think that the complication in my setup arises from the combination of having no proper fractional refresh rates (stupid OSX) and being reliant on optical audio/passthrough for surround sound (I like my receiver and don’t have money to burn, so I am not willing to change it until it breaks). Jarvis (and Helix before it) danced around this complication elegantly with the combination of sync playback to display, change refresh rate for video and using video clock to sync A/V. I know that this was never a perfect combination for passthrough, but it worked without noticable issues.
So in effect Kodi 16.1 worked near perfect for me.
(Let me add here that I appreciate the effort put into Kodi a lot and am forever grateful for this awesome piece of software. So this is not complaining that it broke, it is simply pointing out that it worked before as a baseline. I’m trying to give back to this OSS by running beta versions and trying to help figure out problems.)
I know that Krypton introduces big changes in the video player, so stuff breaking was expected.
What I noticed right from the start was that something was off with encoded audio. Sometimes I had crackles, sometimes the pitch seemed to go up and down (noticeable in background music). Also, the delay setting I had settled on (70ms for 50/60fps, 145 ms for 24fps) seemed to not be perfectly correct anymore, in fact audio seems to be sometimes ahead and sometimes behind the video. So I started testing and wanted check how the sync is really working. (as an aside, the PlayerProcessInfo window doesn’t show audio offset anymore, which was practical to dial it in and then set it in advancedsettings.xml)
1. Most of my test files don’t work anymore at all. They start, and then nothing happens. I can open the player menu or PlayerProcessInfo, but nothing plays. When I quit the playback it just hangs. Sometimes opening up the lid of the Laptop (thus forcing an update of video output on the OS) gets me back to the menu, but mostly not or it just crashes. In the debug log (near the end) you can see me exiting the first not working video and exiting without success, then successfully getting back with this method, then opening another such test file with Kodi crashing when I close the lid (Crash log). Note that this crashing occurs whether or not passthrough is enabled.
I really don’t know what is wrong with these files. They worked before and still work with VLC. None of my „regular“ video files show this behaviour in Krypton.
2. There are testfiles that still work, you can see me playing them right after turning on debug level logging. These are 2ch ac3/dts/pcm audio streams. Even though passthrough is enabled, the AC3 and DTS files are decoded and output as PCM. Am I right to assume that since I use „sync playback to display“ Kodi is deciding that passthrough will not work properly and therefore is outputting PCM as this is possible per the configuration? I somewhat verified this by setting the channel configuration to 5.1 which results in 5.1 files also being decoded.
3. In the debug log I also play the Ant-Man test clip. This is where I can consistently hear crackling in the audio.
Crashlog: http://pastebin.com/vmcpd22v
Debug log: http://pastebin.com/w2gGRK17
Please tell me, if I omitted any possibly useful information and what other tests to run to help fix this.
Thank you!
LG 1080p TV
Connection: miniDP -> HDMI -> HDMI Audio extractor (it relays the EDID from the TV)
from there: HDMI out -> TV; optical out -> Onkyo Receiver
Kodi 17.0 b1
Kodi’s configuration can be seen in the log. Note that VTB on or off makes no difference, so the test is for VTB on.
I think that the complication in my setup arises from the combination of having no proper fractional refresh rates (stupid OSX) and being reliant on optical audio/passthrough for surround sound (I like my receiver and don’t have money to burn, so I am not willing to change it until it breaks). Jarvis (and Helix before it) danced around this complication elegantly with the combination of sync playback to display, change refresh rate for video and using video clock to sync A/V. I know that this was never a perfect combination for passthrough, but it worked without noticable issues.
So in effect Kodi 16.1 worked near perfect for me.
(Let me add here that I appreciate the effort put into Kodi a lot and am forever grateful for this awesome piece of software. So this is not complaining that it broke, it is simply pointing out that it worked before as a baseline. I’m trying to give back to this OSS by running beta versions and trying to help figure out problems.)
I know that Krypton introduces big changes in the video player, so stuff breaking was expected.
What I noticed right from the start was that something was off with encoded audio. Sometimes I had crackles, sometimes the pitch seemed to go up and down (noticeable in background music). Also, the delay setting I had settled on (70ms for 50/60fps, 145 ms for 24fps) seemed to not be perfectly correct anymore, in fact audio seems to be sometimes ahead and sometimes behind the video. So I started testing and wanted check how the sync is really working. (as an aside, the PlayerProcessInfo window doesn’t show audio offset anymore, which was practical to dial it in and then set it in advancedsettings.xml)
1. Most of my test files don’t work anymore at all. They start, and then nothing happens. I can open the player menu or PlayerProcessInfo, but nothing plays. When I quit the playback it just hangs. Sometimes opening up the lid of the Laptop (thus forcing an update of video output on the OS) gets me back to the menu, but mostly not or it just crashes. In the debug log (near the end) you can see me exiting the first not working video and exiting without success, then successfully getting back with this method, then opening another such test file with Kodi crashing when I close the lid (Crash log). Note that this crashing occurs whether or not passthrough is enabled.
I really don’t know what is wrong with these files. They worked before and still work with VLC. None of my „regular“ video files show this behaviour in Krypton.
2. There are testfiles that still work, you can see me playing them right after turning on debug level logging. These are 2ch ac3/dts/pcm audio streams. Even though passthrough is enabled, the AC3 and DTS files are decoded and output as PCM. Am I right to assume that since I use „sync playback to display“ Kodi is deciding that passthrough will not work properly and therefore is outputting PCM as this is possible per the configuration? I somewhat verified this by setting the channel configuration to 5.1 which results in 5.1 files also being decoded.
3. In the debug log I also play the Ant-Man test clip. This is where I can consistently hear crackling in the audio.
Crashlog: http://pastebin.com/vmcpd22v
Debug log: http://pastebin.com/w2gGRK17
Please tell me, if I omitted any possibly useful information and what other tests to run to help fix this.
Thank you!