Mpc-hc Vst Plugin

  1. Mpc-hc Vst Plugin App
  2. Mpc-hc Plugins
  3. Mpc-hc Vst Plugin Download
  • 2The interface
    • 2.1svpflow1
    • 2.2svpflow2
    • 2.3Samples
  • MPC-HC, Mad-VR and Reclock is the way to go. I just installed them a month ago. Google them for tutorial to install/set up. It takes a while to get the appropriate setting (no stutter and you get green reclock icon on your taskbar that shows your video running around 60hz).
  • MPC-HC is an extremely light-weight, open source media player for Windows ®.It supports all common video and audio file formats available for playback. We are 100% spyware free, there are no advertisements or toolbars.

Intro

Media Player Classic is the perfect substitute for Windows Media Player.Estetically is identical to version 6.4 and has the same lightness in terms of RAM occupation, but it has much more usefull functions.

SVP 3.1 and later is based on SVPflow Avisynth plugins. Additionally, Vapoursynth plugins was developed for the multi-OS SVP 4.

Motion vectors search plugin (svpflow1) is a deeply refactored and modified version of MVTools2 Avisynth plugin and we're grateful to all of MVTools authors: Manao, Fizick, Tsp, TSchniede and SEt for developing such a great library.

SVP wouldn't be ever possible without it.

We're also providing modified MVTools 2.5.11 with GPU-accelerated MSmoothFps function.

Parts of description were taken from MVTools2 page so this documentation is available under CreativeCommons BY-SA 3.0 license.

The interface

svpflow1

This is a motion vectors search plugin which is a refactored version of MVTools2 2.5 so this plugin is distributed under terms of the GNU GPL license.

SVSuper(source, params_string)

Get source clip and prepare special 'super' clip with multilevel (hierarchical scaled) frames data. The super clip is used by both SVAnalyse and SVSmoothFps functions. For storing and transferring its parameters we use audio properties of super clip (specifically, num_audio_samples) as a trick. So, audio is killed in super clip.

  • source - source video clip
  • params_string - parameters list in JSON format, names quotation is optional. All parameters are optional too.
{
pel: 2,
The accuracy of the motion estimation. Value can only be 1, 2 or 4. 1 means a precision to the pixel, 2 means a precision to half a pixel, 4 - to quarter pixel (not recommended to use).
gpu: 0,
GPU usage mode: 0 - none, 1 - for frame rendering. Note that with 'gpu:1' scaling up mode is always set to 0 cause subpixel planes are not actually used for frame rendering.
full: true,
Turns on reduced super clip size when full=false, valid only with pel=1. It saves some memory and can be useful for processing extra large frames (like UHD (4K)).
scale: {
Scaling modes:
up: 2,
Subpixel interpolation method for pel=2,4.
  • 0 for soft interpolation (bilinear),
  • 1 for bicubic interpolation (4 tap Catmull-Rom),
  • 2 for sharper Wiener interpolation (6 tap, similar to Lanczos).
down: 4
Hierarchical levels smoothing and reducing (halving) filter.
  • 0 is simple 4 pixels averaging like unfiltered SimpleResize (old method);
  • 1 is triangle (shifted) filter like ReduceBy2 for more smoothing (decrease aliasing);
  • 2 is triangle filter like BilinearResize for even more smoothing;
  • 3 is quadratic filter for even more smoothing;
  • 4 is cubic filter like BicubicResize(b=1,c=0) for even more smoothing.
}
rc: 0,
Used by the SVP Manager only. You don't need to set this in your own scripts.

}

SVAnalyse(super, params_string, [src]: clip)

