madVR Setup guide

Guide for setup madVR video renderer.

madVR does require GPU computing power to do  various processing on the video. So it better to have a good GPU for using madVR.

 

Recommended System spec:

  • CPU RAM : 8 GB or more
  • GPU RAM: 4GB or more

 

1) Devices Setting

Check the specification of the display device to properly configure the devices settings.


1. Display device type

  • Select devices > (display device) tab. (In this case the display device is LG Electronics LG Ultra HD).
  • Select the type of display device which is used to output the video under the device type. (In this case the display device type is Digital Monitor / TV).

 



2. Properties tab settings

RGB output levels

The levels of each output colors (red,green and blue).

For computer monitor its 0-255

For tv display its 16-255.

the native display bitdepth is

If the display device/monitor supports 10 bit color display, then set the native display bitdepth to 10 bit (or higher).




3. Calibration tab settings

Calibrate the display device from Control panel > Color Management > Advanced> Display calibration > Calibrate display.



Color primaries/gamut
  • BT.709:  Its a 1080p resolution HDTV broadcast specification .
  • BT.2020:  Its a 4K resolution UHDTV broadcast specification.


calibration

  • Select this display is already calibrated.

 

the display is calibrated to the following primaries/gamut

  • Select BT.2020 from the drop down list labelled the display is calibrated to the following primaries/gamut.





4. Color & gamma tab settings

Color settings can be used to adjust the brightness, contrast, saturation and hue of the video. User can set it to the level which looks good to him.

Increasing the brightness and contrast can be helpful in enhancing the details in the video. It up to you to decide how much you want to increase it.

If you want to increase the brightness and contrast do the followings:

 

Example Setting 1

  • Set brightness to 10.
  • Set contrast to 10.

Example Setting 2

  • Set brightness to 20.
  • Set contrast to 20.

Increasing the saturation will enhance the color. You can set it to the level which looks good to you.

  • Set saturation to 10.

 






2) Processing tab

1. deinterlacing

The setting here affect how the interlaced video file is handled.


2. Artifact removal

Reduce banding artifacts

It is helpful is reducing the banding artifacts.

  • Medium Debanding strength  work fine.
  • High Debanding strength  works best.

 

To set Debanding strength to medium do the following:

  • Select processing > artifact removal tab.
  • Enable reduce banding artifacts.
  • Set  default debanding strength to medium.



To set Debanding strength to high do the following:

  • Select processing > artifact removal tab.
  • Enable reduce banding artifacts.
  • Set  default debanding strength to high.





Reduce ringing artifacts

It reduces the ringing artifacts in the video.

To use it do the following:

  • Enable reduce ringing artifacts.
  • Enable reduce dark halos around bright edges,too .



Reduce compression artifacts

It helps in reducing artifacts present in videos which has been caused by compression algorithm.


Recommended strength : 1 to 5

Recommended quality : medium

To enable reduce compression artifact,do the following:

  • Select processing > artifact removal tab.
  • Enable reduce compression artifacts.
  • Set  strength to 1.
  • Set quality to medium.



reduce random noise

It removes the noise in the video. It also makes the video blurry in the process.

Recommended strength : 1 to 2



3. Image enhancements

Image enhancements can make video playback look better. 



sharpen edge - It has minimal visible impact on video.
crispen edge - It has minimal visible impact on video.
thin edge - It does have a major visible impact. Recommended level : 2 to 6






Enhance detail - It does have a visible impact. Low quality video may not look good with this refinement.


Luma sharpen: It does have a visible impact. The lower the quality of video being played the lower the level you need to use.

 
Adaptive sharpen: It does have a visible impact. The lower the quality of video being played the lower the level you need to use. I prefer to use adaptive sharpen over luma sharpen and Enhance details.
 
  • For video with resolution up to 1080p set AdaptiveSharpen to 0.5 . Enable activate anti-bloating filter with strength 100%.
  • For video with resolution above 1080p set AdaptiveSharpen to 1 . Enable activate anti-bloating filter with strength 50%
 Anti-ringing filter: It has minimal visible impact on video.

 



4. zoom control

 The setting here affects zooming of video and subtitles.

 

 

3) Scaling Algorithm

Scaling algorithms are used to upscale or downscale the video frame.

1.Chroma upscaling, image downscaling and image upscaling settings

