Videoin node and webcams

Hi evvvveryone,
I don’t know why the videoin node can’t read from my webcams. If I open the videoin help patch and I select the device, the renderer shows nothing and vvvv runs slowly and then freezes. I tested with the integrated webcam and with an usb webcam.

I tried to update the webcam drivers, dshow, vvvv, but nothing…

Suggestions?

The help patch lags on my pc, too.
Try to patch the same thing in a new patch, with videoin, videotexture, quad and renderer. works well for me then after setting the input resolution rigth.

I tried to patch the same thing in a new patch but I have the same problem. All webcams work fine with other softwares.

try this:
http://amcap.en.softonic.com/

it’s good for testing directshow capture (DirectShow is what vvvv uses natively to capture from webcams)

My webcams work fine with AMCap and with other softwares. I don’t understand what is the problem of vvvv.

Have a look at the Stream Capabilities output of VideoIn (DShow9) and make sure that Framerate, Width, Height and Video Format inputs are set to something supported.

All input pins are right set. When I link the renderer, the webcam turn it on and its led begins to blinking. This detail can be helpful?

Create a Renderer (TTY) . Does it show any error-messages?

The TTY Render repeats this message continuously:

00:02:57 * : Adding node to filtergraph: VideoIn (DShow9)
00:02:57 : VideoIn (DShow9).Video --> SmartTee.Capture
00:02:57 : VideoIn (DShow9).Preview --> SmartTee.Preview
00:02:57 : Adding node to filtergraph: VideoTexture (EX9.Texture VMR9)
00:02:57 : Connecting from: VideoIn (DShow9).Video to: VideoTexture (EX9.Texture VMR9).Video
00:02:57 : ds connect from: Capture to: VMR Input0
00:02:57 : VideoIn (DShow9).Video --> Color Space Converter.XForm Out
00:02:58 : Removing Filter: Video Mixing Renderer 9
00:02:58 : Removing Filter: Color Space Converter
00:02:58 : Removing Filter: AVI Decompressor
00:02:58 : Removing Filter: SmartTee
00:02:58 : Removing node: Video Mixing Renderer 9 from filtergraph
00:02:58 : VideoIn (DShow9).Video --> .Capture
00:02:58 : Removing node: Toshiba Webcam from filtergraph
00:02:58 : Removing node: SmartTee from filtergraph

hei alec,

this is odd. have you tried VideoTexture (EX9.Texture VMR9 YUVMixingMode) instead of VideoTexture (EX9.Texture VMR9)? or also just VideoOut (DShow9)?

If I connect videoin to videoout, the TTY Renderer shows and repeats this message:

00:00:31 * : Adding node to filtergraph: VideoIn (DShow9)
00:00:31 : VideoIn (DShow9).Video --> Toshiba Webcam.Acquisizione
00:00:31 : Adding node to filtergraph: VideoOut (DShow9)
00:00:31 : Connecting from: VideoIn (DShow9).Video to: VideoOut (DShow9).Video
00:00:31 : ds connect from: Acquisizione to: VMR Input0
00:00:33 : Removing Filter: Video Mixing Renderer 9
00:00:33 : Removing node: Video Mixing Renderer 9 from filtergraph
00:00:33 : Removing node: Toshiba Webcam from filtergraph
00:00:33 : Removing node: SmartTee from filtergraph

???

I think a format will fix all problems.

Guys,
I fix the problem with the downgrade to beta26. It’s a bug of beta27.

hey alec,

thanks for the find that it worked in b26, but no more in b27, hope i was able to fix that bugger, please check latest alpha and report back.

Joreg,
the latest alpha has the same problem of b27. Happy fixing! ;)

intaresting. i gave it another try. please check and report back.

@joreg: not working again…

one more try…

I Have experienced a similar behavior, consistently in versions, betas 26 and 27 as well as last alpha from 26/1.

I have isolated to the smallest possible patch where it will happen and also how to get video back.

From my example patch

connect VideoTexture to the Quad and I see a looooong freeze around a minute, then another long freeze after which it fails withan error.

if I change the resolution after this, then video in begins working.

This behavior is present in Beta26, beta27 and Alpha27.1 (last from 26/1-2012)

the tty outputs this on my system (Win7, 64bit, GPU ATI FirePro M5950):

Everything you know is wrong
physical : in use= 38, total = 4194304 kb, avail = 4194304 kb
virtual : in use= 5, total = 2097024 kb, avail = 1996768 kb
paging : in use= 0, total = 4194304 kb, avail = 4194304 kb

