5.1 audio problem

  • Hi, I'm running LibreElec 8.2.0 on Wetek Hub.

    Wetek is connected to the tv via HDMI, audio goes to receiver with speakers via toslink to cinch convertor.

    CEC is disabled.

    When I play an mkv with 5.1 audio included, I hear audio through the internal tv speaker, but the receiver speakers stay silent (except for random quiet clicking sound).

    When I plan an older file with mp3 audio included, receiver plays the audio fine.

    The audio of the kodi GUI while exploring kodi works fine.

    Audio output setting = ALSA Default (AML-M8AUDIO analog).

    I now have a bad hack, where I start playing a video (no sound through receiver speakers), press back back so I am in the menu, play around in the menu and then open the video file again. This way, I *sometimes* have good audio through receiver speakers.

    I think Kodi tries to tell the tv to play 6 channels instead of 2, and I don't know how to change this.

    Excerpt from Logfile:

    WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED

    13:21:21.561 T:546660413664 NOTICE: Creating InputStream

    13:21:21.576 T:546660413664 NOTICE: Creating Demuxer

    13:21:21.682 T:546660413664 NOTICE: Opening stream: 0 source: 256

    13:21:21.682 T:546660413664 NOTICE: Creating video codec with codec id: 28

    13:21:23.228 T:546660413664 ERROR: Unable to load libamplayer.so, reason: libamplayer.so: cannot open shared object file: No such file or directory

    13:21:23.229 T:546660413664 WARNING: CAMLCodec::CAMLCodec libamplayer.so not found, trying libamcodec.so instead

    13:21:23.258 T:546660413664 NOTICE: Creating video thread

    13:21:23.259 T:546660413664 NOTICE: Opening stream: 1 source: 256

    13:21:23.259 T:546048045280 NOTICE: running thread: video_thread

    13:21:23.259 T:546660413664 NOTICE: Finding audio codec for: 86019

    13:21:23.260 T:546660413664 NOTICE: Creating audio thread

    13:21:23.260 T:545178685664 NOTICE: running thread: CVideoPlayerAudio::Process()

    13:21:23.260 T:546660413664 NOTICE: Opening stream: 0 source: 1024

    13:21:23.352 T:545178685664 NOTICE: Creating audio stream (codec id: 86019, channels: 6, sample rate: 48000, no pass-through)

    13:21:23.419 T:546048045280 NOTICE: CAMLCodec::OpenDecoder - using V4L2 pts format: 64Bit

    13:22:14.136 T:545178685664 ERROR: CDVDAudio::AddPacketsRenderer - timeout adding data to renderer

    13:22:30.322 T:546048045280 ERROR: Previous line repeats 3 times.

    13:22:30.323 T:546048045280 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer

    Thank you

    Cedric

  • Thanks for your feedback!

    My tv used to play all audio through the receiver when I had an older version of Kodi on my Ouya device.

    It also worked 80% of the time with the pre-installed Kodi on the Wetek Hub, but it now fails continuously on Libreelec, so chances are that there might be a software solution instead of buying a new receiver?