-
Notifications
You must be signed in to change notification settings - Fork 0
/
VideoProc.bonsai
52 lines (52 loc) · 1.96 KB
/
VideoProc.bonsai
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?xml version="1.0" encoding="utf-8"?>
<WorkflowBuilder Version="2.6.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:cv="clr-namespace:Bonsai.Vision;assembly=Bonsai.Vision"
xmlns="https://bonsai-rx.org/2018/workflow">
<Workflow>
<Nodes>
<Expression xsi:type="Combinator">
<Combinator xsi:type="cv:FileCapture">
<cv:FileName>sintel_trailer-480p.ogv</cv:FileName>
<cv:PlaybackRate>0</cv:PlaybackRate>
<cv:StartPosition>0</cv:StartPosition>
<cv:PositionUnits>Frames</cv:PositionUnits>
<cv:Loop>false</cv:Loop>
<cv:Playing>true</cv:Playing>
</Combinator>
</Expression>
<Expression xsi:type="Combinator">
<Combinator xsi:type="cv:Grayscale" />
</Expression>
<Expression xsi:type="Combinator">
<Combinator xsi:type="cv:Smooth">
<cv:SmoothType>Median</cv:SmoothType>
<cv:Size1>7</cv:Size1>
<cv:Size2>0</cv:Size2>
<cv:Sigma1>0</cv:Sigma1>
<cv:Sigma2>0</cv:Sigma2>
</Combinator>
</Expression>
<Expression xsi:type="Combinator">
<Combinator xsi:type="cv:VideoWriter">
<cv:FileName>sintel_trailer-gray-480p.avi</cv:FileName>
<cv:Suffix>None</cv:Suffix>
<cv:Buffered>true</cv:Buffered>
<cv:Overwrite>false</cv:Overwrite>
<cv:FourCC>FMP4</cv:FourCC>
<cv:FrameRate>30</cv:FrameRate>
<cv:FrameSize>
<cv:Width>0</cv:Width>
<cv:Height>0</cv:Height>
</cv:FrameSize>
<cv:ResizeInterpolation>NearestNeighbor</cv:ResizeInterpolation>
</Combinator>
</Expression>
</Nodes>
<Edges>
<Edge From="0" To="1" Label="Source1" />
<Edge From="1" To="2" Label="Source1" />
<Edge From="2" To="3" Label="Source1" />
</Edges>
</Workflow>
</WorkflowBuilder>