Forum

Video File pixel data extraction using DShow9 Dump node

Hi all.

How sweet is vvvv?

I am looking to make a patch that examines pixel properties (colour/brightness etc) in video files (eg mpg or avi) and drives DMX lighting fixtures so they emulate the original video.

I was wondering if the Dump node extracts this data when connected to a Filestream node? I have no idea how to use the dump node as there doesn’t seem to be much info around. If anyone has used it please let me know if it is suitable for my needs.

If anyone has a better way of examining video file info then please throw ideas my way.

Thanks

jjjunkie

hey. Pipet (Texture) is the node for that job.

just create the node make sure that its selected and hit f1 to get help for it.

ah and of course you need a videotexture node…

Filestream
v
Videotexture
v
Pipet
v
Color (Split RGB)

Anonymous:
hey. Pipet (Texture) is the node for that job.

just create the node make sure that its selected and hit f1 to get help for it.

Great thanks guys - I’ll check it out

If anyone has any example patches handy please attach. Thanks

here s an example…

pipetdemo.v4p (10.3 kB)

Anonymous:
here s an example…

Awesome - thanks for your help.

You have even added R/G/B splitting - very nice - you know your stuff. How versatile is vvvv !!!

Anonymous:
here s an example…

,So did you test your example? When I open a video file on the filestream vvvv crashes. I also tried it from a videoin - it doesn’t crash but I get no output.

Maybe it is something to do with windowsxp and dx9.

I will keep trying things.

yes worked for me. i think its got something to do with beta9, where a lot of fundamental things have changed.

try with beta 8.1 instead, its more stable at the moment…

Anonymous:
yes worked for me. i think its got something to do with beta9, where a lot of fundamental things have changed.

try with beta 8.1 instead, its more stable at the moment…

It works in 8.1 thanks.
The video texture node disappeared when I opened it - you wrote it in the latest beta I take it? when I added it the batch worked fine.

yup its patched in beta9.
also have a look at the other color split module like hsv and hsb, where you can get the brightness if you like to drive just white lamps…

plus don’t get confused about the koordinates … pipet needs them from 0 to 1 and not like the usual vvvv style from -1 to 1

MrBenefit:
plus don’t get confused about the koordinates … pipet needs them from 0 to 1 and not like the usual vvvv style from -1 to 1

ok thanks

By the way… what is the dump node exactly for? i tried to feed a “dynamic texture (string”- node with its output but it didnt work. and: it seems that filestreams doesnt play the file (because theres no duration displayed" when connected to the dump node…

right. i just had a look at the dump node and it didn’t do much. will have to take a look at it.

connecting its output to a dynamic texture probably wouldn’t work because the output is not in a fileformat type…will check that too.

yes please do and check it in! i never noticed this nice node …

could be a way to create volume maps out of video (time) in conjunction with
a dynamic texture… faster than pipet… the new pipet is LOTS more faster by the way…

o. good to hear about the pipet…

but i fear the dump node will always even be slower than the pipet because it deals with huge slow strings…

just had a closer look at dump node.

a filestream connected to it won’t output its current position, but still run! i also found my qed.v4p patch again among the girlpowers. for me that patch still kinda works.

the patch also demonstrates how to interpret the data coming from a videostream.