Chroma upscaling algorithm is used to upscale the color data present in the video file.

Image downscaling and upscaling algorithm is applied on the luminace data present in the video file.

 

madVr scaling algorithms requires significant amount of GPU computing power.

  • AR : Activate anti-ringing filter
  • LL :  Scale in linear light
  • SL : scale in sigmoidal light



Staring with configuration which requires lowest GPU computing power.

System level 1

This is the lowest demanding setting.

Chroma upscaling: Cubic > Bicubic60

Image downscaling: DXVA2

Image upscaling: DXVA2






 

System level 2

This is the lowest demanding setting.

Chroma upscaling

  • Cubic > Bicubic150 
  • Enable Activate anti-ringing filter.

Image downscaling: DXVA2

Image upscaling: DXVA2

 


 

System level 3

This is bicubic focused setting which requires low GPU computing power. It

Chroma upscaling

  • Cubic > Bicubic150 
  • Enable Activate anti-ringing filter.

Image downscaling

  • Cubic > Bicubic150 
  • Enable Activate anti-ringing filter.
  • Enable Scale in linear light.

Image upscaling

  • Cubic > Bicubic150 
  • Enable Activate anti-ringing filter.
  • Enable Scale in sigmoidal light.


 

 

 

 

 

System level 4


Chroma upscaling

  • Cubic > Bicubic150 
  • Enable Activate anti-ringing filter.

Image downscaling

  • Cubic > Bicubic150 
  • Enable Activate anti-ringing filter.
  • Enable Scale in linear light.

Image upscaling

  • Lancoz > 4 taps
  • Enable Activate anti-ringing filter.
  • Enable Scale in sigmoidal light.

 




System level 5

This is Lancoz focused setting which requires medium GPU computing power. This should work fine for most users giving good quality video playback.

Chroma upscaling

  • Lancoz > 4 taps
  • Enable Activate anti-ringing filter.

Image downscaling

  • Lancoz > 4 taps
  • Enable Activate anti-ringing filter.
  • Enable Scale in linear light.

Image upscaling

  • Lancoz > 4 taps
  • Enable Activate anti-ringing filter.
  • Enable Scale in sigmoidal light.




System level 6

This is Jinc algorithm focused setting which requires medium GPU computing power. This should work fine for most users giving good quality video playback.

Chroma upscaling

  • Select Jinc.

Image downscaling

  • Select Jinc.
  • Enable Scale in linear light.

Image upscaling

  • Select Jinc.
  • Enable Scale in sigmoidal light.

 


 


 



System level 7

This is Jinc algorithm focused setting which requires medium GPU computing power. This should work fine for most users giving good quality video playback.

Chroma upscaling

  • Select Jinc.
  • Enable Activate anti-ringing filter.
  



Image downscaling

  • Select Jinc.
  • Enable Scale in linear light.
  • Enable Activate anti-ringing filter.
 

 

Image upscaling

  • Select Jinc.
  • Enable Activate anti-ringing filter. 
  • Enable Scale in sigmoidal light.
 

 

 System level 8

The next step is Upscaling using NGU for upscaling. It would require high GPU Computing power.

This setting uses NGU for upscaling without putting too much stress on GPU.

Chroma upscaling

  • Select Jinc.

Image downscaling

  • Select Jinc.
  • Enable Scale in linear light.

Image upscaling

  • Select NGU Standard
  • Set luma doubling to low.
  • Set luma quadrupling to let madVR decide. 
  • Set doubling to only if any upscaling is needed.
  • Set qualrupling to only if any upscaling is needed.
  • Set upscaling algo to Bicubic60 AR.
  • Set downscaling algo to bicubic150 AR Linear Light. 
 


System level 9

This is optimal setting for taking benefit of NGU.

Chroma upscaling

  • Select Jinc.

Image downscaling

  • Select Jinc.
  • Enable Scale in linear light.

Image upscaling

  • Select NGU Standard
  • Set luma doubling to medium.
  • Set luma quadrupling to let madVR decide. 
  • Set doubling to only if any upscaling is needed.
  • Set qualrupling to only if any upscaling is needed.
  • Set upscaling algo to lanczos3 AR.
  • Set downscaling algo to lanczos3 AR linear Light. 


System level 10


Chroma upscaling

  • Select Jinc.
  • Enable Activate anti-ringing filter.
 

