Skip to content

Instantly share code, notes, and snippets.

@Drunkar

Drunkar/images_to_mp4.bat

Last active May 9, 2018
Embed
What would you like to do?
vvvv video write example
ffmpeg -y -r 30 -i "./render_%%06d.png" -start_number 10011 -vcodec libx264 -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" -r 30 ./rendered.mp4
<!DOCTYPE PATCH SYSTEM "http://vvvv.org/versions/vvvv50beta36.dtd" >
<PATCH nodename="sample_videowriter.v4p" systemname="sample_videowriter" filename="sample_videowriter.v4p" scrollx="0" scrolly="1080">
<BOUNDS type="Window" left="5928" top="2736" width="9000" height="7920">
</BOUNDS>
<NODE systemname="LFO (Animation)" nodename="LFO (Animation)" componentmode="Hidden" id="2">
<BOUNDS type="Node" left="3396" top="72" width="100" height="100">
</BOUNDS>
<PIN pinname="Output" visible="1">
</PIN>
<PIN pinname="Period" slicecount="1" values="5">
</PIN>
<PIN pinname="Reverse" slicecount="1" values="0">
</PIN>
<PIN pinname="Reset" slicecount="1" values="0">
</PIN>
<PIN pinname="Evaluate" slicecount="1" values="1">
</PIN>
</NODE>
<NODE systemname="CircularSpread (Spreads)" nodename="CircularSpread (Spreads)" componentmode="Hidden" id="3">
<BOUNDS type="Node" left="984" top="1500" width="100" height="100">
</BOUNDS>
<PIN pinname="Spread Count" visible="1" slicecount="1" values="11">
</PIN>
<PIN pinname="Output X" visible="1">
</PIN>
<PIN pinname="Output Y" visible="1">
</PIN>
<PIN pinname="Factor" visible="1">
</PIN>
<PIN pinname="Phase" visible="1">
</PIN>
</NODE>
<NODE systemname="Transform (Transform 2d)" nodename="Transform (Transform 2d)" componentmode="Hidden" id="4">
<BOUNDS type="Node" left="1152" top="2376" width="100" height="100">
</BOUNDS>
<PIN pinname="Transform Out" visible="1">
</PIN>
<PIN pinname="TranslateX" visible="1">
</PIN>
<PIN pinname="TranslateY" visible="1">
</PIN>
<PIN pinname="ScaleX" visible="1">
</PIN>
<PIN pinname="ScaleY" visible="1">
</PIN>
</NODE>
<LINK srcnodeid="3" srcpinname="Output X" dstnodeid="4" dstpinname="TranslateX">
</LINK>
<LINK srcnodeid="3" srcpinname="Output Y" dstnodeid="4" dstpinname="TranslateY">
</LINK>
<NODE systemname="IOBox (Value Advanced)" nodename="IOBox (Value Advanced)" componentmode="InABox" id="5">
<BOUNDS type="Node" left="2040" top="1932" width="100" height="100">
</BOUNDS>
<BOUNDS type="Box" left="2040" top="1932" width="792" height="240">
</BOUNDS>
<PIN pinname="Y Input Value" slicecount="1" values="0.1">
</PIN>
<PIN pinname="Y Output Value" visible="1">
</PIN>
</NODE>
<LINK srcnodeid="5" srcpinname="Y Output Value" dstnodeid="4" dstpinname="ScaleX">
</LINK>
<LINK srcnodeid="5" srcpinname="Y Output Value" dstnodeid="4" dstpinname="ScaleY">
</LINK>
<NODE systemname="WaveShaper (Value)" nodename="WaveShaper (Value)" componentmode="Hidden" id="6">
<BOUNDS type="Node" left="1860" top="816" width="100" height="100">
</BOUNDS>
<PIN pinname="Input" visible="1" slicecount="1" values="0.509521127439802">
</PIN>
<PIN pinname="Output" visible="1">
</PIN>
<PIN pinname="Shape" slicecount="1" values="Sine">
</PIN>
<PIN pinname="Evaluate" slicecount="1" values="1">
</PIN>
</NODE>
<LINK srcnodeid="6" srcpinname="Output" dstnodeid="3" dstpinname="Factor">
</LINK>
<LINK srcnodeid="6" srcpinname="Output" dstnodeid="3" dstpinname="Phase">
</LINK>
<NODE systemname="HSV (Color Join)" nodename="HSV (Color Join)" componentmode="Hidden" id="7">
<BOUNDS type="Node" left="2724" top="2520" width="100" height="100">
</BOUNDS>
<PIN pinname="Output" visible="1">
</PIN>
<PIN pinname="Hue" visible="1">
</PIN>
<PIN pinname="Saturation" slicecount="1" values="0.52">
</PIN>
<PIN pinname="Alpha" slicecount="1" values="0.9">
</PIN>
</NODE>
<NODE systemname="LinearSpread (Spreads)" nodename="LinearSpread (Spreads)" componentmode="Hidden" id="8">
<BOUNDS type="Node" left="3696" top="1620" width="100" height="100">
</BOUNDS>
<PIN pinname="Output" visible="1">
</PIN>
<PIN pinname="Input" visible="1" slicecount="1" values="0.509521127439802">
</PIN>
<PIN pinname="Spread Count" slicecount="1" visible="1" values="45">
</PIN>
</NODE>
<LINK srcnodeid="8" srcpinname="Output" dstnodeid="7" dstpinname="Hue">
</LINK>
<NODE systemname="IOBox (Value Advanced)" nodename="IOBox (Value Advanced)" componentmode="InABox" id="9">
<BOUNDS type="Node" left="3852" top="672" width="100" height="100">
</BOUNDS>
<BOUNDS type="Box" left="3852" top="672" width="792" height="240">
</BOUNDS>
<PIN pinname="Y Input Value" slicecount="1" values="15">
</PIN>
<PIN pinname="Y Output Value" visible="1">
</PIN>
</NODE>
<LINK srcnodeid="9" srcpinname="Y Output Value" dstnodeid="3" dstpinname="Spread Count">
</LINK>
<LINK srcnodeid="9" srcpinname="Y Output Value" dstnodeid="8" dstpinname="Spread Count">
</LINK>
<PACK Name="dx11" Version="1.2">
</PACK>
<PACK Name="addonpack" Version="36.0.0">
</PACK>
<LINK srcnodeid="2" srcpinname="Output" dstnodeid="6" dstpinname="Input">
</LINK>
<NODE systemname="Writer (EX9.Texture NRT)" filename="%VVVV%\lib\nodes\modules\EX9.Texture\Writer (EX9.Texture NRT).v4p" nodename="Writer (EX9.Texture NRT)" componentmode="Hidden" id="36">
<BOUNDS type="Node" left="2460" top="7404" width="100" height="100">
</BOUNDS>
<PIN pinname="DX9 In" visible="1" slicecount="1" values="||">
</PIN>
<PIN pinname="DoSave" visible="1">
</PIN>
<PIN pinname="extension" slicecount="1" values="PNG">
</PIN>
<PIN pinname="Path" slicecount="1" values="./">
</PIN>
</NODE>
<NODE systemname="IOBox (Value Advanced)" nodename="IOBox (Value Advanced)" componentmode="InABox" id="41">
<BOUNDS type="Node" left="3540" top="6276" width="100" height="100">
</BOUNDS>
<BOUNDS type="Box" left="3540" top="6276" width="480" height="480">
</BOUNDS>
<PIN pinname="Value Type" slicecount="1" values="Boolean">
</PIN>
<PIN pinname="Behavior" slicecount="1" values="Toggle">
</PIN>
<PIN pinname="Y Output Value" visible="1">
</PIN>
<PIN pinname="X Input Value" slicecount="1" values="0">
</PIN>
<PIN pinname="Y Input Value" slicecount="1" visible="1" values="0">
</PIN>
</NODE>
<LINK srcnodeid="41" srcpinname="Y Output Value" dstnodeid="36" dstpinname="DoSave">
</LINK>
<NODE systemname="Quad (DX9)" nodename="Quad (DX9)" componentmode="Hidden" id="45">
<BOUNDS type="Node" left="1188" top="2940" width="100" height="100">
</BOUNDS>
<PIN pinname="Transform" visible="1">
</PIN>
<PIN pinname="Texture" visible="1" slicecount="1" values="||">
</PIN>
<PIN pinname="Layer" visible="1">
</PIN>
<PIN pinname="Color" visible="1">
</PIN>
</NODE>
<LINK srcnodeid="4" srcpinname="Transform Out" dstnodeid="45" dstpinname="Transform">
</LINK>
<LINK srcnodeid="7" srcpinname="Output" dstnodeid="45" dstpinname="Color">
</LINK>
<NODE systemname="DX9Texture (EX9.Texture)" nodename="DX9Texture (EX9.Texture)" componentmode="Hidden" id="48">
<BOUNDS type="Node" left="1608" top="4248" width="100" height="100">
</BOUNDS>
<PIN pinname="Texture Out" visible="1">
</PIN>
<PIN pinname="Source" visible="1" slicecount="1" values="||">
</PIN>
</NODE>
<NODE systemname="FullscreenQuad (DX9)" filename="%VVVV%\addonpack\lib\nodes\modules\TextureFX\misc\FullscreenQuad (DX9).v4p" nodename="FullscreenQuad (DX9)" componentmode="Hidden" id="50">
<BOUNDS type="Node" left="1656" top="5628" width="100" height="100">
</BOUNDS>
<PIN pinname="Texture" visible="1" slicecount="1" values="||">
</PIN>
<PIN pinname="Layer" visible="1">
</PIN>
</NODE>
<NODE id="46" componentmode="Hidden" systemname="Glow (EX9.Texture Filter)" filename="%VVVV%\addonpack\lib\nodes\modules\TextureFX\Filter\Glow\Glow (EX9.Texture Filter).v4p" nodename="Glow (EX9.Texture Filter)">
<BOUNDS type="Window" left="8988" top="3216" width="16884" height="9900">
</BOUNDS>
<BOUNDS type="Node" left="1452" top="4848" width="100" height="100">
</BOUNDS>
<PIN pinname="Input" visible="1">
</PIN>
<PIN pinname="Output" visible="1">
</PIN>
<PIN pinname="GlowAmount" slicecount="1" values="1.57">
</PIN>
<PIN pinname="GlowRadius" slicecount="1" values="1">
</PIN>
<PIN pinname="GlowShape" slicecount="1" values="0.03">
</PIN>
<PIN pinname="PostBrightness" slicecount="1" values="1.09">
</PIN>
<PIN pinname="PreGamma" slicecount="1" values="4.04">
</PIN>
<PIN pinname="Quality" slicecount="1" values="1">
</PIN>
</NODE>
<LINK srcnodeid="46" srcpinname="Output" dstnodeid="50" dstpinname="Texture">
</LINK>
<LINK srcnodeid="48" srcpinname="Texture Out" dstnodeid="46" dstpinname="Input">
</LINK>
<NODE systemname="Renderer (EX9)" nodename="Renderer (EX9)" componentmode="InAWindow" id="51">
<BOUNDS type="Node" left="1752" top="3504" width="100" height="100">
</BOUNDS>
<BOUNDS type="Box" left="1752" top="3504" width="2400" height="1800">
</BOUNDS>
<BOUNDS type="Window" left="13620" top="4920" width="6216" height="5064">
</BOUNDS>
<PIN pinname="Layers" visible="1">
</PIN>
<PIN pinname="EX9 Out" visible="1">
</PIN>
</NODE>
<LINK srcnodeid="45" srcpinname="Layer" dstnodeid="51" dstpinname="Layers">
</LINK>
<LINK srcnodeid="51" srcpinname="EX9 Out" dstnodeid="48" dstpinname="Source">
</LINK>
<NODE systemname="Renderer (EX9)" nodename="Renderer (EX9)" componentmode="InAWindow" id="52">
<BOUNDS type="Node" left="1680" top="6348" width="100" height="100">
</BOUNDS>
<BOUNDS type="Box" left="1680" top="6348" width="2400" height="1800">
</BOUNDS>
<BOUNDS type="Window" left="9552" top="7020" width="6216" height="5064">
</BOUNDS>
<PIN pinname="Layers" visible="1">
</PIN>
<PIN pinname="EX9 Out" visible="1">
</PIN>
</NODE>
<LINK srcnodeid="50" srcpinname="Layer" dstnodeid="52" dstpinname="Layers">
</LINK>
<LINK srcnodeid="52" srcpinname="EX9 Out" dstnodeid="36" dstpinname="DX9 In">
</LINK>
</PATCH>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment