I experience audio stuttering while playing 24-bit 192kHz stereo FLAC audio files on Odroid-N2Plus running CoreELEC 9.2.5 version (this issue was also existent on older version 9.2.4.2)
Mediainfo report:
Audio
Format : FLAC
Format/Info : Free Lossless Audio Codec
Duration : 4 min 55 s
Bit rate mode : Variable
Bit rate : 4 078 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 192 kHz
Bit depth : 24 bits
Compression mode : Lossless
Stream size : 144 MiB (99%)
Writing library : libFLAC 1.3.1 (UTC 2014-11-25)
I must say that Iāve never noticed this. My SACD and DVD-A collection is ripped to FLAC at various bit rates (88.2 and 176.4kHz for SACD) and 96 or 192kHz in the case of my DVD-A, depending on whether they are in stereo or 5.1.
Iāve just played almost all tracks on my Carly Simon āNo Secretsā stereo rip at 192kHz and no dropouts. Same with my 176.4kHz rip of DSOTM SACD - no audio glitches.
The only issue Iāve had with audio on CoreElec is the slight audio silence at the start of tracks if I switch from say track 2 to track 4 manually, but that happens on my Venz V10 Pro also. The only build that has always performed flawlessly with audio (and video) was Kzaqās build on Libreelec, but that is very old now.
So it seems the TV stutters the playback because of unsupported audio format coming in over the HDMI. CoreELEC still outputs 24-bit/192kHz although the client device is not able to properly process it.
You could just set kodi to output a fixed rate (say 44.1 or 48kHz) on the HDMI output if itās for a TV. It wonāt make any difference to the sound quality coming from TV speakers. I assumed from your original post that you were using an AV amplifier and this issue had occurred recently and had been working ok in the past.
I have stereo receiver (without HDMI ports) connected via analog jack ā stereo RCA cable and TV connected over the HDMI.
Thatās why I have analog output set in Kodi by default. It outputs audio over analog and simultaneously over the HDMI. So I donāt need to always change the default audio output in case I want to listen to the music from TV or HiFi receiver.
The problem is, there is no such option to limit the output for HDMI audio out to a fixed rate when I have selected analog output as default.
Do you have CEC turned on? Maybe the amp is polling the TV to try and activate it and dropping sync with Corelec. I have CEC turned off in my TV and amp and on my N2 as it causes too many issues. This may be because of the lousy implementation of CEC in my Sony amp or in the Samsung TV.
First up, I have CEC disabled on all of my equipment, since I use a Logitech Harmony remote for everything. In my experience, CEC absolutely does not coexist with the Harmony.
However, your reply has caused me to look more carefully at my AVR setup. Before I bought the N2, I was using various RPis in the same music configuration (Partymode Autostart, HDMI to AVR with TV off) and had this dropout issue from time to time. The common factor in all of this is the Onkyo AVR. I havenāt experimented thoroughly with the input signal settings but there are a few things I can try. It bothers me that sometimes music will play perfectly for 30-60mins or more, then start dropping out. It doesnāt appear to be related to the song file format, start/mid/end of song, LAN issues, heat, cable fault etc etc. Itās driving me crazy but I will persevere. Ultimately, Iād like to try a different AVR ā¦
Thanks, and please make further suggestions if you have anything else.
Cheers
I also had an Onkyo AVR but any dropout issues I had with high-res music were down to the early linux builds for Kodi (Libreelec) on the S905/S905X Amlogic boxes. Multichannel PCM support was slow to become available but eventually kzaq nailed it in the Libreelec Amlogic builds. Since then, I really havenāt had any dropout problems. When Coreelec continued development on the Amlogic boxes, I switched over and Iāve found the audio to be very stable subsequently. Iām only recently using the N2+ and finding it great. Runs cool and very responsive. I replaced my Onkyo with a Sony AVR mainly to give myself more flexibility with network connectivity and bluetooth support. I preferred the beefier sound of the Onkyo. Like you, I also use a Logitech Harmony remote, so I have no need for CEC. I think some of the cheapo Amlogic boxes had poor CEC implementations and caused issues where you had multiple devices in the CEC chain.
I can only suggest that you turn on debug logging and see if Kodi logs anything specific when you get one of these dropouts.
Just out of curiosity, I enabled CEC on the N2, Onkyo (RHID) and Sony TV (Bravia) for a trial. The CoreElec CEC controls are quite detailed, so I was able to have it active but not doing very much. Unfortunately, I still had audio dropouts after a while. And sure enough, mysterious changes to AVR and TV inputs started happening which totally broke my well-sorted Harmony setups. I now have CEC all disabled again.
One thing just occurred to me: I can try listening to some music from my PVR, (also on HDMI and able to output PCM), again with the TV off. Will report back later ā¦
Well that was quick ā¦ and conclusive. Within minutes the PCM audio from the PVR started dropping out. The signal display on the Onkyo AVR went blank, exactly as it does when the CoreElec N2 audio is dropping out. BREAKTHROUGH!! CoreElec and the Odroid N2 are forgiven herewith!
I will now gracefully depart this thread (and close the other topic I raised last week). Thank you all for the assistance.