• 1
  • 38
  • 39
  • 40(current)
  • 41
  • 42
  • 54
Win HOW TO - Set up madVR for Kodi DSPlayer & External Players
Hi Warner306. I'm Italian and new on this forum and I don't speak English very well.
I appreciate a lot your guide about MadVR and I'm trying to optimize it for my needs.
I have a htpc with MSI Z390A-pro mobo, I5-9600K cpu, 16 Gb ram, Nvidia 1660 gpu, bd drive, ssd and nas with a lot of concerts and movies ripped from br discs.
I have a Sony VPL-vw870es (calibrated BT2020) as projector and a Trinnov Altitude 16 as processor. I use Jriver Media Center 25 with MadVR, but I don't like to use more than one setup.
So I set MadVR with PC levels 0-255,10 bit, already calibrated BT2020 pure power curve 2.20, 2160p23, 24, 25, 29, 30, 50, 59, 60, tone map HDR using pixel shaders, tp 100, BT2390, highlight medium, measure each frame's peak; if in doubt, deactivate deinterlacing, disable automatic source type, force video mode, only look at pixels in the frame center; chroma ups. NGU Antialias medium, image ups. luma NGU Sharp, luma qu. direct qudrupole very high, chroma high; no flag in general settings, smooth motion only if there would be motion judder; ordered dithering, no flag in trade for quality.
It works very fine with all 23.970 fps videos, without interlacing. But I've issue to watch 29.970 fps videos, with a lot of dropped frames, motion juddering and stuttering. I have a lot of concerts with this fps (Diana Krall, Carlos Santana, Miles Davis, ecc.).
Can you help me?
Thanks.
Reply
does anyone know how i can get an invite to join kodi so we can watch movies...  apparently they are full for new customers.
Reply
(2019-10-19, 05:12)Furgiuele Wrote: Hi Warner306. I'm Italian and new on this forum and I don't speak English very well.
I appreciate a lot your guide about MadVR and I'm trying to optimize it for my needs.
I have a htpc with MSI Z390A-pro mobo, I5-9600K cpu, 16 Gb ram, Nvidia 1660 gpu, bd drive, ssd and nas with a lot of concerts and movies ripped from br discs.
I have a Sony VPL-vw870es (calibrated BT2020) as projector and a Trinnov Altitude 16 as processor. I use Jriver Media Center 25 with MadVR, but I don't like to use more than one setup.
So I set MadVR with PC levels 0-255,10 bit, already calibrated BT2020 pure power curve 2.20, 2160p23, 24, 25, 29, 30, 50, 59, 60, tone map HDR using pixel shaders, tp 100, BT2390, highlight medium, measure each frame's peak; if in doubt, deactivate deinterlacing, disable automatic source type, force video mode, only look at pixels in the frame center; chroma ups. NGU Antialias medium, image ups. luma NGU Sharp, luma qu. direct qudrupole very high, chroma high; no flag in general settings, smooth motion only if there would be motion judder; ordered dithering, no flag in trade for quality.
It works very fine with all 23.970 fps videos, without interlacing. But I've issue to watch 29.970 fps videos, with a lot of dropped frames, motion juddering and stuttering. I have a lot of concerts with this fps (Diana Krall, Carlos Santana, Miles Davis, ecc.).
Can you help me?
Thanks.

The frame rate of the video increases the stress placed on the GPU. This is similar to PC video games. The higher the source frame rate, the lower your rendering times must be to present each frame on time:

Source Frame Intervals:
  • 23.976 fps -> 41.71ms
  • 25 fps -> 40.00ms
  • 29.97 fps -> 33.37ms
  • 50 fps -> 20.00ms
  • 59.94 fps -> 16.68ms

For 29.97 fps content, your rendering times must be under 33.37ms.

You need to create various profile groups in madVR that include the source frame rate, something like this:

if (deintFps <= 25) and (srcHeight > 1080) "2160p25"
else if (deintFps <= 25) and (srcWidth > 1920) "2160p25"

else if (deintFps > 25) and (srcHeight > 1080) "2160p60"
else if (deintFps > 25) and (srcWidth > 1920) "2160p60"