Image downscaling

  • Select Jinc.
  • Enable Scale in linear light.
  • Enable Activate anti-ringing filter. 
 
 

Image upscaling

  • Select NGU Standard
  • Set luma doubling to high.
  • Set luma quadrupling to let madVR decide.
  • Set chroma to let madVR decide.
  • Set doubling to only if any upscaling is needed.
  • Set qualrupling to only if any upscaling is needed.
  • Set upscaling algo to Jinc AR.
  • Set downscaling algo to lanczos3 AR linear Light. 
 
 


System level 11

Chroma upscaling set to high will use NGU and consume high GPU computing power.

Chroma upscaling

  • Select Jinc.
  • Enable Activate anti-ringing filter. 

Image downscaling

  • Select Jinc.
  • Enable Activate anti-ringing filter. 
  • Enable Scale in linear light.

Image upscaling

  • Select NGU Standard
  • Set luma doubling to high.
  • Set luma quadrupling to let madVR decide.
  • Set chroma to high. It will use NGU and consume high GPU computing power.
  • Set doubling to only if any upscaling is needed.
  • Set qualrupling to only if any upscaling is needed.
  • Set upscaling algo to Jinc AR.
  • Set downscaling algo to lanczos3 AR linear Light.

 



 

System level 12

SSIM will use high GPU cpmtuing power.

Chroma upscaling

  • Select Jinc.
  • Enable Activate anti-ringing filter. 

Image downscaling

  • Select SSIM > 2D - strength: 25%.
  • Enable Scale in linear light.

 


 Image upscaling

  • Select NGU Standard
  • Set luma doubling to high.
  • Set luma quadrupling to let madVR decide.
  • Set chroma to normal.
  • Set doubling to only if any upscaling is needed.
  • Set qualrupling to only if any upscaling is needed.
  • Set upscaling algo to Jinc AR.
  • Set downscaling algo to use "image downscaling settings". 

 




 

System level 13


Chroma upscaling

  • Select NGU > Standard, high quality.

 


 Image downscaling

  • Select SSIM > 2D - strength: 50%.
  • Enable Scale in linear light.

 


 Image upscaling

  • Select NGU Standard
  • Set luma doubling to high.
  • Set luma quadrupling to let madVR decide.
  • Set chroma to normal.
  • Set doubling to only if any upscaling is needed.
  • Set qualrupling to only if any upscaling is needed.
  • Set upscaling algo to Jinc AR.
  • Set downscaling algo to lanczos3 AR linear Light.
 

 
 

System level 14


Chroma upscaling

  • Select NGU > Standard, high quality.
 
Image downscaling
  • Select SSIM > 2D - strength: 50%.
  • Enable Scale in linear light.
Image upscaling
  • Select NGU Standard
  • Set luma doubling to very high.
  • Set luma quadrupling to let madVR decide.
  • Set chroma to normal.
  • Set doubling to only if any upscaling is needed.
  • Set qualrupling to only if any upscaling is needed.
  • Set upscaling algo to Jinc AR.
  • Set downscaling algo to lanczos3 AR linear Light.

 



System level 15


Chroma upscaling

  • Select NGU > Standard, high quality.
 
Image downscaling
  • Select SSIM > 2D - strength: 50%.
  • Enable Scale in linear light.
Image upscaling
  • Select NGU Standard
  • Set luma doubling to very high.
  • Set luma quadrupling to let madVR decide.
  • Set chroma to normal.
  • Set doubling to only if any upscaling is needed.
  • Set qualrupling to only if any upscaling is needed.
  • Set upscaling algo to Jinc AR.
  • Set downscaling algo to use "image downscaling settings".

 


 

System level 16


Chroma upscaling

  • Select NGU > Standard, high quality.
Image downscaling
  • Select SSIM > 2D - strength: 50%.
  • Enable Scale in linear light.
Image upscaling
  • Select NGU Standard
  • Set luma doubling to very high.
  • Set luma quadrupling to let madVR decide.
  • Set chroma to high.
  • Set doubling to only if any upscaling is needed.
  • Set qualrupling to only if any upscaling is needed.
  • Set upscaling algo to Jinc AR.
  • Set downscaling algo to lanczos3 AR linear Light.
 

 

 

System level 17


Chroma upscaling

  • Select NGU > Standard, high quality.


