Page 1 of 1

[Solved] MKV files won't stream

Posted: Tue Dec 17, 2024 9:31 pm
by boss
@mik_s
Hi,
I can't get some MKV files to stream to my LG TV's although the TV's support streaming of these files.
I can go into the transcode folder and choose no transcoding and they stream fine.
Also they stream fine on DMS (a media server based on UMS).
From memory, these files also streamed fine on previous UMS versions but I'm not sure how far back that was.
Perhaps you could check my log file and conf files attached and see if you see what the issue might be.
Thank you.

PS: I loaded old versions of UMS going back and it seems it worked fine util V8 and after.

Re: MKV files won't stream

Posted: Wed Dec 18, 2024 11:38 am
by mik_s
Is it just happening for those videos or for all MKVs?

I can see they are being transcoded as they use the "aac-main" audio codec that is not defined as supported.

Code: Select all

Audio codec "aac-main" failed to match support line f:mkv     v:h264|h265|mp4|mpeg2|mpeg4asp|mpeg4sp|vp8|vp9	a:aac-lc|he-aac|ac3|eac3|dts|mp3|mpa|opus|vorbis   	m:video/x-matroska
I had not seen "aac-main" before but I am guessing it is just normal "aac".
Maybe the result from mediainfo has changed this and that could explain why it works on old versions if it just gave "aac", either that or the conf changed at some point.

You could check the properties in a media player on your computer like MPC or VLC to confirm it is using the "aac-main" codec tag and its not coming from mediainfo.

The fix would be to add "aac-main" to that supported line for audio.
I think these lines are just regex so you could just replace "aac-lc|he-aac" with "aac" and this should match all 3 types in theory, but they might be other types of aac not supported so this may be to general.

Re: MKV files won't stream

Posted: Wed Dec 18, 2024 3:25 pm
by boss
Thanks for the reply.
Adding "aac-main" to my conf file for MKV files resolved the issue.
Cheers

Re: MKV files won't stream

Posted: Wed Dec 25, 2024 1:54 pm
by SubJunk
Ah great, this must be a parsing problem. I will work on a fix
I made an issue on GitHub to track progress https://github.com/UniversalMediaServer ... ssues/5190

Re: MKV files won't stream

Posted: Sun Jan 05, 2025 1:22 pm
by SubJunk
The fix has been merged to main and will be released in the next version