else if (deintFps <= 25) and ((srcHeight > 720) and (srcHeight <= 1080)) "1080p25"
else if (deintFps <= 25) and ((srcWidth > 1280) and (srcWidth <= 1920)) "1080p25"

else if (deintFps > 25) and ((srcHeight > 720) and (srcHeight <= 1080)) "1080p60"
else if (deintFps > 25) and ((srcWidth > 1280) and (srcWidth <= 1920)) "1080p60"

else if (deintFps <= 25) and ((srcHeight > 540) and (srcHeight <= 720)) "720p25"
else if (deintFps <= 25) and ((srcWidth > 960) and (srcWidth <= 1280)) "720p25"

else if (deintFps > 25) and ((srcHeight > 540) and (srcHeight <= 720)) "720p60"
else if (deintFps > 25) and ((srcWidth > 960) and (srcWidth <= 1280)) "720p60"

else if (deintFps <= 25) and ((srcWidth <= 960) and (srcHeight <= 540)) "540p25"

else if (deintFps > 25) and ((srcWidth <= 960) and (srcHeight <= 540)) "540p60"

For any profile labelled (deintFps > 25), you would lower your madVR settings until your rendering times are < 29ms to avoid dropped frames. Profiles labelled (deintFps <= 25) can have rendering times as high as 35-37ms.
Reply
(2019-10-19, 11:42)stas Wrote: does anyone know how i can get an invite to join kodi so we can watch movies...  apparently they are full for new customers.

What do you mean "invite to join Kodi?" Membership to this board is free and Kodi doesn't sell or provide any movies.

If you are talking about pirated streams through illegal Kodi add-ons, that isn't supported by Team Kodi or permitted to be discussed on these forums.
Reply
(2019-10-19, 02:18)Warner306 Wrote: I don't know enough about how the iris works to understand what would cause that to happen. A sudden change in brightness seems like the most likely cause. Do observe any sudden brightness pumping when you start a movie from the library?

Unfortunately, I don't recall any other JVC projector owners complaining about a similar issue.
Yes, sometimes the iris clamps down upon starting a film. It appears to be OK thus far today. But the issue does appear to be intermittent/ random.
Reply
@Warner306, for Jurassic Park 3D (not tried any other 3D films), madVR uses my 1080p60 scaling profile, not the 1080p25 one. Do you know why this is? This was using the longer script from your guide, I think the same one you pasted in your above post. So, I since deleted the additional 4 profiles and now just use one for each resolution (2160p, 1080p, 720p, 520p) plus your shorter script as follows:

if (srcHeight > 1080) "2160p"
else if (srcWidth > 1920) "2160p"

else if (srcHeight > 720) and (srcHeight <= 1080) "1080p"
else if (srcWidth > 1280) and (srcWidth <= 1920) "1080p"

else if (srcHeight > 540) and (srcHeight <= 720) "720p"
else if (srcWidth > 960) and (srcWidth <= 1280) "720p"

else if (srcHeight <= 540) and (srcWidth <= 960) "540p"

The settings were the same for both 60 Hz and 25 Hz, anyway. Also, why did you write 25 Hz and not 24 Hz?

Also, when playing my DVD rip of Jeff Buckley Live in Chicago (not tried any other DVDs) madVr uses the 720p profile. Should it not use the SD (I renamed it to 520p) profile? Someone told me that some DVDs will get picked by this clause,

else if (srcHeight > 540) and (srcHeight <= 720) "720p".

Kind thanks,

fallinlight
Reply
(2019-10-19, 17:29)fallinlight Wrote: @Warner306, for Jurassic Park 3D (not tried any other 3D films), madVR uses my 1080p60 scaling profile, not the 1080p25 one. Do you know why this is? This was using the longer script from your guide, I think the same one you pasted in your above post. So, I since deleted the additional 4 profiles and now just use one for each resolution (2160p, 1080p, 720p, 520p) plus your shorter script as follows:

if (srcHeight > 1080) "2160p"
else if (srcWidth > 1920) "2160p"

else if (srcHeight > 720) and (srcHeight <= 1080) "1080p"
else if (srcWidth > 1280) and (srcWidth <= 1920) "1080p"

else if (srcHeight > 540) and (srcHeight <= 720) "720p"
else if (srcWidth > 960) and (srcWidth <= 1280) "720p"

