Spout

May 19, 2016 posted by: joreg

This is to announce proper Spout support for vvvv (finally).

What the Spout?

Spout is a realtime video sharing framework for windows. Basically what Syphon is for OSX. It allows different applications that handle video (or textures) to share them. That includes TouchDesigner, Resolume, AfterEffects,… to name only a few. For a full list see the Spout website.

How to Spout?

While you’ve already been able to use Spout so far, it was a bit of a hassle to set it up. Now vvvv ships with two simple nodes which should be all you ever need:

Internally the sender module uses the new SpoutSender (System) node to register a sender name with Spout. If you’re interested in a list of all available senders on your system, use SpoutSenderNames (System).

Can I has Network?

Indeed! Check the brilliant TCPSpout and share your textures via network and even to applications on OSX by using TCPSyphon on the other end. Watch this video to see TCPSpout/Syphon in action:

Available in latest alphas now. Many thanks to the creators of Spout and TCPSpout! Please test and report your findings.


Comments:

Comments are no longer accepted for this post.

sebescudie
20.05.2016 - 09:13
yeepee! thanks for this update
katzenfresser
20.05.2016 - 13:49
YAY
parabola
01.09.2016 - 03:20

Hi folks! First of all, thank you! It’s a great node! If any help, I’ll tell you my experience. I’ve tested it with the demo patch and some other patches of my own. I’ve noticed that, When I have focus on any window but VVVV the output is not that smooth, like it’s dropping some frames, but, when I give focus to vvvv window, it runs smoothly. Besides that, it seems that there is like a random frame-drop from time to time (lets say each few seconds), I may have a messy patch, but when using the old FFGL dll never showed this problem.

Anyway, cheers for such a great node!

joreg
01.09.2016 - 11:14
@parabola: regarding the framedrop when your focusing a window other than vvvv: could this be related to the mainloop (vvvv)node Maximum Background FPSpin slowing things down? if so just set it to a higher value.
sinus
03.09.2016 - 10:03

is there a chance to get spout receiver for DX11 working in beta34.2.?

installation of latest spout..

vvvv 32 oder 64 bit? vvvv spout modules from the github mentioned above?

sofar no success.

tips vvvvery welcome.

cheers,

dd

joreg
05.09.2016 - 19:07
added new link to dx11 modules, see original post above.
microdee
31.08.2017 - 01:59

well something happened to the spout support because if I’m trying to register a spout sender it tells me this:

System.NotSupportedException: Unable to expand length of this stream beyond its capacity.
   at System.IO.UnmanagedMemoryStream.Write(Byte[]() buffer, Int32 offset, Int32 count)
   at Spout.SpoutSender.WriteSenderNamesToMemoryMap(List`1 senders)
   at Spout.SpoutSender.RemoveNameFromSendersList(String name)
   at Spout.SpoutSender.Dispose()
   at VVVV.Nodes.VVVVSpoutSenderNode.Evaluate(Int32 SpreadMax)
   at VVVV.Hosting.IO.PluginContainer.Evaluate(Int32 spreadMax)

(newest alpha, x64) More info on this: this is coming from the SpoutSender node anytime I hit write pin.

ofersmi
19.09.2017 - 17:05
/hey ya Im trying out vvvv with smode (http://smode.fr/) sending out from vvvv with spout to smode. something is highly fishy,\ smode does not receive vvvv it complains that “unsupported texture format”, another funky thing is that I can see on the smode GPU memory meter how the memory is getting eaten up reaches 2.8G with nothing else open but vvvv sending a colorful box to smode. I have no problem sending spout out from Touch designer and receiving in smode, only vvvv acts out. why? (tested with latest alpha, dx9 and dx11). vvvv can send on dx9 and dx11 internally no problem… Ofer
ofersmi
22.09.2017 - 17:45
@microdee did you get to the bottom of that? I also have the same error.
joreg
22.09.2017 - 21:48

@microdee or @ofersmi please start a forum-thread about this and include a patch that produces this error message.

@ofersmi what format is the texture you’re sending. if it is not A8R8G8B8 try using a ChangeFormat node to convert to that before sending from vvvv.

microdee
22.09.2017 - 22:17
my problem got resolved (as I wrote on riot) it turned out a sender was to blame not clearing up the name section of the shared memory properly and leaving residue in there, confusing receivers with their own shared memory implementation (like vvvv’s).
ofersmi
25.09.2017 - 13:25
@joreg Im useing the f1 patch that comes with the dx11 spout. so its the correct format. but I think smode wants to get B8G8R8A8_UNorm. what I dont understand is when I check spoutpanel I see the format is DirectX 9 (ARGB)…
tobyk
20.05.2016 - 16:18
so sweet! Thanks!
teem
21.05.2016 - 03:46
Very cool! Was just looking at the source of these nodes. You guys and vux are the best!
timpernagel
30.05.2016 - 13:18

great job! dx9 wokring ist working like a charm. also the tcpversion. MAGIC!

but can’t find the dx11 version. and since the dx11todx9 seems not to work in the latest alphas there is no way to send dx11-texture via network, even not with this dx11todx9-hack.

where can i find the dx11 version of the spoutsender?

tonfilm
30.05.2016 - 13:34
they are on github waiting for @vux to accept them as a pull request. meanwhile you can download them here: https://github.com/joreg/dx11-vvvv-girlpower/tree/addSpoutModules/nodes/modules
timpernagel
30.05.2016 - 18:05

Thanks! After a lot of testing, debugging and problem-hunting we got everything running here with tcpsender / receiver and the DX11-nodes of spout.

Important to know:

  1. For some reason the TCPSender / Receiver seems to be picky with ip-adresses. Always use fixed ones.

  2. If you have two graphics cards in your PC / laptop, make sure, that you assign the proper graphic-card (in our case the NVIDIA-Card via NVIDIA Control Panel) to the TCPSpout Sender AND Receiver. Otherwise it will simply not work.

Boom!

joreg
31.07.2016 - 19:42
followup: thanks to @leadedge latest alphas come with a fix, see: forum
isdzaurov
16.08.2016 - 06:46
Hi guys! Where in addonpack “Spout Sender” node?
joreg
16.08.2016 - 13:25
@isdzaurov: not addonpack! simply get the latest alpha as mentioned above to try it!

Contact


Imprint

vvvv - Dießl & Gregor GbR
Oranienstrasse 10
10997 Berlin/Germany
VAT: DE275566955

groupӘvvvv.org

Follow us

Mastodon.social
Pixelfed.social
Github
Vimeo
Youtube

Sign up for our Newsletter

Your subscription could not be saved. Please try again.
Your subscription has been successful.