i am trying to find the plugins i used in Avisynth , to be ported to.
1.does Avisynth dll's will be usable in vapoursynth? , if not how can i use them or can i convert them myself?
need stuff like : ColorMatrix,levels,tweak(".."),Hysteria,Sharpen, Blur ,nnedi3(actually got that one working),McTemporalDenoise,GradFun3,Dehalo_alpha.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 5 of 5
Thread
-
-
VapourSynth has equivalents for all of those. Check the documentation and vsdb.
-
colormatrix
Vapoursynth uses powerful Resize filter, that resizes video resolution, changes colorspaces or bit depth as well. To just change colorspace from NTSCDV format to BT709:
Code:import vapoursynth as vs from vapoursynth import core clip = core.resize.Bicubic(clip, matrix_in_s = '170m', matrix_s = '709')
matrix_s means string output value
matrix_in expects numeric (int) value
matrix expects also numeric value
so that '_s' stands for string instead of number
correlation between numbers and strings as for matrix is:
{0:'rgb', 1:'709', 2:'unspec', 3:'reserved', 4:'fcc',
5:'470bg', 6:'170m', 7:'240m', 8:'ycgco', 9:'2020ncl',
10:'2020cl' , 100:'OPP',
}
so for example if your SD resolution is PAL and you for example resize using nnedi3 somewhere in the script , resizing to HD, and then you change colorspace in this line:
Code:clip = core.resize.Bicubic(clip, matrix_in_s = '470bg', matrix_s = '709')
Code:clip = core.resize.Bicubic(clip, matrix_in = 5, matrix = 1)
-
Also be prepared for more restrictive approach, for example if loading NTSCDV with ffms2 source plugin into 4:1:1 (avisource loads NTSCDV as 4:2:0) you have to crop width with mod 4 and height with mode 2, otherwise you'd get error. It would not crop in the middle of subsampling. NTSC 4:1:1 has one color for four x pixels.
Similar Threads
-
Help transitioning from avisynth to vapoursynth.
By zanzar in forum Newbie / General discussionsReplies: 10Last Post: 3rd Feb 2019, 17:50 -
Debading method (Vapoursynth to avisynth)
By frank_zappa in forum RestorationReplies: 2Last Post: 3rd Nov 2017, 13:26 -
Problems loading plugins into AVISynth
By bvdd in forum Video ConversionReplies: 51Last Post: 20th Nov 2015, 08:15 -
x264 and ffmpeg equivalent commandline with avisynth
By mindphasar in forum Video ConversionReplies: 2Last Post: 7th Apr 2015, 18:26 -
HELP! MeGUI can't load certain avisynth plugins
By Throw_Hammer in forum Newbie / General discussionsReplies: 3Last Post: 22nd Feb 2014, 18:19