else if (srcHeight <= 540) and (srcWidth <= 960) "540p"

I haven't played a 3D file in a long time. I'm assuming madVR is outputting more than 24 fps, so it is choosing your higher fps profile. This is what you would want to happen with 3D movies, anyways, because they require more rendering resources and would need lower settings to keep rendering times low.
(2019-10-19, 17:29)fallinlight Wrote: Also, why did you write 25 Hz and not 24 Hz?

Because 24 fps and 25 fps sources have about the same rendering requirements and performance in madVR.
(2019-10-19, 17:29)fallinlight Wrote: Also, when playing my DVD rip of Jeff Buckley Live in Chicago (not tried any other DVDs) madVr uses the 720p profile. Should it not use the SD (I renamed it to 520p) profile? Someone told me that some DVDs will get picked by this clause,

else if (srcHeight > 540) and (srcHeight <= 720) "720p".

Kind thanks,

fallinlight

Check the resolution of the file. If the height of the file is greater than 540 OR the width of the file is wider than 960, then the higher profile (720p) will be chosen. FYI, PAL DVD's are 720 x 576.
Reply
Kind thanks, @Warner306, OSD shows for the DVD file,

720x576 - > 699x574, 1.30:!. This line flashes
scale 13,0,712,574 - > 259,0,1662,1080

Not entirely sure what the above means but I assume 720 is the height, so selecting the 720p profile makes sense.

Jurassic Park 3D shows as 23.976 in the OSD, though. So, should madVR not select the 25 profile not 60? at my current settings (medium - high across the board), 3D sometimes plays fine/ other times with stutter. Restarting my PC, the same file will play fine without stutter. Is there anything else I can try to not have to do this? I guess it could by my NVIDIA driver - I am using the last build that has 3D 425.31. I was using 418.91 before, as I had stutter all the time. But I realised soon after that all the drivers I have tried to date gave me stutter. The only solution was to drop 'how many video frames shall be present in advance' from 8 to 1.

As of last night I confirmed that my X7900 iris issue is not limited to use of Kodi, as when I restarted my PC, the iris got stuck/ clamped down darker than it was before for that lens aperture setting. I tested the aperture slider when the iris clamped down (abnormally dark). The iris is definitely malfunctioning because between -7 and -8 there was no change, and then at around -10 the image got brighter (which it should not) and then again at around -12 to -13, there was again, no change. I have reported the new information to JVC Customer Support.
Reply
I use an RTX 2080 Super Gaming X Trio and Intel 9600K overclocked to 4.8 Ghz.
Reply
I'm not exactly sure why 3D videos are treated as greater than 24 fps sources, but you want to use your lowest settings with them because they create higher rendering times than normal 24 fps videos would.

It might have something to do with the stutter that accompanies RTX cards. Or the video driver version you are using is not optimal for 3D output. In either case, you do need to use a present queue of 1 with RTX cards at the moment to get stutter-free playback with madVR.
Reply
CHeers @Warner306, well, rendering for Jurassic Park 3D shows as well within the rendering time, at around 18 ms... so it is odd. I might try going back to 418.91. I cannot remember if I had stutter or not with 3D playback with that build.
Reply
(2019-10-21, 12:35)satuxbet Wrote: Hei! I'm new here! I was curious about KODI here!

I don't think you are. You are only here to promote betting.
Your signature contents has already been removed.