00:00:00 - : Hid (Human Interface Devices) DeviceController - OnDeviceChange
00:00:00 - : ExceptionDialog enabled.
00:00:00 - : enumerating game devices
00:00:00 * : ISO-10646-UCS-4 already exists in enum StringCodec.
00:00:00 * : ISO-10646-UCS-4 already exists in enum StringCodec.
00:00:00 * : ISO-10646-UCS-4 already exists in enum StringCodec.
00:00:00 * : ISO-10646-UCS-2 already exists in enum StringCodec.
00:00:00 : adding C:_vvvv\alpha\vvvv_45alpha27.1\lib\nodes\native\ to VVVV.Hosting.Factories.PatchFactory
00:00:01 : adding C:_vvvv\alpha\vvvv_45alpha27.1\ to VVVV.Hosting.Factories.DotNetPluginFactory
00:00:01 : adding C:_vvvv\alpha\vvvv_45alpha27.1\ to VVVV.Hosting.Factories.CSProjectFactory
00:00:01 : adding C:_vvvv\alpha\vvvv_45alpha27.1\ to VVVV.Hosting.Factories.EditorFactory
00:00:01 : adding C:_vvvv\alpha\vvvv_45alpha27.1\ to VVVV.Hosting.Factories.EffectsFactory
00:00:01 : adding C:_vvvv\alpha\vvvv_45alpha27.1\ to VVVV.Hosting.Factories.PatchFactory
00:00:01 : adding C:_vvvv\alpha\vvvv_45alpha27.1\ to VVVV.Hosting.FreeFrameFactory
00:00:01 : adding C:_vvvv\alpha\vvvv_45alpha27.1\ to VVVV.Hosting.VSTFactory
00:00:01 : adding C:_vvvv\alpha\vvvv_45alpha27.1\lib\nodes\plugins to VVVV.Hosting.Factories.DotNetPluginFactory (cached by C:_vvvv\alpha\vvvv_45alpha27.1\lib\nodes\nodelist.xml)
00:00:01 : adding C:_vvvv\alpha\vvvv_45alpha27.1\lib\nodes\plugins to VVVV.Hosting.Factories.CSProjectFactory (cached by C:_vvvv\alpha\vvvv_45alpha27.1\lib\nodes\nodelist.xml)
00:00:01 : adding C:_vvvv\alpha\vvvv_45alpha27.1\lib\nodes\editors to VVVV.Hosting.Factories.EditorFactory
00:00:01 : adding C:_vvvv\alpha\vvvv_45alpha27.1\lib\nodes\effects to VVVV.Hosting.Factories.EffectsFactory (cached by C:_vvvv\alpha\vvvv_45alpha27.1\lib\nodes\nodelist.xml)
00:00:01 : adding C:_vvvv\alpha\vvvv_45alpha27.1\lib\nodes\modules to VVVV.Hosting.Factories.PatchFactory (cached by C:_vvvv\alpha\vvvv_45alpha27.1\lib\nodes\nodelist.xml)
00:00:01 : adding C:_vvvv\alpha\vvvv_45alpha27.1\lib\nodes\freeframes to VVVV.Hosting.FreeFrameFactory (cached by C:_vvvv\alpha\vvvv_45alpha27.1\lib\nodes\nodelist.xml)
00:00:01 : adding C:_vvvv\alpha\vvvv_45alpha27.1\lib\nodes\vst to VVVV.Hosting.VSTFactory (cached by C:_vvvv\alpha\vvvv_45alpha27.1\lib\nodes\nodelist.xml)
00:00:01 : adding C:_vvvv\alpha\vvvv_45alpha27.1\lib\nodes\ to VVVV.Hosting.Factories.DotNetPluginFactory
00:00:01 : adding C:_vvvv\alpha\vvvv_45alpha27.1\lib\nodes\ to VVVV.Hosting.Factories.CSProjectFactory
00:00:01 : adding C:_vvvv\alpha\vvvv_45alpha27.1\lib\nodes\ to VVVV.Hosting.Factories.EditorFactory
00:00:01 : adding C:_vvvv\alpha\vvvv_45alpha27.1\lib\nodes\ to VVVV.Hosting.Factories.EffectsFactory
00:00:01 : adding C:_vvvv\alpha\vvvv_45alpha27.1\lib\nodes\ to VVVV.Hosting.Factories.PatchFactory
00:00:01 : adding C:_vvvv\alpha\vvvv_45alpha27.1\lib\nodes\ to VVVV.Hosting.FreeFrameFactory
00:00:01 : adding C:_vvvv\alpha\vvvv_45alpha27.1\lib\nodes\ to VVVV.Hosting.VSTFactory
00:00:01 : adding C:_vvvv\alpha\vvvv_45alpha27.1\addonpack\lib\nodes\plugins to VVVV.Hosting.Factories.DotNetPluginFactory (cached by C:_vvvv\alpha\vvvv_45alpha27.1\addonpack\lib\nodes\nodelist.xml)
00:00:01 : adding C:_vvvv\alpha\vvvv_45alpha27.1\addonpack\lib\nodes\plugins to VVVV.Hosting.Factories.CSProjectFactory (cached by C:_vvvv\alpha\vvvv_45alpha27.1\addonpack\lib\nodes\nodelist.xml)
00:00:01 : adding C:_vvvv\alpha\vvvv_45alpha27.1\addonpack\lib\nodes\modules to VVVV.Hosting.Factories.PatchFactory (cached by C:_vvvv\alpha\vvvv_45alpha27.1\addonpack\lib\nodes\nodelist.xml)
00:00:01 : adding C:_vvvv\alpha\vvvv_45alpha27.1\addonpack\lib\nodes\freeframes to VVVV.Hosting.FreeFrameFactory (cached by C:_vvvv\alpha\vvvv_45alpha27.1\addonpack\lib\nodes\nodelist.xml)
00:00:01 : adding C:_vvvv\alpha\vvvv_45alpha27.1\addonpack\lib\nodes\ to VVVV.Hosting.Factories.DotNetPluginFactory
00:00:01 : adding C:_vvvv\alpha\vvvv_45alpha27.1\addonpack\lib\nodes\ to VVVV.Hosting.Factories.CSProjectFactory
00:00:01 : adding C:_vvvv\alpha\vvvv_45alpha27.1\addonpack\lib\nodes\ to VVVV.Hosting.Factories.EditorFactory
00:00:01 : adding C:_vvvv\alpha\vvvv_45alpha27.1\addonpack\lib\nodes\ to VVVV.Hosting.Factories.EffectsFactory
00:00:01 : adding C:_vvvv\alpha\vvvv_45alpha27.1\addonpack\lib\nodes\ to VVVV.Hosting.Factories.PatchFactory
00:00:01 : adding C:_vvvv\alpha\vvvv_45alpha27.1\addonpack\lib\nodes\ to VVVV.Hosting.FreeFrameFactory
00:00:01 : adding C:_vvvv\alpha\vvvv_45alpha27.1\addonpack\lib\nodes\ to VVVV.Hosting.VSTFactory
00:00:01 : adding C:_vvvv\bugs\VideoInTest\ to VVVV.Hosting.Factories.DotNetPluginFactory
00:00:01 : adding C:_vvvv\bugs\VideoInTest\ to VVVV.Hosting.Factories.CSProjectFactory
00:00:01 : adding C:_vvvv\bugs\VideoInTest\ to VVVV.Hosting.Factories.EditorFactory
00:00:01 : adding C:_vvvv\bugs\VideoInTest\ to VVVV.Hosting.Factories.EffectsFactory
00:00:01 : adding C:_vvvv\bugs\VideoInTest\ to VVVV.Hosting.Factories.PatchFactory
00:00:01 : adding C:_vvvv\bugs\VideoInTest\ to VVVV.Hosting.FreeFrameFactory
00:00:01 : adding C:_vvvv\bugs\VideoInTest\ to VVVV.Hosting.VSTFactory
00:00:01 - : AsDesktop: 1920 x 1080
00:00:01 - : Hid (Human Interface Devices) DeviceController - OnDeviceChange
00:00:01 * : Adding node to filtergraph: VideoIn (DShow9)
00:00:01 : VideoIn (DShow9).Video --> Integrated Webcam.Capture
00:00:05 : Adding node to filtergraph: VideoTexture (EX9.Texture VMR9)
00:00:05 : VideoTexture (EX9.Texture VMR9).Video --> Video Mixing Renderer 9.VMR Input0
00:00:05 : Connecting from: VideoIn (DShow9).Video to: VideoTexture (EX9.Texture VMR9).Video
00:00:05 : ds connect from: Capture to: VMR Input0
00:00:25 : No combination of intermediate filters could be found to make the connection.
00:00:25 * : Failed connecting Pins
00:00:25 ERR : The operation cannot be performed because the pins are not connected.
00:00:25 : Removing node: Video Mixing Renderer 9 from filtergraph
00:00:25 : Removing node: Integrated Webcam from filtergraph
00:00:25 : Removing node: SmartTee from filtergraph
00:00:25 * : Adding node to filtergraph: VideoIn (DShow9)
00:00:25 : VideoIn (DShow9).Video --> Integrated Webcam.Capture
00:00:25 : Adding node to filtergraph: VideoTexture (EX9.Texture VMR9)
00:00:25 : Connecting from: VideoIn (DShow9).Video to: VideoTexture (EX9.Texture VMR9).Video
00:00:25 : ds connect from: Capture to: VMR Input0
00:00:45 : No combination of intermediate filters could be found to make the connection.
00:00:45 * : Failed connecting Pins
00:00:45 ERR : The operation cannot be performed because the pins are not connected.

VideoInTest.v4p (3.5 kB)

I should add that after the long waits, I change the width to 640 in the VideoIn node, it begins working, I can then change back to 320 and it keeps working.

when saving the patch in a working state it keeps working after reopening the patch