Quantcast
Channel: Processing Forum
Browsing all 1768 articles
Browse latest View live

Multiple webcams in windows with same device name.

Google found a few previous questions about this, but no answers.I have 2 camera's, the exact same model, attached to a usb hub.If I list the camera's in processing 2.0b9 I can see both cameras.I can...

View Article


Processing core video error: "gstvideo: failed to get caps of pad nat:sink"

Hey folks,I'm taking my first crack at using video capture in a Processing sketch. I have a sketch that's already working fine without video input, and I'm trying to add video capture to it....

View Article


Re : Processing core video error: "gstvideo: failed to get caps of pad nat:sink"

Hey Cassidy,Errrr... mayby you should use 'loadPixels()' before accessing them?http://processing.org/reference/loadPixels_.htmlRolf

View Article

set a PImage equal to a Capture frame?

Trying to capture a frame via webcam and then set a PImage equal to that frame. Not working!video is my CapturebackgroundImg is a PImageI've tried several thingsbackgroundImg = video;This gives me a...

View Article

Re : set a PImage equal to a Capture frame?

Perhaps this post below can help you out:http://forum.processing.org/topic/using-set-when-dealing-with-images-containing-transparency-causes-problems#25080000002144389More specifically -> function...

View Article


Re : Processing core video error: "gstvideo: failed to get caps of pad nat:sink"

Yes! loadPixels() totally did the trick! Thank you!I must have totally overlooked that line in the example sketches... but of course now that I look for it, there it is.For the benefit of the clueless...

View Article

Re : updatePixels method for Capture object

I was confused by this same issue. Didn't even realize that Capture was an extension of PImage, until I saw this thread. Maybe a note to that effect could be added to the Capture reference page?

View Article

Re : movies not reaching thier end

First, it's unclear which Processing version and thus video library you use, but if you are using 2.0b9, then perhaps you can file this as an issue on GitHub.Second, you only need to call play() once...

View Article


Re : Multiple webcams in windows with same device name.

See the GettingStartedCapture example. You can use an array.

View Article


Re : movies not reaching thier end

Hi,I know that the play method only needs to be called once, i wasn't referring to the code not working or asking if there is anything wrong with that (as it's only a fragment) I was referring to the...

View Article

Re : movies not reaching thier end

I know that the values are not equal at the end. That's why I suggested filing a bug report for the latest Processing version on GitHub and I provided a workaround that achieved that same goal but...

View Article

Re : Unable to install JavaScriptMode - 2.0b9

Yes, I saw that. I admit I only saw the JS mode in the drop down menu and haven't tried it. I suppose the installation wasn't complete after all. I just tried to go into this mode, and indeed I have...

View Article

Re : set a PImage equal to a Capture frame?

background() with image must be called with an image of the exact same size than the sketch, IIRC. Is your video 640x480?Also, drop the P2D from size(), it might get in the way, in 2.0b at least.

View Article


Re : Multiple webcams in windows with same device name.

@amnon.owed Are you referring to:http://code.google.com/p/processing/source/browse/trunk/processing/java/libraries/video/examples/Capture/GettingStartedCapture/GettingStartedCapture.pde?r=9732Because...

View Article

Re : set a PImage equal to a Capture frame?

Twas the P2D that caused my frustration. Thank you!

View Article


Even with the film's lampooning of Evil Dead, which came

In terms of comedy, Scary Movie 5 is painfully flat, stupid and vulgar, as well as moderately racist. To say this[url=http://storify.com/hiphop/putl]watch epic online[/url]...

View Article

Image over a video

Hi!I'm trying to do a sketch which it take a photo, but an image has to appear over the webcam video.For the moment, my code is this:import processing.video.*;Capture video;PImage matriz;void setup(){...

View Article


Re : Image over a video

I don't have a webcam, so  I cannot test your code.It seems OK, thought. Isn't the image displayed over the video? What do you see, actually?

View Article

Re : Image over a video

hey Matiszz,try 'set(0, 0, matriz);' in stead of 'image(matriz, 0, 0);' (line 17)Rolf

View Article

Re : Image over a video

No, the image isn't displayed over the video... Now I only see the webcam image.

View Article
Browsing all 1768 articles
Browse latest View live