Loading...
Logo
Processing Forum
Never encountered this one before. After resolving my  applications issues in this thread I decided to move the application bundle over to an installation computer hooked up to a large display in the hallway of my work. I had to swap out the video library native libs for the 32 bit ones, and then change the camera device being selected, and then I got this string of really strange errors:

** (Processing core video:217): WARNING **: ColorConverter: size 62400 is not a multiple of unit size 60000
2012-12-04 12:41:11.523 JavaApplicationStub[217:903] invalid drawable

(Processing core video:217): GStreamer-CRITICAL **: 
Trying to dispose element nat, but it is in PAUSED instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.


(Processing core video:217): GStreamer-CRITICAL **: 
Trying to dispose element Video Capture, but it is in PAUSED instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element. 

I can't seem to find anything existing in the forum about this. I am running it on a Mac Mini 1.66ghz Intel Core Duo with 1gb of ram running OS X 10.6.8 and the Processing 2.0b6 core and video libraries.

Replies(3)

I have never seen this error. I wonder if it is related to the change from 64 to 32 bit. Can you run you program from the PDE on the installation computer?
Sorry for the slow response, but I've been bogged down by work. I developed it in Eclipse, and it might take me more time to revise everything to get it to work in the PDE than it would to simply install the 64-bit JRE. I could try it out (for science) if you think pursuing the bug is worthwhile.
Okay, so it wasn't too bad to port. I got it running successfully on the machine I originally developed it on, now using the Processing 2.0b7 PDE. I put the same version of the PDE on the mac mini installation machine, and here is the error I get:


Smooth is not supported by this hardware (or driver)

name=Logitech Camera,size=1600x1200,fps=30

name=Logitech Camera,size=1600x1200,fps=15

name=Logitech Camera,size=1600x1200,fps=1

name=Logitech Camera,size=800x600,fps=30

name=Logitech Camera,size=800x600,fps=15

name=Logitech Camera,size=800x600,fps=1

name=Logitech Camera,size=400x300,fps=30

name=Logitech Camera,size=400x300,fps=15

name=Logitech Camera,size=400x300,fps=1

name=Logitech Camera,size=200x150,fps=30

name=Logitech Camera,size=200x150,fps=15

name=Logitech Camera,size=200x150,fps=1

name=Logitech Camera,size=100x75,fps=30

name=Logitech Camera,size=100x75,fps=15

name=Logitech Camera,size=100x75,fps=1


** (Processing core video:227): WARNING **: ColorConverter: size 62400 is not a multiple of unit size 60000 

At that point, the screen just displays white (when I turn on the flag in my code to display video, otherwise it will just display the background color).

I checked the java version on that machine:

monument-1:~ monument_1$ java -version

java version "1.6.0_33"

Java(TM) SE Runtime Environment (build 1.6.0_33-b03-424-10M3720)

Java HotSpot(TM) Client VM (build 20.8-b03-424, mixed mode, sharing)


Let me know if there's any more information I can provide for you.