[BUG] HDMI output doesn't work with MP4 files.

  • Hey guys,

    So, I need some help here. I'm running KODI on the latest LibreELEC on Odroid C2.

    In KODI, I have two audio output devices which I can select:

    -ALSA: Default (AML-M8AUDIO, Analog)


    Ideally, I always want to use my HDMI output because it then leaves all audio decoding tasks to my AVR (Denon s930h), which has a much better DAC (digital to analog converter) than my Odroid C2.

    Really, I'm not being picky here. The difference in audio quality is actually quite noticeable.

    The problem is, HDMI works most of the time, but it simply doesn't work with MP4 files.

    When this happens, if I change the output to Default (Analog), the audio comes back, but with reduced quality, since it gets decoded by C2 instead of my AVR.

    Anyway, my AVR should be capable of decoding pretty much anything, and I'm fairly sure it can decode MP4 files.

    Do you have any idea about what's happening? Maybe I'm missing some other configuration?

    Here's the log file. I try to play an MP4 movie via HDMI and there's no sound. Then I change to Default (Analog) and the sound comes back. Then change back to HDMI and no sound again.


    Thanks in advance for the help,


    Edited 2 times, last by Morguito ().

  • I don't have your system, I do not know much about logs.

    But, in case no one answers you.

    On my Intel nuc, I see my Onkyo listed under audio. But you don't see your amp?

    Try different hdmi cable?

    When you select hdmi, do you select passthrough?

    Not ideal, but you can quickly convert mp4 to mkv using mkvtoolnix

    Samsung RU7400 Onkyo HTX22HDX Nvidia Shield HD Homerun Duo (Living Room)

    Samsung UE40ES5500 H96 Pro, X96+, Fire TV 4K Stick (Bedroom)

    Synology DS920+ Plex Pass


  • This line of the log file could be the cause:

    2018-06-22 08:11:53.706 T:4064064368 WARNING: Pulseaudio module module-allow-passthrough not loaded - opening PT devices might fail

    Looks like an LE bug.

    Flexin' vinyl, jammin' break beats. 8)

  • Similar thread here: Stereo passthrough issue in L9 and Odroid C2

    Have you tried CoreElec ?

    Similar issue, except that in my case I'm having problems specifically with aac/mp4 files. Other formats, stereo or not, work fine.

    And no, I haven't tried CoreElec. Lost my emmc>micro sd adapter, so unless there's another way to install it remotely, I'm stuck with LibreElec. Tried to place its image inside the update folder and restart, but it didn't update to CoreElec.

    Anyway, so far, I've found 3 workarounds, but none of them is ideal.

    1-Play everything through the default/analog output. This doesn't affect passthrough signals, but plays music files through Odroid's DAC, which sounds considerably worse than my AVR's DAC.

    2-Enable "stereo upmix". This makes aac/mp4 play, but will upmix everything that doesn't passes through, including my music files. Far from ideal, in fact, I'm yet to find any upmixing process that sounds good.

    3-Enable "stereo upmix", reduce number of channels to 2, enable "Dolby Digital Transcoding". When you reduce the number of channels to 2, a new option called "Enable Dolby Digital Transcoding" shows up under "Passtrough" settings. This allows video files encoded with aac/pm4 to be properly decoded by the AVR...Again, the downside is that music files are still processed by Kodi; They're not really upsampled, since there are just 2 channels selected, but are still being unpleasantly processed.

    To sum up, the problem boils down to playing music. Every one of the above workarounds "solves" the "video without sound" issue, specially option 3. However, in every one of them music quality is still being affected either by Odroid's DAC or Kodi internal processing.

    If you ask me, this is a bug.

  • What, my log? I've generated and uploaded it yesterday.

    Yes, you have a mix of old and new entries in there. This is impossible, and probably another bug:

    2018-06-22 08:11:52.981 T:4086567712 NOTICE: Kodi compiled 2019-02-21 by GCC 8.2.0 for Linux ARM 32-bit version 3.14.29 (200221)

    Flexin' vinyl, jammin' break beats. 8)

  • So, should I submit a bug report? I'm fairly sure this is a LibreELEC bug, since others have reported solving this issue by moving to CoreELEC.

  • So, should I submit a bug report? I'm fairly sure this is a LibreELEC bug, since others have reported solving this issue by moving to CoreELEC.

    The link above already leads to a bug report. I would just rename the thread title by using the [BUG] prefix. If you're lucky, they will fix it this week with LE 9.0.2.

    Flexin' vinyl, jammin' break beats. 8)

  • I can confirm that CoreELEC doesn't have this issue.

    I've started using it yesterday and it's working just fine.