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

Video won't play- framerate error?

After I put in this code-movie = new Movie(this, "vid.mov");  movie.frameRate(24);  movie.play();** (Processing core video:3078): WARNING **: gstvideo: failed to get framerate property of pad...

View Article


problems with P3D and OPENGL

I'm attempting to read a segment of video from a file in the data directory, store individual frames in an array and display these frames in a picture viewer that mimics Itunes coverflow.  I've been...

View Article


Re : problems with P3D and OPENGL

just wanted to show you some videos of the sketch working using the default renderer. By commenting the size declaration and adding this line:  size(1280, 900);it will display the array of images to...

View Article

Re : pixels[] array works in 2D but not 3D?

I'm having a similar problem translating a 2D sketch to a 3D renderer.  I'd would love to see your solution.

View Article

Sound experts: Minim, Sonia, others?

I see that Minim is included with Processing now - is it safe to assume that minim is the best lib to use for stereo sound playback of several polyphonous buffers?  Our priority is reliability for...

View Article


Re : SOLVED - Blend video cam with background image

Do you have got the library SimpleOpenNI for Windows 7 64bit? Because It says that the package "SimpleOpenNI" doesn't exist. You might be messing a library.If you have got the library, how can install...

View Article

Re : simple IPimage to PDF doesn't work

Thanks PhiLho,I'd already noticed that I have to assign everything to my_pdf, otherwise it will only display in the sketch and not in the pdf. Good tip moving the dispose outside the draw, works much...

View Article

Processing 2.0 beta 8 and JSONObject

Hi all.I'm currently trying to create a JSONObject from at String. In Processing 2.0 beta 8 JSONObject is native, which is awesome. The problem is that it seems like there is a major error in this...

View Article


Re : Drawing on video captured by webcam

OPENCV COLOR TRACKER import hypermedia.video.*;OpenCV opencv;color trackColor;PImage t; void setup() {  size(480, 360);  opencv = new OpenCV(this);  opencv.capture(width, height);  // open video stream...

View Article


P2.0b8 text doesn't appear in P2D or P3D

HiI'm porting a sketch from Processing 1.5.1 to Processing 2.0b8 in Java mode  but I'm struggling to get text to appear on the screen either with the P2D or P3D rendering mode (even with a simple...

View Article

Image may be NSFW.
Clik here to view.

Re : P2.0b8 text doesn't appear in P2D or P3D

Both P2D & P3D engines got axed out!!!  It's either default JAVA2D or a new implementation of OPENGL.When using those departed ones, OPENGL is their faux replacement! 

View Article

NullPointerException in Minim and loading images

Making a tilemap for a programming class and it needs to be accompanied by background music. Unfortunately this error pops up and i have yet to find the cause of why.... The file "cave.png" is missing...

View Article

Re : NullPointerException in Minim and loading images

The variable player you're trying to use, which is of object type AudioPlayer, has not been initialized yet!You see, declaring an object variable is not enough.All object variables start w/ value null,...

View Article


Re : P2.0b8 text doesn't appear in P2D or P3D

Probably you lack the ttf fonts (required for P3D, was OPENGL). The sketch works fine for me on my linux box (ArchLinux). Include the ttf fonts in your data directory and you should be good to...

View Article

Re : P2.0b8 text doesn't appear in P2D or P3D

Works OK for me with 2.0b8, Windows 7.I just have to wait a bit more for the display, as OpenGL in Processing is slow to start for me.

View Article


Re : NullPointerException in Minim and loading images

Beside, size() must be the first instruction in setup(). You can call it with a default value, and use resize() later. I have see issues with core libraries initialized before size() (code can be run...

View Article

Image may be NSFW.
Clik here to view.

Re : NullPointerException in Minim and loading images

I had no problems in declaring & initializing a Minim variable in the same statement!final Minim minim = new Minim(this);I don't think the sketch's reference pointer changes after a size() or...

View Article


Re : P2.0b8 text doesn't appear in P2D or P3D

Works fine for me with 2.0b8, Mac OSX 10.6.8

View Article

Re : P2.0b8 text doesn't appear in P2D or P3D

Thanks for all the advice everyone:  strangely, I've managed to get the OPENGL renderer to show the fonts on a windows XP machine but not on a Windows 7 machine.  No idea what is going on there but at...

View Article

Re : Processing 2.0 beta 8 and JSONObject

I stumbled across the same issue today when I opened a recent sketch under 2.0b8. JSON Data is valid but parsing it, doesn't work ;-(Are there any news?Cheers Moritz

View Article
Browsing all 1768 articles
Browse latest View live