Usernames linked to commercial activities are also not allowed, so kindly https://forum.kodi.tv/showthread.php?tid=237108.
Reply
(2019-10-19, 13:53)Warner306 Wrote:
(2019-10-19, 05:12)Furgiuele Wrote: Hi Warner306. I'm Italian and new on this forum and I don't speak English very well.
I appreciate a lot your guide about MadVR and I'm trying to optimize it for my needs.
I have a htpc with MSI Z390A-pro mobo, I5-9600K cpu, 16 Gb ram, Nvidia 1660 gpu, bd drive, ssd and nas with a lot of concerts and movies ripped from br discs.
I have a Sony VPL-vw870es (calibrated BT2020) as projector and a Trinnov Altitude 16 as processor. I use Jriver Media Center 25 with MadVR, but I don't like to use more than one setup.
So I set MadVR with PC levels 0-255,10 bit, already calibrated BT2020 pure power curve 2.20, 2160p23, 24, 25, 29, 30, 50, 59, 60, tone map HDR using pixel shaders, tp 100, BT2390, highlight medium, measure each frame's peak; if in doubt, deactivate deinterlacing, disable automatic source type, force video mode, only look at pixels in the frame center; chroma ups. NGU Antialias medium, image ups. luma NGU Sharp, luma qu. direct qudrupole very high, chroma high; no flag in general settings, smooth motion only if there would be motion judder; ordered dithering, no flag in trade for quality.
It works very fine with all 23.970 fps videos, without interlacing. But I've issue to watch 29.970 fps videos, with a lot of dropped frames, motion juddering and stuttering. I have a lot of concerts with this fps (Diana Krall, Carlos Santana, Miles Davis, ecc.).
Can you help me?
Thanks.

The frame rate of the video increases the stress placed on the GPU. This is similar to PC video games. The higher the source frame rate, the lower your rendering times must be to present each frame on time:

Source Frame Intervals:
  • 23.976 fps -> 41.71ms
  • 25 fps -> 40.00ms
  • 29.97 fps -> 33.37ms
  • 50 fps -> 20.00ms
  • 59.94 fps -> 16.68ms

For 29.97 fps content, your rendering times must be under 33.37ms.

You need to create various profile groups in madVR that include the source frame rate, something like this:

if (deintFps <= 25) and (srcHeight > 1080) "2160p25"
else if (deintFps <= 25) and (srcWidth > 1920) "2160p25"

else if (deintFps > 25) and (srcHeight > 1080) "2160p60"
else if (deintFps > 25) and (srcWidth > 1920) "2160p60"

else if (deintFps <= 25) and ((srcHeight > 720) and (srcHeight <= 1080)) "1080p25"
else if (deintFps <= 25) and ((srcWidth > 1280) and (srcWidth <= 1920)) "1080p25"

else if (deintFps > 25) and ((srcHeight > 720) and (srcHeight <= 1080)) "1080p60"
else if (deintFps > 25) and ((srcWidth > 1280) and (srcWidth <= 1920)) "1080p60"

else if (deintFps <= 25) and ((srcHeight > 540) and (srcHeight <= 720)) "720p25"
else if (deintFps <= 25) and ((srcWidth > 960) and (srcWidth <= 1280)) "720p25"

else if (deintFps > 25) and ((srcHeight > 540) and (srcHeight <= 720)) "720p60"
else if (deintFps > 25) and ((srcWidth > 960) and (srcWidth <= 1280)) "720p60"

else if (deintFps <= 25) and ((srcWidth <= 960) and (srcHeight <= 540)) "540p25"

else if (deintFps > 25) and ((srcWidth <= 960) and (srcHeight <= 540)) "540p60"

For any profile labelled (deintFps > 25), you would lower your madVR settings until your rendering times are < 29ms to avoid dropped frames. Profiles labelled (deintFps <= 25) can have rendering times as high as 35-37ms
Hi Warner306, thanks for the reply.
My rendering times are <29ms, but I have a lot of dropped and repeated frames on 29.970 fps video.
You can see my setting and rendering times on a picture that you can download here https://1drv.ms/u/s!Auk99q3-iMw3g7dIXde9...w?e=ER7qcV .
No dropped or repeated frames in all others videos.
I have dropped and repeated frames and stuttering only if I use activate "use Direct3D 11 for presentation".
What do you think about?
Thanks.
Reply
I think you need to lower your rendering times a little more. However, you also have a strange zoom mode selected in the media player you are using. The line in the OSD that says touch window from inside, +5% seems to indicate you are zooming the image by 5%.

Can you also post a screenshot of your settings for general settings and trade quality for performance?

Also, you should try using D3D11 Native hardware decoding in LAV Video and not DXVA2.
Reply
Can someone explain Image Upscaling under the heading of SCALING ALGORITHMS?
Reply
  • 1
  • 38
  • 39
  • 40(current)
  • 41
  • 42
  • 54

Logout Mark Read Team Forum Stats Members Help
HOW TO - Set up madVR for Kodi DSPlayer & External Players5