Get prepared multilevel super clip, estimate motion by block-matching method and produce special output clip with motion vectors data used by SVSmoothFps function.Some hierarchical multi-level search methods are implemented (from coarse image scale to finest).

  • super - multilevel super clip prepared by SVSuper function. You can replace this clip with MSuper clip from original MVTools 2.5 in which case you should define 'gpu' parameter here.
  • params_string - parameters list in JSON format.
  • src - source clip, must be defined when using reduced super clip ('super.full'=false).
{
gpu: 0,
GPU usage mode: 0 - none, 1 - for frame rendering. Should be used instead of 'super.gpu' if and only if SVSuper is replaced with MSuper!
vectors: 3,
Direction of motion vectors to search for.
  • 1 - forward only, from current frame to the following one (not useful at all),
  • 2 - backward only, from following frame to the current one (useful only with 'smoothfps.algo: 1'),
  • 3 - search both directions.
block: {
Defines vectors grid step and block sizes for block matching algorithm.
w: 16,
Size of a block (horizontal). It's either 8, 16 or 32. Larger blocks are less sensitive to noise, are faster, but also less accurate, smaller blocks produce more wavy picture.
h: 16,
Vertical size of a block. Default is equal to horizontal size. Additional options are: 4 for 'block.w:8', 8 for 'block.w:16', 16 for 'block.w:32'.
overlap: 2
Block overlap value. 0 - none, 1 - 1/8 of block size in each direction, 2 - 1/4 of block size, 3 - 1/2 of block size. The greater overlap, the more blocks number, and the lesser the processing speed.

Resulting overlap value in pixels should be even with CPU rendering.

},
main: {
Defines main search settings.
levels: 0,
Positive value is the number of levels used in the hierarchical analysis made while searching for motion vectors. Negative or zero value is the number of coarse levels NOT used in the hierarchical analysis made while searching for motion vectors.
search: {
type: 4,
The type of search on finest level:
  • 2 - Hexagon search, similar to x264,
  • 3 - Uneven Multi Hexagon (UMH) search, similar to x264,
  • 4 - Exhaustive search, slowest but it gives the best results.
distance: -2*pel,
Search range on finest level:
  • 0 - don't search on finest level at all, greatly increase search speed but may still looks good with GPU rendering. This option is opposite to 'super.pel'.
  • >0 - classic fixed range in pixels.
  • <0 - 'adaptive' range based on block local contrast. Range is small or zero for low contrast blocks (black/gray for example) but is big for blocks that has many visible details. Effective average range in common scenes is about 1/3 of this value.
sort: true,
Sort vectors from previous level by SAD values to define the order of blocks scanning so the search begins with better predictors. This option is always ON on coarse levels but may be time consuming on finest one.
satd: false,
Use SATD function instead of SAD on finest level. Extremely slow, do not use it!
coarse: {
The same parameters for coarse levels.
width: 1050,
Maximum width of a level to be processed with 'coarse' parameters. Can be useful to save CPU power when processing extra large frames (like UHD (4K)).
type: 4,
Same as 'main.search.type'.
distance: 0,
Same as 'main.search.type' except zero means '-10'.
satd: true,
Use SATD function instead of SAD on every coarse level, improves motion vector estimation at luma flicker and fades.
trymany: false,
Try to start searches around many predictors.
bad: {
Wide second search for bad vectors.
sad: 1000,
SAD threshold to define 'bad' vectors. Value is scaled to block size 8x8.
range: -24
The range of wide search for bad blocks. Use positive value for UMH search and negative for Exhaustive search.
}
}
},
penalty: {
Main search penalties for motion coherence.
lambda: 10.0,
Set the coherence of the field of vectors. The higher, the more coherent. However, if set too high, some best motion vectors can be missed.

This value is different from MVTools, see remark for explanations.

plevel: 1.5,
penalty.lambda scaling mode between levels. 1.0 means no scaling, 2.0 - linear, 4.0 - quadratic dependence from hierarchical level number.

This value is different from MVTools, see remark for explanations.

lsad: 8000,
SAD limit for lambda using. Local lambda is smoothly decreased if SAD value of vector predictor is greater than the limit. It prevents bad predictors using but decreases the motion coherence. Value is scaled to block size 8x8.
pnew: 50,
Relative penalty (scaled to 256) to SAD cost for new candidate vector. New candidate vector must be better will be accepted as new vector only if its SAD with penalty (SAD + SAD*pnew/256) is lower then predictor cost (old SAD). It prevent replacing of quite good predictors by new vector with a little better SAD but different length and direction.
pglobal: 50,
Relative penalty (scaled to 256) to SAD cost for global predictor vector (lambda is not used for global vector).
pzero: 100,
Relative penalty (scaled to 256) to SAD cost for zero vector. It prevent replacing of quite good predictor by zero vector with a little better SAD (lambda is not used for zero vector).
pnbour: 50,
Relative penalty (scaled to 256) to SAD cost for up to 8 neighbours vectors.
prev: 0,
Relative penalty (scaled to 256) to SAD cost for 'reverse' vector (already found vector from reverse search direction), works only with 'analyse.vectors: 3'.
}
},
refine: [ {
Array of structures, each element defines additional level of recalculation, on each level blocks are divided by 4. Replaces MRecalculate function.

Interpolated vectors of old blocks are used as predictors for new vectors, with recalculation of SAD.

thsad: 200,
Only bad quality new vectors with SAD above this threshold will be re-estimated by search. Good vectors are not changed, but its SAD will be updated (re-calculated). Value is scaled to block size 8x8.

Zero means 'do not refine, just divide'

search: {
Search parameters.
type: 4,
Same as main.search.type by default.
distance: pel,
Same as super.pel value by default.
satd: false
Same as main.search.satd by default.
},
penalty: {
pnew: 50
Same as main.penalty.pnew by default.
}
} ],
special: {
Some special parameters not used in SVP
delta: 1
Interval between analysed frames.
}

}

