4k MKV is driving me nuts!

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
Putious
Posts: 4
Joined: Mon Nov 19, 2018 8:43 pm

4k MKV is driving me nuts!

Post 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.
User avatar
valib
Developer
Posts: 699
Joined: Fri Feb 08, 2013 3:11 am

Re: 4k MKV is driving me nuts!

Post by valib »

Please follow Forum rules instruction written in red above and send the log.
Putious
Posts: 4
Joined: Mon Nov 19, 2018 8:43 pm

Re: 4k MKV is driving me nuts!

Post 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!!
Attachments
ums_dbg.zip
(153.23 KiB) Downloaded 477 times
User avatar
Sami32
Posts: 851
Joined: Mon Apr 11, 2016 5:09 am

Re: 4k MKV is driving me nuts!

Post 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
Putious
Posts: 4
Joined: Mon Nov 19, 2018 8:43 pm

Re: 4k MKV is driving me nuts!

Post 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.
User avatar
Sami32
Posts: 851
Joined: Mon Apr 11, 2016 5:09 am

Re: 4k MKV is driving me nuts!

Post 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/
Putious
Posts: 4
Joined: Mon Nov 19, 2018 8:43 pm

Re: 4k MKV is driving me nuts!

Post 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
User avatar
Sami32
Posts: 851
Joined: Mon Apr 11, 2016 5:09 am

Re: 4k MKV is driving me nuts!

Post 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.
Post Reply