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. |
|
![]() |
|
Thread Tools | Search this Thread | Display Modes |
![]() |
#1 | Link |
typo lover
Join Date: May 2009
Posts: 595
|
VapourSource: vapoursynth script importer for avisynth
VapourSource is a source filter of avisynth2.6 to import vapoursynth script.
You could treat vpy more easily than AVISource and HBVFWSource, since this does not use Video for Windows. binary: VapourSource-0.0.4.zip sourcecode: https://github.com/chikuzen/VapourSource/ requirements: -avisynth2.6/Avisynth+r1569 or greater -vapoursynth r30 or later -Microsoft Visual C++ 2015 Redistributable Package -Windows Vista sp2 or later ![]() EDIT: 2016-05-07 update to 0.0.4
__________________
my repositories Last edited by Chikuzen; 7th May 2016 at 11:54. |
![]() |
![]() |
![]() |
#3 | Link |
Registered User
Join Date: Jun 2009
Location: UK
Posts: 262
|
OOH! What a clever idea! Allows us to combine the best of both worlds (in a limited but still bound-to-be-useful fashion), and provides an easy way to start tinkering with VS for us old-fashioned folks who haven't quite dared tackle it yet.
![]() |
![]() |
![]() |
![]() |
#4 | Link |
typo lover
Join Date: May 2009
Posts: 595
|
update to 0.0.2
* fix vertical flip issue on COMPATBGR32. * allow to input RGB24 clip.
__________________
my repositories |
![]() |
![]() |
![]() |
#5 | Link |
typo lover
Join Date: May 2009
Posts: 595
|
update to 0.0.4
- VS2010 to VS2015 - update avisynth.h, VapourSynth.h and VSScript.h - add 64bit binary
__________________
my repositories |
![]() |
![]() |
![]() |
#7 | Link | |
unsigned int
Join Date: Oct 2012
Location: 🇪🇺
Posts: 760
|
Quote:
32 bit Avisynth -> 32 bit VapourSynth 64 bit Avisynth -> 64 bit VapourSynth (It links to VSScript.dll.)
__________________
Buy me a "coffee" and/or hire me to write code! |
|
![]() |
![]() |
![]() |
#8 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,612
|
Is it possible to use Vapoursource so that the Vapoursynth part gets the video data from the Avisynth part?
Something like this: Code:
DGSource("C:\Share\av2004.dgi",cb=12,cl=8,cr=8) clp = QTGMC("very slow") vs = """ from vapoursynth import core clp = core.cas.CAS(clp, sharpness=0.25) """ VSEval(source=vs)
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
![]() |
![]() |
![]() |
#9 | Link |
Registered User
Join Date: Sep 2010
Location: Ukraine, Bohuslav
Posts: 376
|
Not really. But you can use avsw.Eval inside vapoursynth to process something by avs script (declaring inputs from vapoursynth that can be used inside avisynth block of code) and then output result into vapoursynth.
clip = core.your.Source(file) avs_script_part = """ clip your avs code here """ clip2 = core.avsw.Eval(avs_script_part, clips=[clip], clip_names=["clip"]) clip2.set_output() |
![]() |
![]() |
![]() |
#10 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,503
|
Quote:
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
|
![]() |
![]() |
![]() |
#12 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,612
|
MVTools in Avisynth is slightly ahead of the Vapoursynth port, in particular the ability to use a low bitdepth analysis clip for the vectors and process in high bitdepth is a big plus performance-wise. Also the SAD calculation with different chroma weighting is useful.
Are there any caveats in using avsproxy with MVTools (other than that I would have to install the x86 version of Avisynth+ and necessary plugins)?
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
![]() |
![]() |
![]() |
#13 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,752
|
avsproxy only supports 8bit video, so you'll need to use stacked format for 10, 16, 32 bit video etc. x86 + 8bit only are the only "restrictions" I'm aware of.
EDIT With avsproxy I mean avsw.Eval()
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database || https://github.com/avisynth-repository Last edited by ChaosKing; 4th August 2020 at 07:58. |
![]() |
![]() |
![]() |
#15 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,752
|
Well its just 2-3 commands more
In VS you'd use fmtc.stack16tonative() and maybe fmtc.nativetostack16() if you go back to avs In avs ConvertToStacked()
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database || https://github.com/avisynth-repository |
![]() |
![]() |
![]() |
#17 | Link | |
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,635
|
Quote:
VS_AvsReader is the other way around; import an AVS script in VapourSynth. Since VS is able to load AVS plugins, I would think that this plugin is obsolete. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|