SVConvert(vectors, isb: bool)

Convert SVAnalyse output to the format of MAnalyse compatible with 'client' MVTools 2.5 functions.

  • vectors - motion vectors data produced by SVAnalyse function,
  • isb - which vectors to extracts: forward if isb=false, backward if isb=true.

Remark: lambda/plevel values meaning.

Let the finest level number is 0 and we've got N levels total => the smallest level number is N-1.
MVTools approach:

SVPflow approach:

Benefits - lambda penalty is now invariant to video frame size.

svpflow2

A closed-source frame rendering plugin.

SVSmoothFps(source, super, vectors, params_string, [sar]: float, [mt]: integer)

Will change the framerate (fps) and number of frames of the source clip. The function can be use for framerate conversion, slow-motion effect, etc. Free ignite vst. It uses motion vectors found with SVAnalyse function to create interpolated pictures at some intermediate time moments between frames. Some internal masks (cover/uncover, vectors quality) can be used to produce the output image with minimal artifacts.

  • source - source video clip.
  • super - multilevel super clip prepared by SVSuper function.
  • vectors - motion vectors data produced by SVAnalyse function.
  • params_string - parameters list in JSON format.
  • sar - optional, can be used instead of 'light.sar' inside ffdshow:
  • mt - optional, workaround for current Avisynth 2.6 MT build ver. 2.6.0.3, should be equal to number of threads defined in SetMTMode():
{
rate: {
Target frame rate.
num: 2,
Numerator of multiplier for frame rate change.
den: 1,
Denominator of multiplier for frame rate change.
abs: false
If true then num/den define absolute frame rate value instead if multiplier for source frame rate.
},
algo: 13,
Rendering algorithm or 'SVP shader', available values are:
  • 1 - sharp picture without any blending, moves pixels by motion vectors from next frame to current. Requires only backward motion vectors ('analyse.vectors: 2') so it's the fastest possible method.
  • 2 - like 1st but moves pixels from the nearest (in terms of time) frame so it uses both backward and forward vectors. Recommended for 2D animations.
  • 11 - time weighted blend of forward and backward partial motion compensations.
  • 13 - same as 11th but with dynamic median added. Produces minimum artifacts but with noticeable halos around moving objects.
  • 21 - 11th plus additional cover/uncover masking to minimize halos and improve frame edges.
  • 23 - 21th plus extra vectors from adjacent frames for further decreasing of halos, can be less smooth than 21th.
block: false,
Use block-based motion compensation instead of pixel-based. Always OFF with GPU rendering enabled.
cubic: 1,
Only works with GPU rendering enabled:
  • 0 - use bilinear interpolation for motion vectors and all masks,
  • 1 - use bicubic interpolation
gpuid: 0,
Defines which video card should be used for rendering, only works with GPU rendering enabled:
  • 0 - default (use 1st available GPU),
  • 11 - use 1st GPU device on 1st OpenCL platfrom,
  • 12 - use 2nd GPU device on 1st OpenCL platfrom,
  • 21 - use 1st GPU device on 2nd OpenCL platfrom an so on.
linear: true,
Only works with GPU rendering enabled. When set to 'true' frame rendering is done in linear light.
mask: {
Masks properties.
cover: 100,
Cover/uncover mask strength, more means 'more strong mask'. Recommended values 50-100.
area: 0,
Bad areas (identified by vector's SAD values) mask, more means 'more strong mask'. Recommended value is 100, but it can dramatically reduce smoothness effect.
area_sharp: 1.0
Defines the exponent of relation between SAD and area mask values.
},
scene: {
Extended 'scene change' controls.
mode: 3,
Frames interpolation mode:
  • 0 - uniform interpolation for maximum smoothness. For example for 24->60 conversion output will be: '1mmmm1mmmm..', where '1' stands for original frame and 'm' for interpolated one.
  • 1 - '1m' mode that gives '1mm1m1mm1m..' output in the above example => less artifacts at the cost of less smoothness.
  • 2 - '2m' mode: '1m11m11m11..' => much less artifacts and much less smoothness.
  • 3 - adaptive mode that switches between modes 0,1,2 based on overall vector field quality.
blend: false,
Blend frames at scene change like ConvertFps if true, or repeat last frame like ChangeFps if false.
limits: {
Limits for vector field quality / scene change detection.

For example scene change will be detected if number of blocks with 'adjusted SAD' > 'limits.scene' will be more than 'limits.blocks' percents of all blocks, that has 'adjusted SAD' value > 'limits.zero', where 'adjusted SAD' is 'block SAD'/'block average luma'.

m1: 1600,
Limit for changing uniform mode to '1m'.
m2: 2800,
Limit for changing '1m' mode to '2m'.
scene: 4000,
Limit for scene change detection.
zero: 200,
Vectors with 'adjusted SAD' less than this value are excluded from consideration.
blocks: 20
Threshold which sets how many blocks in percents have to change.
},
luma: 1.5
Additional correction parameter for 'average luma' value.
},
light: {
'Ambilight'-like black fields lighting.
aspect: 0.0,
Screen aspect ratio defines black fields height (or width) and output video frame size.
sar: 1.0,
Source video pixel aspect ratio.
zoom: 0.0,
'Glow' (or 'zoom out') effect size, in percents of original frame size.
lights: 16,
Lights count.
length: 100,
Flare length in percents.
cell: 1.0,
Width of every light.
border: 12
Height of averaging frame border.
}

}

SVSmoothFps_NVOF(source, params_string, ..)

TODO!

The same as SVSmoothFps but the motion vectors are acquired in-place via NVidia Optical Flow API so there's no need for SVSuper/SVAnalyse at all.

Samples

Basic Avisynth script

Basic Vapoursynth script

Mpc-hc Vst Plugin App

All other scripts are the same except for different JSON strings. For example:

Maximum smoothness for animation

More JSON magic

Multi-line JSON string with comments inside it:

Downloads

Mpc-hc Vst Plugin

The latest version is: 4.3.0.168 (2019-07-28).

The distribution includes:

  • svpflow1.dll, svpflow2.dll 32-/64-bit plugins for Avisynth and Vapoursynth on Windows
  • svpflow1.so, svpflow2.so 64-bit plugins for Vapoursynth on Linux
  • svpflow1.dylib, svpflow2.dylib 64-bit plugins for Vapoursynth on MacOS
  • sample scripts
  • readme and licenses files

Please note that SVPflow libs require a SVP Manager running (Windows and macOS only), otherwise you'll see a red rectangle around the video frame.

You're free to disable SVP completely ('Temporarily disable SVP' + ui.disable_on_launch = true in All settings), however it still must be running in background.

Mpc-hc Plugins

Retrieved from 'https://www.svp-team.com/w/index.php?title=Manual:SVPflow&oldid=5722'

MPC HC – Load External or Download Subtitle
How to load external subtitle file or closed caption in MPC HC using Keyboard shortcut or Right Click in order to make use while watching movies, videos.
Subtitle are transcript of movies, video files that are usually displayed in the screen (usually bottom of the screen) which can be the exact language as the video or a translation to another language to enable users of the language to go along with the video.
Closed Captions are used for the deaf or those with listening disabilities.
Subtitles comes in different format, They are as follow
.srt – SubRip text file
.ssa or .ass – Advanced Substation
.usf – Universal Subtitle Format
.cdg –
.idx – VobSub
.sub – MicroDVD or SubViewer
.utf
.aqt – AQTitle
.jss – JacoSub
.psb – PowerDivX
.rt – RealText
.smi – SAMI
.txt – MPEG 4 Timed Text
.smil
.stl – Spruce Subtitle Format
.dks
.pjs – Phoenix Subtitle
.mpl2
.mks
.vtt
.gsub – Gloss Subtitle

Using Keyboard Shortcut

1) Launch MPC HC (Media Player Classic – Home Cinema) with the Video you want to watch.
2) Press Ctrl + L on your Keyboard, a window will be opened.
3) A window will open, Go to the location where the subtitle is placed, Select it and Click on Open and subtitle track is added.
Right Clicking on MPC HC (Media Player Classic – Home Cinema) Window.
1) Launch MPC HC (Media Player Classic – Home Cinema) with the Video you want to watch.
2) Right Click on the MPC HC (Media Player Classic – Home Cinema) Window, Click on File, then Click on Load subtitle.

Mpc-hc Vst Plugin Download


3) A window will open, Go to the location where the subtitle is placed, Select it and Click on Open and subtitle track is added.

Using the Menu

1) Launch MPC HC (Media Player Classic – Home Cinema) with the Video you want to watch.
2) On the Menu bar, Click on File, then Click on Load subtitle.
3) A window will open, Go to the location where the subtitle is placed, Select it and Click on Open and subtitle track is added.
Hope, You have been able to add external subtitle file to video on MPC HC (Media Player Classic – Home Cinema).
Please Comment and Share below.

Related Posts: