Community
VRED Forum
Welcome to Autodesk’s VRED Forums. Share your knowledge, ask questions, and explore popular VRED topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem of The vrVideoGrab API

1 REPLY 1
Reply
Message 1 of 2
Anonymous
313 Views, 1 Reply

Problem of The vrVideoGrab API

Hello,

 

I'm going to use the vrVideoGrab API to grab the webcam stream and use the live video as a texture. There is an example file named "videograb.py" in VRED. However, it seems that this example (API) has some problem for me.

Here is the scripts:

 

screen = findNode("Geometry")
material = findMaterial("videograb")

# vg = vrVideoGrab(screen, "0")
vg = vrVideoGrab(screen, "Logitech BRIO")
vg.setActive(true)

keyS = vrKey(Key_S)
keyS.connect(vg, SWITCH_TOGGLE)
vrLogInfo("Press key s to toggle videograbbing")

 

Here is the error:

 

Found device 0 'Logitech BRIO'
vrFrameGrabber::init : Couldn't get capture output pin!

 

Is there any solution for this problem?

Or is there any way to set the webcam stream as a texture?

 

Best regards,

Biubiu

1 REPLY 1
Message 2 of 2
clemens_schlicker_audi
in reply to: Anonymous

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report