VapourSource

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(Requirements)
Line 1: Line 1:
 
{{FilterCat|External_filters|Source_filters|Plugins}}
 
{{FilterCat|External_filters|Source_filters|Plugins}}
 
{{Filter3
 
{{Filter3
| {{Author/Chikuzen}}
+
| {{Author/Chikuzen}}, [https://github.com/DJATOM/VapourSource/releases DJATOM]
| 0.0.4
+
| 0.1.1
 
| [http://github.com/chikuzen/VapourSource/releases/download/0.0.4/VapourSource-0.0.4.zip VapourSource-0.0.4.zip]
 
| [http://github.com/chikuzen/VapourSource/releases/download/0.0.4/VapourSource-0.0.4.zip VapourSource-0.0.4.zip]
 
| Source filters  
 
| Source filters  
Line 10: Line 10:
 
== Description ==
 
== Description ==
 
<tt>VapourSource</tt> is a VapourSynth script reader for AviSynth 2.6.
 
<tt>VapourSource</tt> is a VapourSynth script reader for AviSynth 2.6.
<br>
+
 
 
<br>
 
<br>
 
== Requirements ==
 
== Requirements ==
 
* [http://sourceforge.net/projects/avisynth2/ AviSynth 2.6.0] or greater
 
* [http://sourceforge.net/projects/avisynth2/ AviSynth 2.6.0] or greater
 
* [http://www.vapoursynth.com/ VapourSynth] R32 or greater
 
* [http://www.vapoursynth.com/ VapourSynth] R32 or greater
 
 
* [[SSE2]] capable CPU
 
* [[SSE2]] capable CPU
 
* [http://www.microsoft.com/en-us/download/details.aspx?id=51682 Microsoft Visual C++ 2015 Redistributable Package]
 
* [http://www.microsoft.com/en-us/download/details.aspx?id=51682 Microsoft Visual C++ 2015 Redistributable Package]
 +
 
<br>
 
<br>
 
 
== Supported Formats ==
 
== Supported Formats ==
 
<tt>VapourSource</tt> supports the following formats:
 
<tt>VapourSource</tt> supports the following formats:
Line 56: Line 55:
 
! colspan="2"| *Y8/YV12/16/24 allow bit depths >8 using the [[Stack16]] format.
 
! colspan="2"| *Y8/YV12/16/24 allow bit depths >8 using the [[Stack16]] format.
 
|}
 
|}
 +
 
<br>
 
<br>
 
== [[Script variables|Syntax and Parameters]] ==
 
== [[Script variables|Syntax and Parameters]] ==
 +
 
<br>
 
<br>
 
=== VSImport===
 
=== VSImport===
Line 78: Line 79:
 
=== VSEval===
 
=== VSEval===
 
Evaluates a VapourSynth script inside an AviSynth script, no need for an external script.
 
Evaluates a VapourSynth script inside an AviSynth script, no need for an external script.
<br>
 
 
<br>
 
<br>
 
:{{Template:FuncDef|VSEval (''string'' source, ''bool'' "stacked", ''int'' "index")}}
 
:{{Template:FuncDef|VSEval (''string'' source, ''bool'' "stacked", ''int'' "index")}}
Line 90: Line 90:
 
::{{Par2|index|int|0}}
 
::{{Par2|index|int|0}}
 
:::Index of input clip.
 
:::Index of input clip.
<br>
 
  
 +
<br>
 
== Examples ==
 
== Examples ==
 
VSImport:
 
VSImport:
Line 106: Line 106:
 
  """
 
  """
 
  VSEval(source=script, index=1)
 
  VSEval(source=script, index=1)
 +
 
<br>
 
<br>
 
== Changelog ==
 
== Changelog ==
Line 115: Line 116:
 
                               - allow to input a RGB24 clip.<br>
 
                               - allow to input a RGB24 clip.<br>
 
  0.0.1        07/31/2013      - initial release
 
  0.0.1        07/31/2013      - initial release
 +
 
<br>
 
<br>
 
== Archived Downloads ==
 
== Archived Downloads ==
Line 129: Line 131:
 
|[http://www.mediafire.com/download/nrk3k4xakkwujqx/VapourSource-0.0.2.zip VapourSource-0.0.2.zip] -- [http://web.archive.org/web/20160302140330/https://codeload.github.com/chikuzen/VapourSource/zip/master VapourSource-master.zip]
 
|[http://www.mediafire.com/download/nrk3k4xakkwujqx/VapourSource-0.0.2.zip VapourSource-0.0.2.zip] -- [http://web.archive.org/web/20160302140330/https://codeload.github.com/chikuzen/VapourSource/zip/master VapourSource-master.zip]
 
|}
 
|}
 +
 
<br>
 
<br>
 
== External Links ==
 
== External Links ==
 
*[http://forum.doom9.org/showthread.php?t=168339 Doom9 Forum] - VapourSource discussion.
 
*[http://forum.doom9.org/showthread.php?t=168339 Doom9 Forum] - VapourSource discussion.
 
*[http://github.com/chikuzen/VapourSource/ GitHub] - Source code repository.  
 
*[http://github.com/chikuzen/VapourSource/ GitHub] - Source code repository.  
<br>
+
 
 
<br>
 
<br>
 
-----------------------------------------------
 
-----------------------------------------------
 
'''Back to [[External_filters#Source_Filters|External Filters]] &larr;'''
 
'''Back to [[External_filters#Source_Filters|External Filters]] &larr;'''

Revision as of 18:12, 3 August 2018

Abstract
Author Chikuzen, DJATOM
Version 0.1.1
Download VapourSource-0.0.4.zip
Category Source filters
License GPLv2
Discussion Doom9 Thread

Contents

Description

VapourSource is a VapourSynth script reader for AviSynth 2.6.


Requirements


Supported Formats

VapourSource supports the following formats:

AviSynth colorspace VapourSynth colorspace
RGB24 RGB24
RGB32 COMPATBGR32
YUY2 COMPATYUY2
Y8* GRAY8/16
YV12* YUV420P8/9/10/16
YV16* YUV422P8/9/10/16
YV24* YUV444P8/9/10/16
YV411 YUV411P8
Only constant format/resolution/framerate clips are supported.
*Y8/YV12/16/24 allow bit depths >8 using the Stack16 format.


Syntax and Parameters


VSImport

Imports an external VapourSynth script (*.vpy).

VSImport (string source, bool "stacked", int "index")


string  source =
Path to VapourSynth script (*.vpy); path can be omitted if the script is in the same folder as the AviSynth script (*.avs).


bool  stacked = false
If this is set to true, MSB/LSB will be separated and be stacked vertically (Stack16).


int  index = 0
Index of input clip.




VSEval

Evaluates a VapourSynth script inside an AviSynth script, no need for an external script.

VSEval (string source, bool "stacked", int "index")


string  source =
VapourSynth script to be evaluated.


bool  stacked = false
If this is set to true, MSB/LSB will be separated and be stacked vertically.


int  index = 0
Index of input clip.


Examples

VSImport:

VSImport("script.vpy", stacked=false, index=0)


VSEval:

script = """
import vapoursynth as vs
bc = vs.get_core().std.BlankClip
clip0 = bc(format=vs.YUV422P8, color=[0, 128, 128])
clip1 = bc(format=vs.YUV422P8, color=[255, 128, 128])
clip0.set_output(index=0)
clip1.set_output(index=1)
"""
VSEval(source=script, index=1)


Changelog

Version      Date            Changes
0.0.4 05/07/2016 - VS2010 to VS2015 - update avisynth.h, VapourSynth.h and VSScript.h - add 64bit binary
0.0.2 08/06/2013 - fix vertical flip issue on COMPATBGR32. - allow to input a RGB24 clip.
0.0.1 07/31/2013 - initial release


Archived Downloads

Version Download Source code Mirror
v0.2.0 VapourSource-0.0.2.zip VapourSource-master.zip VapourSource-0.0.2.zip -- VapourSource-master.zip


External Links



Back to External Filters

Personal tools