Image downscaling

  • Select SSIM > 2D - strength: 75%.
  • Enable Scale in linear light.

 



 

Image upscaling
  • Select NGU Standard
  • Set luma doubling to very high.
  • Set luma quadrupling to let madVR decide.
  • Set chroma to very high.
  • Set doubling to only if any upscaling is needed.
  • Set qualrupling to only if any upscaling is needed.
  • Set upscaling algo to Jinc AR.
  • Set downscaling algo to lanczos3 AR linear Light.




System level 18


Chroma upscaling

  • Select NGU > Standard, high quality.

Image downscaling

  • Select SSIM > 2D - strength: 75%.
  • Enable Scale in linear light.

Image upscaling

  • Select NGU Standard
  • Set luma doubling to very high.
  • Set luma quadrupling to let madVR decide.
  • Set chroma to very high.
  • Set doubling to only if any upscaling is needed.
  • Set qualrupling to only if any upscaling is needed.
  • Set upscaling algo to Jinc AR.
  • Set downscaling algo to use "image downscaling settings".



System level 19


Chroma upscaling

  • Select NGU > Standard, very high quality.
 


Image downscaling

  • Select SSIM > 2D - strength: 100%.
  • Enable Scale in linear light.
 

Image upscaling

  • Select NGU Standard
  • Set luma doubling to very high.
  • Set luma quadrupling to let madVR decide.
  • Set chroma to very high.
  • Set doubling to only if any upscaling is needed.
  • Set qualrupling to only if any upscaling is needed.
  • Set upscaling algo to Jinc AR.
  • Set downscaling algo to use "image downscaling settings".


System level 20


Chroma upscaling

  • Select NGU > Standard, very high quality.

Image downscaling

  • Select SSIM > 2D - strength: 100%.
  • Enable Scale in linear light.
  • Enable Activate anti-ringing filter.
  • Enable Activate anti-bloating filter with strength 25%.
 
 

Image upscaling

  • Select NGU Standard
  • Set luma doubling to very high.
  • Set luma quadrupling to let madVR decide.
  • Set chroma to very high.
  • Set doubling to only if any upscaling is needed.
  • Set qualrupling to only if any upscaling is needed.
  • Set upscaling algo to Jinc AR.
  • Set downscaling algo to use "image downscaling settings".
 

NGU Focused System level 1

 

Chroma upscaling

  • Select NGU > Standard, low quality.
 
 
 


Image downscaling

  • Select SSIM > 2D - strength: 25%.
  • Enable Scale in linear light.

 

 
 

Image upscaling

  • Select NGU Standard
  • Set luma doubling to low.
  • Set luma quadrupling to let madVR decide.
  • Set doubling to only if any upscaling is needed.
  • Set qualrupling to only if any upscaling is needed.
  • Set upscaling algo to Jinc AR.
  • Set downscaling algo to use "image downscaling settings".
 
 
 
 
 
 

NGU Focused System level 2

 

Chroma upscaling

  • Select NGU > Standard, medium quality.
 

 

Image downscaling

  • Select SSIM > 2D - strength: 50%.
  • Enable Scale in linear light.
 
 

 

Image upscaling

  • Select NGU Standard
  • Set luma doubling to medium.
  • Set luma quadrupling to let madVR decide.
  • Set doubling to only if any upscaling is needed.
  • Set qualrupling to only if any upscaling is needed.
  • Set upscaling algo to Jinc AR.
  • Set downscaling algo to use "image downscaling settings".
 
 

 
 

NGU Focused System level 3

 

Chroma upscaling

  • Select NGU > Standard, medium quality.

Image downscaling

  • Select SSIM > 2D - strength: 50%.
  • Enable Scale in linear light.

Image upscaling

  • Select NGU Standard
  • Set luma doubling to high.
  • Set luma quadrupling to let madVR decide.
  • Set chroma to let madVR decide.
  • Set doubling to only if any upscaling is needed.
  • Set qualrupling to only if any upscaling is needed.
  • Set upscaling algo to Jinc AR.
  • Set downscaling algo to use "image downscaling settings".
 
 
 

 
 

NGU Focused System level 4

 

Chroma upscaling

  • Select NGU > Standard, medium quality.

Image downscaling

  • Select SSIM > 2D - strength: 50%.
  • Enable Scale in linear light.

