Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|
#381 | Link | |
|
Suptitle, MediaPlayer.NET
Join Date: Nov 2001
Posts: 1,721
|
Quote:
File associations is on my todo list, haven't had time to get to that. Can you elaborate a little on what exactly you mean with the last one? If you move your mouse over the seek bar, doesn't that show you how far into the video? I have plans to do pan and scan that allows you to fill screen (i.e. no letterboxing) only. Or do you want something more than that? |
|
|
|
|
|
|
#382 | Link | |
|
Registered User
Join Date: Jul 2007
Posts: 161
|
Quote:
|
|
|
|
|
|
|
#384 | Link |
|
Suptitle, MediaPlayer.NET
Join Date: Nov 2001
Posts: 1,721
|
No. If it is applicable to mpchc it's applicable to mpdn.
When you place a pre resize image processor and a post resize one in the chain, mpdn converts YUV to RGB before invoking the scripts. MPDN then expects the result of the render chain to be also in RGB. |
|
|
|
|
|
#385 | Link |
|
Suptitle, MediaPlayer.NET
Join Date: Nov 2001
Posts: 1,721
|
RenderScript improvements now available
I've updated GitHub with a bunch of changes we (Shiandow and I) have made to improve the render scripts.
Feel free to head over to grab the updated version. Cheers. EDIT: Added linear light scaling support via ImageProcessor with the following render script chain: ImageProcessor - When downscaling video: ConvertToLinearLight.hlsl ImageProcessor - (Your Pre-scaled Shaders - swap with above if you want shaders to work in gamma light) Resizer - Resize to: 100% of target size ImageProcessor - (Your Post-scaled Shaders - swap with below if you want shaders to work in gamma light) ImageProcessor - When downscaling video: ConvertToGammaLight.hlsl Last edited by Zachs; 11th November 2014 at 06:43. |
|
|
|
|
|
#386 | Link |
|
Registered User
Join Date: Jun 2005
Posts: 513
|
You guys are awesome!
Now I am encounter a new problem when playing a 720p file with full HD screen. Namely with NEDI and linear light, when play it in windows mode (target size is the same as original size), MPDN used to avoid NEDI in that case, now it's in full chain mode, which means every script in the chain is active. Any thoughts to avoid unnecessary calculation power consumption in that case? BTW my script chain is like the following: Code:
NEDI ImageProcessor - When downscaling video: ConvertToLinearLight.hlsl esizer - Resize to: 100% of target size ImageProcessor - When downscaling video: ConvertToGammaLight.hlsl Edit2: The other issue I noticed is that when use linear light without NEDI, playing 1080p file in windows mode, in which case it's downscaling after Resize, which triggers ConvertToGammaLight.hlsl, yet not trigger the ConvertToLinearLight.hlsl in first step, causes the color in windows mode like washed out. Last edited by Anima123; 11th November 2014 at 08:11. |
|
|
|
|
|
#388 | Link |
|
Registered User
Join Date: Dec 2013
Posts: 753
|
I think I've managed to replicate this bug, it seems to occur when you add the shaders during playback, without resizing. I'll have a quick look to see if I can find what causes it.
Edit: Found it, apparently we forgot to allocate textures when Image Processor updated the filter, again. Let's try a more general fix this time. Last edited by Shiandow; 11th November 2014 at 10:59. |
|
|
|
|
|
#389 | Link |
|
Suptitle, MediaPlayer.NET
Join Date: Nov 2001
Posts: 1,721
|
This should be fixed in the version where mpdn triggers output size changed event when apply button is pressed.
Haven't got time right now to release that version yet. But will do ASAP. Last edited by Zachs; 11th November 2014 at 10:51. |
|
|
|
|
|
#391 | Link |
|
Suptitle, MediaPlayer.NET
Join Date: Nov 2001
Posts: 1,721
|
I'll take a look.
But MPDN calls output size changed internally anyway to activate its settings ![]() Anyway I'll take a look at git. EDIT: I've merged your changes to master. Last edited by Zachs; 11th November 2014 at 21:57. |
|
|
|
|
|
#392 | Link | |
|
Suptitle, MediaPlayer.NET
Join Date: Nov 2001
Posts: 1,721
|
Quote:
With regards to the first issue, ImageProcessor isn't compatible to be used in that manner yet - When downscaling 'video' means comparing video size with target size, while NEDI doubles the video size before feeding it into ImageProcessor. What is supported at the moment is to have NEDI come after ImageProcessor. EDIT: Scratch that, your usage should be fine. Don't know what I was thinking. If video is being downscaled then NEDI shouldn't be active. In which case, there shouldn't be any problem with using video size vs target size to find out if we're downscaling. EDIT2: There's still a bug that causes NEDI to be always active when used in that way. I'll fix that. EDIT3: Fixed in git. Last edited by Zachs; 11th November 2014 at 22:26. |
|
|
|
|
|
|
#395 | Link | |
|
Registered User
Join Date: Dec 2013
Posts: 753
|
Quote:
That said I wouldn't recommend performing NEDI in linear light, it tends to make the artefacts more noticeable. And as far as I know there's not much benefit in doing NEDI in linear light. However I could be mistaken so you should probably at least give it a try if you want to be sure. |
|
|
|
|
|
|
#396 | Link |
|
Registered User
Join Date: Jun 2005
Posts: 513
|
I tried the latest version of the player and the script, it's behavior is still not ideal to me.
Let's assume Video Size as the original size of the video, Doubled Video Size is doubled size via NEDI, Target Size is the screen resolution (full screen) mode or a smaller one (windows mode), the following is the ideal behavior in my mind: Code:
if (Video Size >= Target Size) { //which means downscaler should be used
disable NEDI;
trigger linear light if downscaler is used for real;
}
else { // Video Size < Target Size, in which case upscaler should be in use
enable NEDI;
if (Doubled Video Size > Target Size) // in which case the downscaler should be in use
trigger linear light if configured;
}
The current latest version does not act like the ideal case, hence there's potential bug to me. |
|
|
|
|
|
#398 | Link |
|
Registered User
Join Date: Nov 2011
Posts: 48
|
I am very happy that after my suggestion to use the finesharp shader you have been considering to make it work better. thanks!!
For my setup is probably the best method of sharpness. A little suggestion, is possible to implement various chroma resampling filters as Robidoux, blackman, Gaussian and Hermite? Some of them are simlpy interpretation of bicubic style resize. |
|
|
|
|
|
#399 | Link | |
|
Suptitle, MediaPlayer.NET
Join Date: Nov 2001
Posts: 1,721
|
Quote:
|
|
|
|
|
|
|
#400 | Link | |
|
Suptitle, MediaPlayer.NET
Join Date: Nov 2001
Posts: 1,721
|
Quote:
As such, MPDN v2.9.3 allows you to write your own chain in a script, as an example: PHP Code:
Get the latest scripts from github. Example is shown in MyRenderScripts.cs. You can customize it beyond what is shown by checking for VideoSize - for SD, do X, for super small video size, do Y, for HD, do Z. Feel free to share your script in the forum! Last edited by Zachs; 13th November 2014 at 08:26. |
|
|
|
|
![]() |
| Tags |
| direct3d, mpdn, nnedi3, opencl, reclock |
| Thread Tools | |
| Display Modes | |
|
|