Jump to content

4K UHD playback on an HD system?


ShoutingMan

Recommended Posts

ShoutingMan

I now have my a UHD video (from the one UHD 4K disc I own) and also the HD version. Impressively, Emby Theater on Windows 10 plays the UHD video pretty well. Audio and Video in my brief check played without stuttering or losing sync. That's cool and unexpected for me.

 

But I noticed on a scene with large white region (the Hockey rink in Deadpool, about 1:02:00 (hh:mm:ss) in) there was large macro-blocking visible. It's not there in the HD version, so it's from the on-the-fly conversion of 4K down to HD.

 

What, if anything, can I tweak in Emby Theater or Server to get better playback of 4K material on my 2K system? It would be a bonus if I could start collecting 4K media and only have to keep the 4K file saved, trusting Emby to play it perfectly on my HD system. That might be not practical, but it's worth a check. :)

 

My Emby Server (and playback PC) is a 6th Gen Core i5-6500 with Intel HD Graphics 530 (integrated graphics). 

 

Thanks for any insights into how UHD is played back at HD from Emby and tips to improve that performance!

Link to comment
Share on other sites

jhoff80

From my understanding and trials at this with demo files, the big problem is going to be tone mapping the HDR video from the UHD Blu-ray for SDR screens.  You'll end up with a lot of blown-out highlights without that tone mapping process.  madVR is the best way to handle that conversion last I looked, but that won't be compatible with all devices / players.

  • Like 1
Link to comment
Share on other sites

Guest asrequested

I you're using the desktop app, the server won't have any involvement. Can you post a screenshot of your stats, while playing that video?

Link to comment
Share on other sites

ShoutingMan

From my understanding and trials at this with demo files, the big problem is going to be tone mapping the HDR video from the UHD Blu-ray for SDR screens.  You'll end up with a lot of blown-out highlights without that tone mapping process.  madVR is the best way to handle that conversion last I looked, but that won't be compatible with all devices / players.

That’s a good point. I’ve seen a few other comments about this aspect of playback. I’ll just keep both for now until I can upgrade to a 4K display. I have all of one UHD movie so far, so I’m not yet pressed for storage.

Link to comment
Share on other sites

Guest asrequested

If you want to eliminate the HDR, add this line to your mpv.conf

vf=format=colormatrix=bt.709:primaries=bt.709
Edited by Doofus
  • Like 1
Link to comment
Share on other sites

ShoutingMan

Here's a screengrab with Stats for Nerds playing the UHD MKV. Scaling is set to Auto.

 

I did a quick check after this with Scaling set to "Mitchell", which the MPV docs say is good for downscaling. The wide field of the hockey ring still had the macro blocking.

 

Next chance I have for Emby experimenting, I'll take a look at the HDR stripping. That looks like a promising lead. :)

post-136972-0-87876600-1517803024_thumb.png

Link to comment
Share on other sites

ShoutingMan

I did a quick trial, putting the HDR stripping line in my conf file. No effect on the macroblocking. So it's not HDR specific artifacts.

Link to comment
Share on other sites

ShoutingMan

And your refresh rate to 60Hz

I don’t think playing UHD at the wrong frame rate will improve its downscaling or colorspace conversion. :)

 

I’ll check the copy back. I think I just leave most everything to Auto except the frame rate refresh.

Edited by ShoutingMan
Link to comment
Share on other sites

Guest asrequested

MPV seems to really like 60Hz. Don't rule it out before you test it. I run everything at 60Hz and it's smoother than refresh rate switching. 

 

Using D3D11 with convert 10bit to 8bit. Using copyback, will eliminate that.

  • Like 1
Link to comment
Share on other sites

ShoutingMan

MPV has constant judder MPV playing off nominal refresh rate, on my PC. That’s why I’ve been so outspoken about getting refresh rate switching working correctly.

Link to comment
Share on other sites

ShoutingMan

Hmmm, this is interesting:

 

--video-unscaled=<no|yes|downscale-big>

Disable scaling of the video. If the window is larger than the video, black bars are added. Otherwise, the video is cropped, unless the option is set to downscale-big, in which case the video is fit to window. The video still can be influenced by the other --video-... options. This option disables the effect of --panscan.

 

Note that the scaler algorithm may still be used, even if the video isn't scaled. For example, this can influence chroma conversion. The video will also still be scaled in one dimension if the source uses non-square pixels (e.g. anamorphic widescreen DVDs).

 

This option is disabled if the --no-keepaspect option is used.

 

Edited by ShoutingMan
Link to comment
Share on other sites

Guest asrequested

I do agree that it shouldn't have anything to do with your issue, though. It appears to be something with the renderer. From what mpv is saying, auto copyback looks to be the safest.

 

5a7937be4d7b2_Snapshot_435.jpg

 

5a7937d99a589_Snapshot_434.jpg

Edited by Doofus
Link to comment
Share on other sites

ShoutingMan

Try changing your HWA to auto copyback.

 

Auto:

Chroma artifacts on the hockeyrink scene

Playback is smooth

 

Auto (Copyback):

Chroma artifacts not apparent

Playback is choppy in places

 

 

I had this in the conf file for both cases:

vf=format=colormatrix=bt.709:primaries=bt.709

So it seems I don't have the CPU or GPU for realtime UHD downscaling to HD.

Link to comment
Share on other sites

Guest asrequested

Someone else had something similar. I think if you use the right scaler, in addition to that, you may get better results. I think the slight judder you get is buffer underrun from the memory. Reducing the data stream should help with that. That's what that conf line, does. It lightens the load.

  • Like 1
Link to comment
Share on other sites

ShoutingMan

Thanks for the tips and points and help :) 

 

I'll set this aside for later. I only have the one UHD so far. When I add more I can spend more time on this if RAID space gets critical.

Link to comment
Share on other sites

Guest asrequested

Also, from another thread I'm reminded that I use my USB-C port. It has much higher bandwidth than HDMI 2.0. it uses the Thunderbolt controller. You may want to test that, and see if it helps.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...