Various video (MKV) files will not play

I recently switched from raspbmc on a pi to OSMC on aPI2, now a lot of movies that played happily on raspbmc will not play anymore.
The first time you start a file it seemingly does nothing ( there is a little click from the spakers ) when you then try to play it again OSMC tells you that “One or more items failed to play. Check the log file for details.”

As far as I can see they are all MKV V2’s with a AVC video codec and DTS audio.

See the MediaInfo outputs below :

General
Complete name                            : Berb.mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 4.39 GiB
Duration                                 : 1h 32mn
Overall bit rate                         : 6 826 Kbps
Encoded date                             : UTC 2013-01-04 17:27:30
Writing application                      : mkvmerge v5.8.0 ('No Sleep / Pillow') built on Sep  2 2012 15:37:04
Writing library                          : libebml v1.2.3 + libmatroska v1.3.0

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L3.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4 frames
Muxing mode                              : Header stripping
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 1h 32mn
Bit rate                                 : 6 107 Kbps
Width                                    : 1 280 pixels
Height                                   : 688 pixels
Display aspect ratio                     : 1.85:1
Frame rate mode                          : Constant
Frame rate                               : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.289
Stream size                              : 3.81 GiB (87%)
Writing library                          : x264 core 112
Encoding settings                        : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=abr / mbtree=1 / bitrate=6107 / ratetol=1.0 / qcomp=0.60 / qpmin=3 / qpmax=51 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Language                                 : English
Default                                  : Yes
Forced                                   : No
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709
Color range                              : Limited

