ShoutingMan 95 Posted February 4, 2018 Posted February 4, 2018 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!
jhoff80 93 Posted February 4, 2018 Posted February 4, 2018 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. 1
Guest asrequested Posted February 4, 2018 Posted February 4, 2018 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?
ShoutingMan 95 Posted February 5, 2018 Author Posted February 5, 2018 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.
Guest asrequested Posted February 5, 2018 Posted February 5, 2018 (edited) MPV handles HDR with ease. https://emby.media/community/index.php?/topic/53211-emby-theatre-support-for-evc/?p=521624 But maybe the conversion to 1080, affects it. Edited February 5, 2018 by Doofus
Guest asrequested Posted February 5, 2018 Posted February 5, 2018 (edited) If you want to eliminate the HDR, add this line to your mpv.conf vf=format=colormatrix=bt.709:primaries=bt.709 Edited February 5, 2018 by Doofus 1
ShoutingMan 95 Posted February 5, 2018 Author Posted February 5, 2018 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.
ShoutingMan 95 Posted February 5, 2018 Author Posted February 5, 2018 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.
Guest asrequested Posted February 5, 2018 Posted February 5, 2018 Try changing your HWA to auto copyback.
ShoutingMan 95 Posted February 5, 2018 Author Posted February 5, 2018 (edited) And your refresh rate to 60HzI 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 February 5, 2018 by ShoutingMan
Guest asrequested Posted February 5, 2018 Posted February 5, 2018 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. 1
ShoutingMan 95 Posted February 5, 2018 Author Posted February 5, 2018 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.
Guest asrequested Posted February 5, 2018 Posted February 5, 2018 I know you've had that issue, but the last update made some real improvements.
ShoutingMan 95 Posted February 6, 2018 Author Posted February 6, 2018 I’ll take a look. But I’m a believer in proper frame rates without interpolation.
ShoutingMan 95 Posted February 6, 2018 Author Posted February 6, 2018 (edited) 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 February 6, 2018 by ShoutingMan
Guest asrequested Posted February 6, 2018 Posted February 6, 2018 (edited) 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. Edited February 7, 2018 by Doofus
Guest asrequested Posted February 6, 2018 Posted February 6, 2018 Here's something --correct-downscaling https://mpv.io/manual/stable/#options-correct-downscaling
ShoutingMan 95 Posted February 7, 2018 Author Posted February 7, 2018 Thanks, will check what hardware processing option I have set and the MPV downscaling option(s).
ShoutingMan 95 Posted February 12, 2018 Author Posted February 12, 2018 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.
Guest asrequested Posted February 12, 2018 Posted February 12, 2018 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. 1
ShoutingMan 95 Posted February 12, 2018 Author Posted February 12, 2018 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.
Guest asrequested Posted February 12, 2018 Posted February 12, 2018 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now