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.

 

Go Back   Doom9's Forum > Hardware & Software > Software players
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 29th January 2023, 10:20   #63821  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,926
it isn't motion "enhancement". it is still the creators intend.

the point for SM is to create an image that is the same as native refresh rate.
it's mostly made for display that can't do the native refresh rate.
what so ever moving on.

micro stutter is a broad term.
so when you are frame rate matching you have "microstutter" from sync issues and that's not micro because an entire frame is missing/delayed and or repeated. the OSD should capture this.
no queue setting will ever fix that because on a PC sync is far more complicated and depends on the audio clock which where the video clock is slaved too.

for AMD and intel the GPU audio clock is usually in sync with the video clock (they may even be the same).
with nvidia this is not the case the 23p refreshrate is usually not "perfectly" in sync with GPU audio with would be ~2 hour plus. having a repeated dropped frame in the range of ~4mins(it's been a long time since it was that bad) to hours in newer driver.

a good clock on AMD or intel is not a given.

then there is the issue with nvidia cards where madVR doesn't even know frames are dropped/repeated but that was "never" reported for 1000 series cards. these cards should work just fine with normal queues.

before it is possible to help we need to know what the problem is.

reclock is just resampling to match the video clock like 48k to 48004 this is lossy there is alternative audio renderer that can do that not with bit streaming obviously.

assumefps just changes the CFR frame times of the video not sure why that should be of any help here i mean we are talking about tone mapping and such realtime avisynth is not really an option...

assumefps with sync_audio would be similar to reclock but the other way around. just use a custom refreshrate.

Quote:
Originally Posted by thighhighs View Post
huhn
What do you think about the SSIM2D? I remember your posts about Biсubiс150, but not about SSIM2D.
i hate bicubic 150 it's only save for still standing images.
i had a talk about it with madshi a couple of months ago and back in the day when volt who fixed it in mpc-be.

it tends to show aliasing in sharp sources when in motion (like details showing up that got lost in scaling) my old and wrong theory was that it had something todo with convolution because volt used that term (not blaming or saying you are wrong) but bicubic itself is a convolution so dahhh.
the bicubic in mpcVR is also pristine so it is fixable or at least seem so.

so use ssim with default settings it's not that expensive just try it with a sharp source not these very soft ones.
the difference in the image make it not worth it at least on these soft sources but using ssim to avoid possible motion issue clear is IMHO.

Last edited by huhn; 29th January 2023 at 10:29.
huhn is offline   Reply With Quote
Old 29th January 2023, 15:05   #63822  |  Link
flossy_cake
Registered User
 
Join Date: Aug 2016
Posts: 609
Smoothmotion is just frame blending which is the crudest form of frame rate conversion. But at high refresh rate it is less noticeable, but I still don't really understand why without knowing the coefficients that madvr is using to weight each blended frame for the final output. If every frame of the 120hz output is blended then I don't see why that wouldn't still look significantly blurrier. Doesn't matter if each blended frame is being held up for shorter period if heaps of them are still blended. And it's a waste cause 24 goes into 120hz 5:5.

But I use frame blending when using TDecimate(mode=1, hybrid=1, viddetect=2, vidthresh=4.5, chroma=false, denoise=true) so when a 24fps DVD contains 30fps sections they get frame blended to 24fps, like the intro to Sliders with the rotating earths is a 30fps animation which don't go into 24 so it looks a bit better blended instead of stutter:



But, I'm working on a better Avisynth solution where the final output is 60p to avoid frame blending altogether, but the downside is the 24p sections, i.e most of the content, will have 3:2 judder. Still trying to decide if it's worth it. Some episodes actually have quite a lot of non-24p sections in them, so it would be nice to have just for those video-centric episodes.

Last edited by flossy_cake; 29th January 2023 at 15:10.
flossy_cake is offline   Reply With Quote
Old 29th January 2023, 15:15   #63823  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,926
just use VFR and this is the madVR thread.

it not even close to what that does there are barely any blended frames at all. if you blend every frame than the frame rate is pointless.
i explained it before and i will not do it again it is very very simple to understand how it works but hard to implement.
huhn is offline   Reply With Quote
Old 29th January 2023, 16:04   #63824  |  Link
flossy_cake
Registered User
 
Join Date: Aug 2016
Posts: 609
Quote:
Originally Posted by huhn View Post
just use VFR
Can't do that in real time - have to transcode to a new VFR file which takes ages for DVD collection, burn cpu for many days transcoding, generation loss image quality, reduced compatibility with media players & media devices, can't go back and tweak the script otherwise have to reencode everything from scratch. So much nicer to have a real time modular extensible tweakable lightweight solution.


Quote:
Originally Posted by huhn View Post
it not even close to what that does there are barely any blended frames at all.
The problem is we don't have the tools to properly check what madvr is actually outputting at 120hz sm. If you recall I tried using OBS to record the screen but that only went up to 60fps recording and if you record at 120fps it would need to be perfectly vsynced and not dropping any frames in the recording. Then we can inspect each frame 1 by 1 and see how many of them madvr is actually blending. But yes I do seem to recall that in my experiments randomly taking screenshots it took a few attempts to randomly capture a blended frame at 120hz so I think you are right that there are less blended frames at 120hz compared to 60hz. Still, it's disappointing to have to put blended frames in when 24 goes nicely in 120. It's just "bad philosophy" or something in my books. It's like "yeah, this should be working without blended frames, but it isn't, so I'm just gonna bodge a solution with blended frames and say good enough". Doesn't sit well with me, but that is just my opinion. The satisfaction of tweaking my 23hz mode to 1 repeat frame every 12 hours was more satisfying, but I appreciate not everyone will be able to do this so in many cases sm will be the only option.
flossy_cake is offline   Reply With Quote
Old 29th January 2023, 16:23   #63825  |  Link
Siso
Soul Seeker
 
Siso's Avatar
 
Join Date: Sep 2013
Posts: 716
Tweaking a display sooner or later will result in some sort of malfunction, talking from my own personal experience.
Siso is offline   Reply With Quote
Old 29th January 2023, 16:30   #63826  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,926
HDMI capture cards and yes it has been done.
it's 48 frames at all refreshrates higher than 48 for 24p source for 120HZ ~96 originals and ~24 blended which are as far apart as possible shown for 8.3 MS which is not rarely lower than the response time of LCD displays. it's not like i already explained it in detail and mpc-hc is literally telling you what madVR does.

using SM to avoid any frame rate issues because it's good enough but not wanting to go for VFR is not very convincing. while considering the blending of 30p into 24. hardware deint is pretty good BTW.

madVR can do that too BTW. i called it terrible madshi called it working as designed.
huhn is offline   Reply With Quote
Old 29th January 2023, 16:32   #63827  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,926
Quote:
Originally Posted by Siso View Post
Tweaking a display sooner or later will result in some sort of malfunction, talking from my own personal experience.
sad to hear.
i always wanted a warning in it there is a reason intel AMD and nvidia are warning the user doing so.
huhn is offline   Reply With Quote
Old 29th January 2023, 16:46   #63828  |  Link
flossy_cake
Registered User
 
Join Date: Aug 2016
Posts: 609
Quote:
Originally Posted by Siso View Post
Tweaking a display sooner or later will result in some sort of malfunction, talking from my own personal experience.
Yeah I remember you said that , and it did concern me a little bit. I am making sure to tweak only within a range of +/- 5% of CTA spec timings (that's all you should need to correct it) and I seem to recall VESA says +/-5% is acceptable tolerance. If you have repeat frames then you are only slowing the clock down and not running it higher/faster than spec which should be safe but I guess you never really know what's going on at the hardware level (or the driver is screwing something up and not giving you the timings you asked for). On top of this my TV is 10 years old and only cost $500 brand new, I already tweaked the pots Vsus Vscan Vreset probably out of spec too but that's what I need for a clean picture. "All or nothing" look how many service menu tweaks you need on LG OLED to turn off all the dimming.

Quote:
Originally Posted by huhn View Post
it's 48 frames at all refreshrates higher than 48 for 24p source for 120HZ ~96 originals and ~24 blended which are as far apart as possible shown for 8.3 MS which is not rarely lower than the response time of LCD displays..
Thanks for this info

Last edited by flossy_cake; 29th January 2023 at 16:49.
flossy_cake is offline   Reply With Quote
Old 29th January 2023, 18:03   #63829  |  Link
e-t172
Registered User
 
Join Date: Jan 2008
Posts: 589
I stopped using SM the day I moved to a 120 Hz display. I don't see the point.

When playing 23.976 FPS content at ~119.88 Hz, frame drops/repeats should be relatively rare (basically only caused by clock drift), and when they do happen, all it means is that a single frame that was supposed to be displayed for 41.7 ms will be displayed for an extra (or minus) 8.3 ms. I doubt I'd be able to notice that.

Last edited by e-t172; 29th January 2023 at 18:07.
e-t172 is offline   Reply With Quote
Old 29th January 2023, 22:48   #63830  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,926
if it only changes the sync by 8.33 ms than it is still off.
that means you have to do that 5 times as often to keep in sync or have the same result as 23p there is nothing in between. i'm pretty sure madVR does the full range thing and not the i display a frame longer or shorter by 8.33 ms so nothing changes.
huhn is offline   Reply With Quote
Old 30th January 2023, 02:25   #63831  |  Link
sebna
Registered User
 
Join Date: Jan 2021
Posts: 9
Quote:
Originally Posted by huhn View Post
it isn't motion "enhancement". it is still the creators intend.

the point for SM is to create an image that is the same as native refresh rate.
it's mostly made for display that can't do the native refresh rate.
what so ever moving on.

micro stutter is a broad term.
so when you are frame rate matching you have "microstutter" from sync issues and that's not micro because an entire frame is missing/delayed and or repeated. the OSD should capture this.
no queue setting will ever fix that because on a PC sync is far more complicated and depends on the audio clock which where the video clock is slaved too.

for AMD and intel the GPU audio clock is usually in sync with the video clock (they may even be the same).
with nvidia this is not the case the 23p refreshrate is usually not "perfectly" in sync with GPU audio with would be ~2 hour plus. having a repeated dropped frame in the range of ~4mins(it's been a long time since it was that bad) to hours in newer driver.

a good clock on AMD or intel is not a given.

then there is the issue with nvidia cards where madVR doesn't even know frames are dropped/repeated but that was "never" reported for 1000 series cards. these cards should work just fine with normal queues.

before it is possible to help we need to know what the problem is.

reclock is just resampling to match the video clock like 48k to 48004 this is lossy there is alternative audio renderer that can do that not with bit streaming obviously.

assumefps just changes the CFR frame times of the video not sure why that should be of any help here i mean we are talking about tone mapping and such realtime avisynth is not really an option...

assumefps with sync_audio would be similar to reclock but the other way around. just use a custom refreshrate.


i hate bicubic 150 it's only save for still standing images.
i had a talk about it with madshi a couple of months ago and back in the day when volt who fixed it in mpc-be.

it tends to show aliasing in sharp sources when in motion (like details showing up that got lost in scaling) my old and wrong theory was that it had something todo with convolution because volt used that term (not blaming or saying you are wrong) but bicubic itself is a convolution so dahhh.
the bicubic in mpcVR is also pristine so it is fixable or at least seem so.

so use ssim with default settings it's not that expensive just try it with a sharp source not these very soft ones.
the difference in the image make it not worth it at least on these soft sources but using ssim to avoid possible motion issue clear is IMHO.
Thank you for willingness to help. It will be few weeks before I am back to testing as ATM I am doing overhaul of the room.

I will report all the details of the setup then and hopefully the solution can be found.
sebna is offline   Reply With Quote
Old 30th January 2023, 02:28   #63832  |  Link
sebna
Registered User
 
Join Date: Jan 2021
Posts: 9
Quote:
Originally Posted by Siso View Post
Tweaking a display sooner or later will result in some sort of malfunction, talking from my own personal experience.
:O do you mean that adjusting detailed low level refresh rates settings like seen few pages back on screenshots can physically damage display, in my case projector?

Can it also damage AV processor seating between display and MadVR?

Sorry about noon questions.

EDIT:

So is it software like this that can damage the display?

I am guessing that normal selection of refresh rates in NV CP is completely safe?


Last edited by sebna; 30th January 2023 at 02:32.
sebna is offline   Reply With Quote
Old 30th January 2023, 07:12   #63833  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,926
this is nvidia stand on it:
https://abload.de/img/legalinformation66etm.png

issues are very very rare and false positives are also easily possible.
there is no difference between an AV processor or a TV they both have the same type of hardware as input.

you will find a very high number of user here that had never an issue with it.

also there is a huge difference between doing major changes like running a device at 48 or 72 that can not do anything close to it or if you are barely changing the clock at all to stop some drift.

i have a very old cheap LCD monitor which is 50 60 only if i force it to 23p it literally made sounds but it was giving a true 23p image. i didn't test it for long. this was an extreme change most devices these days will simple show a black screen and that's it nothing will happen.
huhn is offline   Reply With Quote
Old 30th January 2023, 08:53   #63834  |  Link
flossy_cake
Registered User
 
Join Date: Aug 2016
Posts: 609
Quote:
Originally Posted by e-t172 View Post
all it means is that a single frame that was supposed to be displayed for 41.7 ms will be displayed for an extra (or minus) 8.3 ms. I doubt I'd be able to notice that.
Yes, this is an important point. Because at 24hz display, a repeat frame will be held up for 41ms which is a long time.

Like huhn said though, you will have 5x as many of these 8ms repeats, but they should be spread out with a greater distance in between them, so maybe that's why it's less noticeable. I also run my monitor at 119.88, or should I say 120/1.001.

One of my NTSC DVDs contains some PAL converted episodes which uses cadence 3:2:3:2:2 (25p) instead of 3:2 (24p) and honestly when displaying it at 60hz I can't tell it apart from 3:2, probably for similar reasons.


Quote:
Originally Posted by huhn View Post
also there is a huge difference between doing major changes like running a device at 48 or 72 that can not do anything close to it or if you are barely changing the clock at all to stop some drift.
Yeah I would agree with this - if it's a whole new mode that has timings that are far away from the timings supported by the monitor then it's probably a bad idea to use that mode.

But if you are +/-5% of the CTA timings supported by the monitor, then it's probably ok I would imagine?

Last edited by flossy_cake; 30th January 2023 at 09:01.
flossy_cake is offline   Reply With Quote
Old 30th January 2023, 15:02   #63835  |  Link
silverfr0st
Registered User
 
Join Date: Jan 2023
Posts: 1
Quote:
Originally Posted by michkrol View Post
It seems to be a bug in madvr, your script should work. Using elseif is not necessary, althought recommended.

@madshi: I've narrowed it down to decimals not working in profile rules - the script is marked as valid (green "tick"), but rules don't work.
To give an example:
if (scalingFactor.x>1) "Profile 1" works correctly, while
if (scalingFactor.x>1.0) "Profile 1" doesn't work and
if (scalingFactor.x>1.5) "Profile 1" doesn't work either.
Quote:
Originally Posted by aufkrawall View Post
Thank you so far.
I still need some help though.

My idea is very simple:
I want madVR to pick the appropriate profile based on scaling factor and fps. I was hoping that a simple enumeration of "if" conditions would do the job, but unfortunately it doesn't.

My script looks like this:
Code:
if (scalingFactor.x = 1.0) and (scalingFactor.y = 1.0) "1.0"
if (scalingFactor.x < 1.0) and (scalingFactor.y < 1.0) "< 1.0"
if (scalingFactor.x > 1.0) and (scalingFactor.y < 1.5) "> 1.0 < 1.5"
if (scalingFactor.x > 1.5) and (scalingFactor.y < 2.2) and (deintFps <= 30) "> 2.2 <= 30fps"
if (scalingFactor.x > 1.5) and (scalingFactor.y < 2.2) and (deintFps > 30) "> 2.2 > 30fps"
Problem is, it only activates profile "1.0" (script is valid, according to madVR). I tried to insert "else" at various places, but it didn't help the way I did it.
I'd be very thankful for ideas.
It's been a decade long and this bug is still here?
@madshi

Last edited by silverfr0st; 30th January 2023 at 15:05.
silverfr0st is offline   Reply With Quote
Old 30th January 2023, 16:22   #63836  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,926
well been a couple years now since madshi answered anything here.
huhn is offline   Reply With Quote
Old 30th January 2023, 16:31   #63837  |  Link
Asmodian
Registered User
 
Join Date: Feb 2002
Location: San Jose, California
Posts: 4,407
Quote:
Originally Posted by silverfr0st View Post
It's been a decade long and this bug is still here?
To work around it multiply the values by multiples of 10.
__________________
madVR options explained
Asmodian is offline   Reply With Quote
Old 31st January 2023, 01:54   #63838  |  Link
ryrynz
Registered User
 
ryrynz's Avatar
 
Join Date: Mar 2009
Posts: 3,650
Quote:
Originally Posted by silverfr0st View Post
It's been a decade long and this bug is still here?
@madshi
If it doesn't apply to Envy.. Zero priority
ryrynz is offline   Reply With Quote
Old 31st January 2023, 18:00   #63839  |  Link
djesteban
Registered User
 
djesteban's Avatar
 
Join Date: Aug 2008
Posts: 112
Quote:
Originally Posted by huhn View Post
well been a couple years now since madshi answered anything here.
I mean clearly at this point it's abandonedware. It's sad that there is no active alternative/ and that it's not open source. heh
djesteban is offline   Reply With Quote
Old 1st February 2023, 07:39   #63840  |  Link
ryrynz
Registered User
 
ryrynz's Avatar
 
Join Date: Mar 2009
Posts: 3,650
Quote:
Originally Posted by djesteban View Post
I mean clearly at this point it's abandonedware.
Nah, it's still in development.
ryrynz is offline   Reply With Quote
Reply

Tags
direct compute, dithering, error diffusion, madvr, ngu, nnedi3, quality, renderer, scaling, uhd upscaling, upsampling


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 18:36.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.