Audio
ID                                       : 2
Format                                   : DTS
Format/Info                              : Digital Theater Systems
Mode                                     : 16
Format settings, Endianness              : Big
Muxing mode                              : Header stripping
Codec ID                                 : A_DTS
Duration                                 : 1h 32mn
Bit rate mode                            : Constant
Bit rate                                 : 768 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 24 bits
Compression mode                         : Lossy
Stream size                              : 506 MiB (11%)
Default                                  : Yes
Forced                                   : No
    General
    Complete name                            : 3d.mkv
    Format                                   : Matroska
    Format version                           : Version 2
    File size                                : 5.46 GiB
    Duration                                 : 2h 2mn
    Overall bit rate                         : 6 393 Kbps
    Writing application                      : mkvmerge v4.1.1 ('Bouncin' Back') built on Jul  3 2010 22:54:08
    Writing library                          : libebml v1.0.0 + libmatroska v1.0
    
    Video
    ID                                       : 1
    Format                                   : AVC
    Format/Info                              : Advanced Video Codec
    Format profile                           : High@L4.1
    Format settings, CABAC                   : Yes
    Format settings, ReFrames                : 5 frames
    Codec ID                                 : V_MPEG4/ISO/AVC
    Duration                                 : 2h 2mn
    Bit rate                                 : 4 882 Kbps
    Width                                    : 1 280 pixels
    Height                                   : 536 pixels
    Display aspect ratio                     : 2.40:1
    Frame rate mode                          : Constant
    Frame rate                               : 23.976 fps
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Bits/(Pixel*Frame)                       : 0.297
    Stream size                              : 4.06 GiB (74%)
    Writing library                          : x264 core 142 r2431 ac76440
    Encoding settings                        : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=4882 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
    Language                                 : English
    Default                                  : Yes
    Forced                                   : No
    
    Audio
    ID                                       : 2
    Format                                   : DTS
    Format/Info                              : Digital Theater Systems
    Mode                                     : 16
    Format settings, Endianness              : Big
    Codec ID                                 : A_DTS
    Duration                                 : 2h 2mn
    Bit rate mode                            : Constant
    Bit rate                                 : 1 509 Kbps
    Channel(s)                               : 6 channels
    Channel positions                        : Front: L C R, Side: L R, LFE
    Sampling rate                            : 48.0 KHz
    Bit depth                                : 24 bits
    Compression mode                         : Lossy
    Stream size                              : 1.29 GiB (24%)
    Language                                 : English
    Default                                  : Yes
    Forced                                   : No
    
    Text
    ID                                       : 3
    Format                                   : UTF-8
    Codec ID                                 : S_TEXT/UTF8
    Codec ID/Info                            : UTF-8 Plain Text
    Language                                 : English
    Default                                  : No
    Forced                                   : No
    
    Menu
    00:00:00.000                             : en:00:00:00.000
    00:03:35.132                             : en:00:03:35.132
    00:06:58.543                             : en:00:06:58.543
    00:10:56.573                             : en:00:10:56.573
    00:16:00.710                             : en:00:16:00.710
    00:20:51.709                             : en:00:20:51.709
    00:25:05.963                             : en:00:25:05.963
    00:29:24.346                             : en:00:29:24.346
    00:34:20.392                             : en:00:34:20.392
    00:37:46.806                             : en:00:37:46.806
    00:40:27.300                             : en:00:40:27.300
    00:44:05.226                             : en:00:44:05.226
    00:49:24.795                             : en:00:49:24.795
    00:53:16.443                             : en:00:53:16.443
    00:57:40.874                             : en:00:57:40.874
    01:08:28.396                             : en:01:08:28.396
    01:13:37.621                             : en:01:13:37.621
    01:19:51.828                             : en:01:19:51.828
    01:25:59.070                             : en:01:25:59.070
    01:32:28.167                             : en:01:32:28.167
    01:39:10.569                             : en:01:39:10.569
    01:42:49.413                             : en:01:42:49.413
    01:51:49.452                             : en:01:51:49.452
    01:54:55.597                             : en:01:54:55.597

    General
    Complete name                            : Sig.mkv
    Format                                   : Matroska
    Format version                           : Version 2
    File size                                : 8.87 GiB
    Duration                                 : 1h 37mn
    Overall bit rate mode                    : Variable
    Overall bit rate                         : 13.1 Mbps
    Encoded date                             : UTC 2014-09-15 18:22:35
    Writing application                      : mkvmerge v5.8.0 ('No Sleep / Pillow') built on Sep  2 2012 15:37:04
    Writing library                          : libebml v1.2.3 + libmatroska v1.3.0
    
    Video
    ID                                       : 1
    Format                                   : AVC
    Format/Info                              : Advanced Video Codec
    Format profile                           : High@L4.1
    Format settings, CABAC                   : Yes
    Format settings, ReFrames                : 4 frames
    Muxing mode                              : Header stripping
    Codec ID                                 : V_MPEG4/ISO/AVC
    Duration                                 : 1h 37mn
    Nominal bit rate                         : 10 000 Kbps
    Width                                    : 1 920 pixels
    Height                                   : 800 pixels
    Display aspect ratio                     : 2.40:1
    Frame rate mode                          : Constant
    Frame rate                               : 23.976 fps
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Bits/(Pixel*Frame)                       : 0.272
    Writing library                          : x264 core 130 r2273 b3065e6
    Encoding settings                        : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=abr / mbtree=1 / bitrate=10000 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=62500 / vbv_bufsize=78125 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00
    Language                                 : English
    Default                                  : Yes
    Forced                                   : No
    Color primaries                          : BT.709
    Transfer characteristics                 : BT.709
    Matrix coefficients                      : BT.709
    Color range                              : Limited
    
    Audio
    ID                                       : 2
    Format                                   : DTS
    Format/Info                              : Digital Theater Systems
    Format profile                           : MA / Core
    Mode                                     : 16
    Format settings, Endianness              : Big
    Muxing mode                              : Header stripping
    Codec ID                                 : A_DTS
    Duration                                 : 1h 37mn
    Bit rate mode                            : Variable
    Bit rate                                 : Unknown / 1 509 Kbps
    Channel(s)                               : 6 channels
    Channel positions                        : Front: L C R, Side: L R, LFE
    Sampling rate                            : 48.0 KHz
    Bit depth                                : 24 bits
    Compression mode                         : Lossless / Lossy
    Language                                 : English
    Default                                  : Yes
    Forced                                   : No
    
    Text #1
    ID                                       : 3
    Format                                   : PGS
    Muxing mode                              : zlib
    Codec ID                                 : S_HDMV/PGS
    Codec ID/Info                            : The same subtitle format used on BDs/HD-DVDs
    Language                                 : English
    Default                                  : No
    Forced                                   : No
    
    Text #2
    ID                                       : 4
    Format                                   : PGS
    Muxing mode                              : zlib
    Codec ID                                 : S_HDMV/PGS
    Codec ID/Info                            : The same subtitle format used on BDs/HD-DVDs
    Language                                 : Spanish
    Default                                  : No
    Forced                                   : No
    
    Text #3
    ID                                       : 5
    Format                                   : PGS
    Muxing mode                              : zlib
    Codec ID                                 : S_HDMV/PGS
    Codec ID/Info                            : The same subtitle format used on BDs/HD-DVDs
    Language                                 : French
    Default                                  : No
    Forced                                   : No
    
    Menu
    00:00:00.000                             : en:Chapter 1
    00:04:26.099                             : en:Chapter 2
    00:08:29.592                             : en:Chapter 3
    00:12:52.605                             : en:Chapter 4
    00:17:20.956                             : en:Chapter 5
    00:23:18.355                             : en:Chapter 6
    00:27:36.529                             : en:Chapter 7
    00:33:47.775                             : en:Chapter 8
    00:38:41.819                             : en:Chapter 9
    00:42:48.816                             : en:Chapter 10
    00:46:52.851                             : en:Chapter 11
    00:51:03.477                             : en:Chapter 12
    00:56:00.899                             : en:Chapter 13
    01:01:50.206                             : en:Chapter 14
    01:05:25.379                             : en:Chapter 15
    01:12:40.230                             : en:Chapter 16
    01:16:38.343                             : en:Chapter 17
    01:23:49.190                             : en:Chapter 18
    01:30:09.904                             : en:Chapter 19
    01:33:01.158                             : en:Chapter 20

I had a problem playing some files as well. I’m referring you back to that thread in the hope that it might be helpful.

Could you provide debug logs please.

As CaNsA says, debug logs is the first step.
The second step is to produce a sample file (e.g. with mmg from mkvtoolnix) and upload (e.g. to dropbox or google drive).
If I can reproduce the issue, I can probably fix it.

A sample could be a bit tricky, the smalles file is 5GB+, I’ll have a look if i can create a snippet with mkvtoolnix

Logfile I can do right away:

07:33:36 T:2617242656  NOTICE: Thread JobWorker start, auto delete: true
07:33:38 T:2683302944  NOTICE: Thread BackgroundLoader start, auto delete: false
07:33:47 T:3024019456  NOTICE: DVDPlayer: Opening: smb://192.168.10.10/film_2/Berb.mkv
07:33:47 T:3024019456 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
07:33:47 T:2683302944  NOTICE: Thread DVDPlayer start, auto delete: false
07:33:47 T:2683302944  NOTICE: Creating InputStream
07:33:47 T:2683302944   ERROR: CDVDPlayer::OpenInputStream - error opening [smb://192.168.10.10/film_2/Berb.mkv]
07:33:47 T:2683302944  NOTICE: CDVDPlayer::OnExit()
07:33:47 T:3024019456   ERROR: Playlist Player: skipping unplayable item: 0, path [smb://192.168.10.10/film_2/Berb.mkv]
07:33:47 T:2683302944  NOTICE: Thread BackgroundLoader start, auto delete: false
07:33:47 T:3024019456  NOTICE: CDVDPlayer::CloseFile()
07:33:47 T:3024019456  NOTICE: DVDPlayer: waiting for threads to exit
07:33:47 T:3024019456  NOTICE: DVDPlayer: finished waiting
07:33:47 T:3024019456  NOTICE: CDVDPlayer::CloseFile()
07:33:47 T:3024019456  NOTICE: DVDPlayer: waiting for threads to exit
07:33:47 T:3024019456  NOTICE: DVDPlayer: finished waiting
07:33:47 T:3024012320  NOTICE: Found 1 Lists of Devices
07:33:47 T:3024012320  NOTICE: Enumerated PI devices:
07:33:47 T:3024012320  NOTICE:     Device 1
07:33:47 T:3024012320  NOTICE:         m_deviceName      : HDMI
07:33:47 T:3024012320  NOTICE:         m_displayName     : HDMI
07:33:47 T:3024012320  NOTICE:         m_displayNameExtra:
07:33:47 T:3024012320  NOTICE:         m_deviceType      : AE_DEVTYPE_HDMI
07:33:47 T:3024012320  NOTICE:         m_channels        : FL,FR
07:33:47 T:3024012320  NOTICE:         m_sampleRates     : 8000,11025,16000,22050,24000,32000,44100,48000,88200,96000,176400,192000
07:33:47 T:3024012320  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP,AE_FMT_AC3,AE_FMT_DTS,AE_FMT_EAC3
07:33:47 T:3024012320  NOTICE:     Device 2
07:33:47 T:3024012320  NOTICE:         m_deviceName      : Analogue
07:33:47 T:3024012320  NOTICE:         m_displayName     : Analogue
07:33:47 T:3024012320  NOTICE:         m_displayNameExtra:
07:33:47 T:3024012320  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
07:33:47 T:3024012320  NOTICE:         m_channels        : FL,FR
07:33:47 T:3024012320  NOTICE:         m_sampleRates     : 48000
07:33:47 T:3024012320  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
07:33:47 T:3024012320  NOTICE:     Device 3
07:33:47 T:3024012320  NOTICE:         m_deviceName      : Both
07:33:47 T:3024012320  NOTICE:         m_displayName     : HDMI and Analogue
07:33:47 T:3024012320  NOTICE:         m_displayNameExtra:
07:33:47 T:3024012320  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
07:33:47 T:3024012320  NOTICE:         m_channels        : FL,FR
07:33:47 T:3024012320  NOTICE:         m_sampleRates     : 48000
07:33:47 T:3024012320  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
07:34:01 T:3024019456  NOTICE: DVDPlayer: Opening: smb://192.168.10.10/film_2/Berb.mkv
07:34:01 T:3024019456 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
07:34:01 T:2683302944  NOTICE: Thread DVDPlayer start, auto delete: false
07:34:01 T:2683302944  NOTICE: Creating InputStream
07:34:01 T:2683302944   ERROR: CDVDPlayer::OpenInputStream - error opening [smb://192.168.10.10/film_2/Berb.mkv]
07:34:01 T:2683302944  NOTICE: CDVDPlayer::OnExit()
07:34:01 T:3024019456   ERROR: Playlist Player: skipping unplayable item: 0, path [smb://192.168.10.10/film_2/Berb.mkv]
07:34:01 T:2683302944  NOTICE: Thread BackgroundLoader start, auto delete: false
07:34:01 T:3024019456  NOTICE: CDVDPlayer::CloseFile()
07:34:01 T:3024019456  NOTICE: DVDPlayer: waiting for threads to exit
07:34:01 T:3024019456  NOTICE: DVDPlayer: finished waiting
07:34:01 T:3024019456  NOTICE: CDVDPlayer::CloseFile()
07:34:01 T:3024019456  NOTICE: DVDPlayer: waiting for threads to exit
07:34:01 T:3024019456  NOTICE: DVDPlayer: finished waiting
07:34:01 T:3024012320  NOTICE: Found 1 Lists of Devices
07:34:01 T:3024012320  NOTICE: Enumerated PI devices:
07:34:01 T:3024012320  NOTICE:     Device 1
07:34:01 T:3024012320  NOTICE:         m_deviceName      : HDMI
07:34:01 T:3024012320  NOTICE:         m_displayName     : HDMI
07:34:01 T:3024012320  NOTICE:         m_displayNameExtra:
07:34:01 T:3024012320  NOTICE:         m_deviceType      : AE_DEVTYPE_HDMI
07:34:01 T:3024012320  NOTICE:         m_channels        : FL,FR
07:34:01 T:3024012320  NOTICE:         m_sampleRates     : 8000,11025,16000,22050,24000,32000,44100,48000,88200,96000,176400,192000
07:34:01 T:3024012320  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP,AE_FMT_AC3,AE_FMT_DTS,AE_FMT_EAC3
07:34:01 T:3024012320  NOTICE:     Device 2
07:34:01 T:3024012320  NOTICE:         m_deviceName      : Analogue
07:34:01 T:3024012320  NOTICE:         m_displayName     : Analogue
07:34:01 T:3024012320  NOTICE:         m_displayNameExtra:
07:34:01 T:3024012320  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
07:34:01 T:3024012320  NOTICE:         m_channels        : FL,FR
07:34:01 T:3024012320  NOTICE:         m_sampleRates     : 48000
07:34:01 T:3024012320  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
07:34:01 T:3024012320  NOTICE:     Device 3
07:34:01 T:3024012320  NOTICE:         m_deviceName      : Both
07:34:01 T:3024012320  NOTICE:         m_displayName     : HDMI and Analogue
07:34:01 T:3024012320  NOTICE:         m_displayNameExtra:
07:34:01 T:3024012320  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
07:34:01 T:3024012320  NOTICE:         m_channels        : FL,FR
07:34:01 T:3024012320  NOTICE:         m_sampleRates     : 48000
07:34:01 T:3024012320  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
07:34:16 T:3024019456  NOTICE: DVDPlayer: Opening: smb://192.168.10.10/film_2/Berb.mkv
07:34:16 T:3024019456 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
07:34:16 T:2683302944  NOTICE: Thread DVDPlayer start, auto delete: false
07:34:16 T:2683302944  NOTICE: Creating InputStream
07:34:16 T:2683302944   ERROR: CDVDPlayer::OpenInputStream - error opening [smb://192.168.10.10/film_2/Berb.mkv]
07:34:16 T:2683302944  NOTICE: CDVDPlayer::OnExit()
07:34:16 T:3024019456   ERROR: Playlist Player: skipping unplayable item: 0, path [smb://192.168.10.10/film_2/Berb.mkv]
07:34:16 T:3024019456  NOTICE: CDVDPlayer::CloseFile()
07:34:16 T:3024019456  NOTICE: DVDPlayer: waiting for threads to exit
07:34:16 T:3024019456  NOTICE: DVDPlayer: finished waiting
07:34:16 T:3024019456  NOTICE: CDVDPlayer::CloseFile()
07:34:16 T:3024019456  NOTICE: DVDPlayer: waiting for threads to exit
07:34:16 T:3024019456  NOTICE: DVDPlayer: finished waiting
07:34:16 T:3024012320  NOTICE: Found 1 Lists of Devices
07:34:16 T:3024012320  NOTICE: Enumerated PI devices:
07:34:16 T:3024012320  NOTICE:     Device 1
07:34:16 T:3024012320  NOTICE:         m_deviceName      : HDMI
07:34:16 T:3024012320  NOTICE:         m_displayName     : HDMI
07:34:16 T:3024012320  NOTICE:         m_displayNameExtra:
07:34:16 T:3024012320  NOTICE:         m_deviceType      : AE_DEVTYPE_HDMI
07:34:16 T:3024012320  NOTICE:         m_channels        : FL,FR
07:34:16 T:3024012320  NOTICE:         m_sampleRates     : 8000,11025,16000,22050,24000,32000,44100,48000,88200,96000,176400,192000
07:34:16 T:3024012320  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP,AE_FMT_AC3,AE_FMT_DTS,AE_FMT_EAC3
07:34:16 T:3024012320  NOTICE:     Device 2
07:34:16 T:3024012320  NOTICE:         m_deviceName      : Analogue
07:34:16 T:3024012320  NOTICE:         m_displayName     : Analogue
07:34:16 T:3024012320  NOTICE:         m_displayNameExtra:
07:34:16 T:3024012320  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
07:34:16 T:3024012320  NOTICE:         m_channels        : FL,FR
07:34:16 T:3024012320  NOTICE:         m_sampleRates     : 48000
07:34:16 T:3024012320  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
07:34:16 T:3024012320  NOTICE:     Device 3
07:34:16 T:3024012320  NOTICE:         m_deviceName      : Both
07:34:16 T:3024012320  NOTICE:         m_displayName     : HDMI and Analogue
07:34:16 T:3024012320  NOTICE:         m_displayNameExtra:
07:34:16 T:3024012320  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
07:34:16 T:3024012320  NOTICE:         m_channels        : FL,FR
07:34:16 T:3024012320  NOTICE:         m_sampleRates     : 48000
07:34:16 T:3024012320  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP

Any chance you could post the whole log file to http://paste.osmc.io please.

A complete debug enabled log is what we need here.

http://kodi.wiki/view/HOW-TO:Submit_a_proper_bug_report#Debug_log

Sorry to have wasted your time guys,

The problem is not OSMC/KODI but there is something curious going on with some file permissions on my server.

Some files extracted by sabnzbd onto the movie directory did not have the correct permissions, the trailer in the same directory as the movie could be played, but the movie could not.
Of course the trailer was in a different file-format and there are only a few other movies that would not play. What also didn’t help that the movies played fine on my workstation, which I of course access as another user.

Looking at the debug log made things a bit more clear …

18:59:18 T:2744841248    INFO: SMBFile->Open: Unable to open file : 'smb://USERNAME:PASSWORD@192.168.10.10/film_2/Signal%2c%20The%20(2014)/The%20Signal.mkv'
                                            unix_err:'d' error : 'Permission denied'
18:59:18 T:2744841248   ERROR: CDVDPlayer::OpenInputStream - error opening [smb://192.168.10.10/film_2/Signal, The (2014)/The Signal.mkv]
18:59:18 T:2744841248  NOTICE: CDVDPlayer::OnExit()