Kodi Community Forum
Linux Kodi 15 - some mkv with mp3 audio -> no audio - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: Linux Kodi 15 - some mkv with mp3 audio -> no audio (/showthread.php?tid=234646)

Pages: 1 2 3


Kodi 15 - some mkv with mp3 audio -> no audio - fxeon - 2015-08-08

Hi,
I'm on archlinux up to date and i have problems with some mkv files that used to play OK before on previous releases of kodi/xbmc.
I can play the files ok with audio on vlc but on kodi i have no sound on two different comps both under arch.
Here is a link to the debug log: here
I searched through various forums but couldn't get anything really related.
I can post a short sample of movie that doesn't play audio if need be.
Thank you for your time


RE: Kodi 15 - some mkv with mp3 audio -> no audio - DaVu - 2015-08-08

do you really think anyone wants to look at over 6000 lines of a logfile Wink?

enable debug logging, disable all epg and PVR things, reboot, reproduce your issue as fast as you can, grab the log, provide the link.

If it's only with some special files, the logfile should only be logged for a few minutes (1-3 minutes after bootup).

Always keep logs as short as possible


RE: Kodi 15 - some mkv with mp3 audio -> no audio - fxeon - 2015-08-08

True I will edit it, sorry


RE: Kodi 15 - some mkv with mp3 audio -> no audio - DaVu - 2015-08-09

Please don't edit a logfile...just do those things I explained and the log should then be short enough Wink


RE: Kodi 15 - some mkv with mp3 audio -> no audio - fxeon - 2015-08-09

There you go:
-Long version (cleaned from pvr plugins Wink )

-short one

I forgot to add that all those videos i can't read were transcoded using handbrake, they used to read fine before on kodi and they still do on vlc.
Huh

and btw the log is spewing error and it's still 6k lines


RE: Kodi 15 - some mkv with mp3 audio -> no audio - fritsch - 2015-08-09

As one can never trust arch linux (mixture of untested latest and greatest combined with the latest and greatest gcc compiler (which fucked up ffmpeg more than once)). Please try OpenELEC beta3 from an usb stick and see if the problem with this file persists. If it is the case - provide us a sample.


RE: Kodi 15 - some mkv with mp3 audio -> no audio - fritsch - 2015-08-09

Quote:13:05:02 T:139790221559552 INFO: ffmpeg[7F23727FC700]: Stream #0:1(fre), 5, 1/1000: Audio: mp3, 48000 Hz, mono, s16p, 128 kb/s (default)

Btw. this seems certainly wrong. Are you sure - this should be only 1 channel Audio?

Can you post the output of ffprobe with that sample?


RE: Kodi 15 - some mkv with mp3 audio -> no audio - fxeon - 2015-08-09

(2015-08-09, 08:20)fritsch Wrote:
Quote:13:05:02 T:139790221559552 INFO: ffmpeg[7F23727FC700]: Stream #0:1(fre), 5, 1/1000: Audio: mp3, 48000 Hz, mono, s16p, 128 kb/s (default)

Btw. this seems certainly wrong. Are you sure - this should be only 1 channel Audio?

Can you post the output of ffprobe with that sample?
There you go, downloading openelec right now
Code:
ffprobe S02E01.mkv
ffprobe version 2.7.2 Copyright (c) 2007-2015 the FFmpeg developers
  built with gcc 5.2.0 (GCC)
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-avisynth --enable-avresample --enable-fontconfig --enable-gnutls --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-shared --enable-version3 --enable-x11grab
  libavutil      54. 27.100 / 54. 27.100
  libavcodec     56. 41.100 / 56. 41.100
  libavformat    56. 36.100 / 56. 36.100
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 16.101 /  5. 16.101
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.100 /  1.  2.100
  libpostproc    53.  3.100 / 53.  3.100
Input #0, matroska,webm, from 'S02E01.mkv':
  Metadata:
    encoder         : libmkv 0.6.5
    TITLE           : 20140610 1838 - CANAL J - Saint Seiya Omega les Nouveaux Chevaliers du Zodiaque
  Duration: 00:22:40.04, start: 0.000000, bitrate: 727 kb/s
    Stream #0:0(eng): Video: h264 (Main), yuv420p(tv, smpte170m/bt470bg/bt709), 720x572 [SAR 64:45 DAR 256:143], 25 fps, 25 tbr, 1k tbn, 180k tbc (default)
    Stream #0:1(fre): Audio: mp3, 48000 Hz, mono, s16p, 128 kb/s (default)



RE: Kodi 15 - some mkv with mp3 audio -> no audio - fxeon - 2015-08-09

(2015-08-09, 08:09)fritsch Wrote: As one can never trust arch linux (mixture of untested latest and greatest combined with the latest and greatest gcc compiler (which fucked up ffmpeg more than once)). Please try OpenELEC beta3 from an usb stick and see if the problem with this file persists. If it is the case - provide us a sample.

Same problem with openelec : Openelec log

Here's a link to a sample:

1 min sample

Thanx for your time.


RE: Kodi 15 - some mkv with mp3 audio -> no audio - fxeon - 2015-08-09

Oh wait !
I just realised that after cutting it, it reads fine in openelec, seems that it's more a problem with handbrake rather than kodi, wrong mkv encapsulation? i'll keep investigating...
it is still weird that vlc can read it and not kodi, i'll prepare a 30 secs sample with handbrake to test it.


RE: Kodi 15 - some mkv with mp3 audio -> no audio - fxeon - 2015-08-09

here's a 30 sec sample freshly made with handbrake, as i suspected it reads fine in vlc but no sound in openelec...
seems like handbrake has problem with mp3 encapsulation in mkv...

30 sec hanbrake sample


RE: Kodi 15 - some mkv with mp3 audio -> no audio - fritsch - 2015-08-09

I rather think it's this "one channel" mono mp3? Any reason you do it mono?


RE: Kodi 15 - some mkv with mp3 audio -> no audio - fxeon - 2015-08-09

Source was mono I guess (I honestly can't remember as i did it several years ago)...but i have same problem with other files which have 2 channel stereo mp3 track (I can provide an other stereo sample)


RE: Kodi 15 - some mkv with mp3 audio -> no audio - fritsch - 2015-08-09

Mind filing the bug with handbrake? Kodi should not have to carry workarounds for broken encoder software.


RE: Kodi 15 - some mkv with mp3 audio -> no audio - fxeon - 2015-08-09

indeed ! Thanks for your help and keep up the great work.
I was suspecting kodi to be responsible for that because it used to work pre-Isengaard but I guess it's just that it became more rule adherent.