Experiment: Pass Video To flash

Show you an example to pass video to flash, its not really accurate but it will be usefull later, and very fun :)

webcam2flash.rar (3.8 kB)

Well i see this topic its not interesting.
Anyway i see it more eficient use TCP socket to pass variables, agaist use direct method with renderer(Flash).

Cool.

could you post .fla?

Hi manyl
i make an example.

I have one ocational exeption i cant caught when packages not reach complete.
This problem ocurs when chain its longer than 4380 bits.

anyways works faster than input directly on renderer(flash) Node.

Another point, i only try this on localhost, if you try crossdomain you need to configure policy (very anoyed work)

videoVvvv.rar (95.5 kB)

solve the uncaught exeption, all works fine now

videoVvvv.rar (95.8 kB)

got it!

when transmiting data, memory usage growing too fast (in flash-player instance)

so, if possible send data from and (i guess) to vvvv via sockets, do we need flosc?

yes, send data from flash to vvvv via sockets - possible.

Show you an example to pass video to flash, its not really accurate but it will be usefull later, and very fun :)

vvvv-flash-vvvv.zip (9.7 kB)

Yes the socket can be used in two ways, i dont make an example of this because i dont need to use that JAJA.

TY for complete the example.

when use sockets memory usage grows? or what methot are you taking about?

When start as Renderer(Flash) - vvvv.exe memory usage grows,
if pass data to “Test Movie” in flash - flash.exe memory usage grows.

And grows very fast.

Yes, i can see… but use sockets have a good side. use flash as independet aplication runs a lot faster than use renderer and vvvv the same.