As long as I can remember with OSMC I randomly get audio dropouts (or suddenly really low volume) when playing a movie.
The drop is less than 0.5 seconds, so that’s why I’ve lived with it so far but it is annoying.
When I play directly from my LG TV instead of via OSMC there’s no issues.
To get a better understanding of the problem you are experiencing we need more information from you. The best way to get this information is for you to upload logs that demonstrate your problem. You can learn more about how to submit a useful support request here.
Depending on the used skin you have to set the settings-level to standard or higher, in summary:
enable debug logging at settings->system->logging
reboot the OSMC device twice(!)
reproduce the issue
upload the log set (all configs and logs!) either using the Log Uploader method within the My OSMC menu in the GUI or the ssh method invoking command grab-logs -A
publish the provided URL from the log set upload, here
Thanks for your understanding. We hope that we can help you get up and running again shortly.
Change your audio channels to 7.1 and your UI resolution to 1080p and test again.
We recommend people with 4K TV’s set their user interface (UI) to 1080p. Kodi’s UI is not optimized for 4K yet and this can put unnecessary demands on your device and can lead to a suboptimal picture quality, as well as potentially cause other issues.
With the above settings your UI will be output in Full HD and your 4K content will be output in 4K. *Information regarding the whitelist can be found here. If you have any doubt, feel free to upload some logs so we can verify that your settings are indeed correct.
So the volume drops seem to have become less but now I had really loud CRACKS/POPS in the sound, and sometimes still volume dropping.
In this logfile https://paste.osmc.tv/uveyagomil
timestamps (from the video i had on, but I started the logging after the video was already running for a little while… ):
loud crack/pop between
12:00 - 12:10
12:30 - 12:40
2020-10-30 19:12:00.169 T:3327869152 DEBUG: Readrate 60000 is too low with 4079033
If I search that log for “DEBUG: Readrate” I get over 8k hits.
You might try taking one of these files your having an issue with and try playing it from USB storage to see if the issue really is with Kodi and/or your audio settings and not something to do with your connection to your source.
Also, and this is probably unrelated, I spoke in error when I said for you to change your channels to 7.1. I only looked that you had it set to 4.1 but didn’t notice what your equipment is reporting as supported, which is only 2 PCM channels, which is what it should be set at.
I will try playing from USB, but I’d be surprised if that’d be the case since playing from LG webOS works fine - and the issue in kodi persists on anything from very high bitrate DTS-MA 4K files to crappy 1080p files. It also doesn’t seem to happen more often on bigger files. I also don’t get any stuttering or whatever.
This part confuses me - could you explain what you’re talking about?: I only looked that you had it set to 4.1 but didn’t notice what your equipment is reporting as supported, which is only 2 PCM channels, which is what it should be set at.
It shouldn’t be just 2PCM channels as I have a 4.1 setup and it’s supposed to pass through DTS (or whatever codec is used) to my receiver. The video file I was playing didn’t have DTS audio or anything though.
Either way I’ll set it back to 4.1 then?
Right now I’m using HDMI ARC, so OSMC is directly connected to my TV, which is connected to my receiver.
When playing DTS file I can see the receiver is receiving DTS.
OSMC isn’t connected to my receiver directly because it’s a 1080p receiver. (I do have a hdmi splitter (similar to HD Fury) with which I could connect OSMC Audio to receiver and video to TV in case I want to watch MA Audio since that can not done over HDMI ARC Passthrough. But that method gave me a lot of troubles when using other sources than OSMC)
I’ll try that but my first tests indicated that this means having to watch in stereo (at least, if the file is DD+ surround, and I disable DD+ passthrough, it plays in STEREO instead).
Another thing I have noticed, is that if I don’t do anything in the menu for 2 seconds, then the first menu action (eg pressing ‘down’) is muted, the 2nd press is audible but silent, and after the third press it’s full volume until I stop pressing something for 2 seconds again. Then it starts over. It didn’t use to be like that, maybe it’s a change in kodi, but I figured I might mention it in case it’s connected. This topic seems similar Silence at the beginning of media/menu sound playback. - I figured “keeping audio alive” would help but it doesnt
If you turn off DD+ transcoding then it will output as PCM when playing that type of source audio and, with your current configuration (ARC), that is limited to stereo. You can enable AC3 transcoding to overcome this but the goal was to try to narrow down where the issue is.
Given your description of your setup I wonder if you might be better off just running the Vero’s audio to your AVR via toslink instead of via ARC.
I actually tried some other solutions I found (eg installing pulseaudio) but that cause my audio to completely stop working. So I had to do a full reinstall, and so far it seems that might have solved the problem as well! I’ll try to watch a full movie today and mark this as solved in case it is really gone.