Image upscaling

  • Select NGU Standard
  • Set luma doubling to high.
  • Set luma quadrupling to let madVR decide.
  • Set chroma to high.
  • Set doubling to only if any upscaling is needed.
  • Set qualrupling to only if any upscaling is needed.
  • Set upscaling algo to Jinc AR.
  • Set downscaling algo to use "image downscaling settings".
 
 

 
 

Upscaling refinement

 
Upscaling refinement setting comes into effect when you zoom the video more than 100%.
Low quality video may not look good with these refinements.
I recommend not to use these refinements.


sharpen edge - It has minimal visible impact on video.
crispen edge - It has minimal visible impact on video.
thin edge - It does have a visible impact. Recommended level : 3 to 8

Enhance detail - It does have a visible impact. Low quality video may not look good with this refinement. Recommended level : 3 to 4.

soften edge - It has minimal visible impact on video. It is rarely required.
add grain - It has minimal visible impact on video.

Luma sharpen: It does have a visible impact. The lower the quality of video being played the lower the level you need to use.

 
Adaptive sharpen: It does have a visible impact. The lower the quality of video being played the lower the level you need to use.

Optimal setting most situation would be AdavtiveSharpen level 3. Enable activate anti-bloating filter with strength 50%.
 
  • For video with resolution upto 720p use level  (1 to 2). Enable activate anti-bloating filter with strength 25%
  • For video with resolution 1080p use level  (2 to 4). Enable activate anti-bloating filter with strength 50%.
  • For video with resolution 1440p use level (4 to 6). Enable activate anti-bloating filter with strength 25%.
Select refine the image only once after upscaling is complete.





4) Rendering tab

1. general settings

delay playback start until rende queue is full: Delays the playback of video during the start of playing a video file until render queue is full of video frame.

enable windowed overlay : It works on Windows 7,8,10 OS . It works with Intel and Nvidia GPU.  

Enable automatic fullscreen exclusive mode: It enables exclusive mode when playing a video file in fullscreen. This can improve the video playback.

CPU queue size: It represents the size of video buffer used for decoding.

GPU queue size: It represents the size of video buffer used for rendering. The video buffer consumes the GPUs RAM. 
If the computer has 4GB or more GPUs RAM then you may increase the GPU queue size to 16 or more.
 

 
 

2. windowed mode

The setting comes into effect when the video player is used in windowed mode. 
windowed mode is the default mode.
 
How many video frames shall be presented in advance:It represents the size of video buffer used for presentation. If the computer has 4GB or more GPUs RAM then you may increase the GPU queue size to 16.
 
 
 

3. exclusive mode

The setting here comes into effect when the video player is used in fullscreen exclusive mode. You need to enable the  Enable automatic fullscreen exclusive mode  from rendering > general settings tab.
 
 
How many video frames shall be presented in advance: It represents the size of video buffer used for presentation. If the computer has 4GB or more GPUs RAM then you may increase the GPU queue size to 16.
 

4. stereo 3d

The setting here comes into effect when a 3D video content is played.
 

5. smooth motion

enable smooth motion frame rate conversion : Enabling this option will  convert the source video file frame rate to match the display device frame rate.
 
 

 
 

6. dithering

Dithering is the technique of adding mild noise in the image which helps in reducing quantization error.
 
Dithering can cause to patterns to show up in the image. 
Dithering is helpful in reducing banding artifacts.
You may disable dithering if its already being done elsewhere.

  • None: Selecting this option will disable dithering.
  • Randon dithering :  It is the simplest dithering technique.
  • Ordered dithering : 
  • Error Diffusion option 1 - It can be used with  GPU which supports DX11. It is better dithering algorithm. 
  • Error Diffusion option 2 - It can be used with  GPU which supports DX11. It is better dithering algorithm.
 
 
To use better dithering algorithm select  Error Diffusion - option 1 as algorithm.





7. screenshots

The settings doen here will effect how screenshots of the video is processed into an image file.

 create screenshots with a  custom zoom factor

Enabling this option will overide the media player settings and lets user set the resolution of the image file for the screenshot.


 


 

8. trade quality for performance

Enabling these option will give emphasis on faster playback for some loss of quality.


Disable all options as shown below for best quality video playback.

 


 

 
Reference :  




Post a Comment

Post a Comment (0)

Previous Post Next Post