Page 1 of 1

4k MKV is driving me nuts!

Posted: Mon Nov 19, 2018 8:52 pm
by Putious
I currently have an LG C8 which can easily handle native 4k HEVC MKV files or below.

I had the LG MediaServer app on Win10 but it was too simple and restricting, but it works. I can play just about anything on the TV.

When using UMS, 4k files don't play, reporting something along the lines of 'Media device disconnected'. 1080p or lower plays just fine.

Here's the logs:
19:17:51 INFO Setting video resolution to: 1920x800, the maximum your renderer supports
19:17:51 INFO Exception in thread "HTTPv1 Request Worker 108" java.lang.NullPointerException
19:17:51 INFO at net.pms.io.ProcessWrapperImpl.<init>(ProcessWrapperImpl.java:105)
19:17:51 INFO at net.pms.io.ProcessWrapperImpl.<init>(ProcessWrapperImpl.java:88)
19:17:51 INFO at net.pms.io.ProcessWrapperImpl.<init>(ProcessWrapperImpl.java:67)
19:17:51 INFO at net.pms.encoders.MEncoderVideo.launchTranscode(MEncoderVideo.java:2478)
19:17:51 INFO at net.pms.encoders.FFMpegVideo.launchTranscode(FFMpegVideo.java:924)
19:17:51 INFO at net.pms.dlna.DLNAResource.getInputStream(DLNAResource.java:3476)
19:17:51 INFO at net.pms.network.Request.answer(Request.java:464)
19:17:51 INFO at net.pms.network.RequestHandler.run(RequestHandler.java:274)
19:17:51 INFO at java.lang.Thread.run(Unknown Source)

The offending line appears to the the resolution. Why is that there?

Any ideas what to do? Please, pretty please.

Re: 4k MKV is driving me nuts!

Posted: Tue Nov 20, 2018 11:50 pm
by valib
Please follow Forum rules instruction written in red above and send the log.

Re: 4k MKV is driving me nuts!

Posted: Thu Nov 22, 2018 6:21 pm
by Putious
Hi, I've attached the debug logs as per the guidelines.

If someone could kindly take a look and provide some insight, I would be greatly appreciative.

Thank in advance!!

Re: 4k MKV is driving me nuts!

Posted: Fri Nov 23, 2018 9:52 am
by Sami32
Hi Putious,

This UMS bug has probably been introduced after 7.3.0. So if this NPE give you again issue i suggest you to try 7.3.0 or 6.7.4 version instead.

Your 4K problem come from that you are not using correct setting into your renderer configuration file.
Try to add the following file into your .conf file and you should be good ;)

Code: Select all

MaxVideoWidth = 3840
MaxVideoHeight = 2160
H264Level41Limited = false
SupportedVideoBitDepths = 8,10

Re: 4k MKV is driving me nuts!

Posted: Fri Nov 23, 2018 8:43 pm
by Putious
Success!! And thank you for the assist! 4k videos are playing and the errors are gone.

I now have one last issue:
When I add new files to a folder, nothing appears in the media player. Only after I fully restart UMS (or the PC) do the new files appear listed.

On a side note: I have Serviio running as well (while trying to find ideal solution) and files appear near instantly.

Re: 4k MKV is driving me nuts!

Posted: Fri Nov 23, 2018 10:28 pm
by Sami32
You are welcome.

Did you tried to click on the "Restart" big upper button on the left of the big red "Quit" button?

If it doesn't work as expected, then i suggest you to revert back to an other version, 6.7.4 is a safe choice IMO:
https://sourceforge.net/projects/unimed ... 0Releases/

Re: 4k MKV is driving me nuts!

Posted: Sat Nov 24, 2018 3:56 pm
by Putious
Yes, quitting or restarting works fine.

However, I was hoping that the media library would update on it's own without requiring intervention

Re: 4k MKV is driving me nuts!

Posted: Sat Nov 24, 2018 11:20 pm
by Sami32
It see that you have misunderstood me. You shouldn't have to restart UMS.
Only click on the big "Restart" button to restart the server, so you don't have to quit UMS.
As i said, if it doesn't work as expected it is a bug.