VapourSource

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(VapourSource)
 
m (Supported Formats)
Line 11: Line 11:
 
:VapourSource is a VapourSynth script reader for AviSynth2.6x.
 
:VapourSource is a VapourSynth script reader for AviSynth2.6x.
 
<br>
 
<br>
== Supported Formats ==  
+
== Supported Formats ==
 
:VapourSource supports the following formats:
 
:VapourSource supports the following formats:
  
::*[[Y8]] ------ GRAY8/16
+
::{| class="wikitable" border="1" width="350px"
::*[[YV12]] -- YUV420P8/9/10/16
+
|-
::*[[YV16]] -- YUV422P8/9/10/16
+
!width="300px"| AviSynth colorspace
::*[[YV24]] -- YUV444P8/9/10/16
+
!width="300px"| VapourSynth colorspace
::*[[YV411]] - YUV411P8
+
|-
::*[[RGB24]]
+
|[[RGB24]]
::*[[RGB32]] - COMPATBGR32
+
|RGB24
::*[[YUY2]] --- COMPATYUY2.  
+
|-
 +
|[[RGB32]]
 +
|COMPATBGR32
 +
|-
 +
|[[YUY2]]
 +
|COMPATYUY2
 +
|-
 +
|[[Y8]]*
 +
|GRAY8/16
 +
|-
 +
|[[YV12]]*
 +
|YUV422P8/9/10/16
 +
|-
 +
|[[YV16]]*
 +
|YUV422P8/9/10/16
 +
|-
 +
|[[YV24]]*
 +
|YUV444P8/9/10/16
 +
|-
 +
|[[YV411]]
 +
|YUV411P8
 +
|}
 +
::*Only constant format/resolution/framerate clips are supported.
  
: *Non constant format/resolution/framerate clips are not supported.
 
 
<br>
 
<br>
== Requirements: ==
+
== Requirements ==
 
:- [http://forum.doom9.org/showthread.php?t=168764 AviSynth 2.6.0 Alpha5] or later
 
:- [http://forum.doom9.org/showthread.php?t=168764 AviSynth 2.6.0 Alpha5] or later
 
:- [http://www.vapoursynth.com/ VapourSynth] R23 or later
 
:- [http://www.vapoursynth.com/ VapourSynth] R23 or later
:- Supported color formats: [[Y8]], [[YV12]], [[YV16]], [[YV24]], [[YV411]]
 
 
<br>
 
<br>
 
:- [[SSE2]] capable CPU
 
:- [[SSE2]] capable CPU

Revision as of 19:18, 20 April 2014

Abstract
Author Chikuzen
Version 0.0.2
Download VapourSource-0.0.2.zip
Category Source filters
License GPLv2


Contents

Description

VapourSource is a VapourSynth script reader for AviSynth2.6x.


Supported Formats

VapourSource supports the following formats:
AviSynth colorspace VapourSynth colorspace
RGB24 RGB24
RGB32 COMPATBGR32
YUY2 COMPATYUY2
Y8* GRAY8/16
YV12* YUV422P8/9/10/16
YV16* YUV422P8/9/10/16
YV24* YUV444P8/9/10/16
YV411 YUV411P8
  • Only constant format/resolution/framerate clips are supported.


Requirements

- AviSynth 2.6.0 Alpha5 or later
- VapourSynth R23 or later


- SSE2 capable CPU
- Microsoft Visual C++ 2010 Redistributable Package (x86)


Syntax and Parameters

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.


int  index = 0
Index of input clip.



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


string  source =
VapourSynth script.


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(script, index=1)


Changelog

Version      Date            Changes
0.0.2 08/06/2013 - fix vertical flip issue on COMPATBGR32. - allow to input RGB24 clip.
0.0.1 07/31/2013 - Initial release


External Links





Back to External Filters

Personal tools