processing / processing-video

GStreamer-based video library for Processing
274 stars 130 forks source link

Camera images are not display in P2D, P3D mode on macOS 10.15(2.0 beta 4) #133

Closed jaegonlee closed 1 year ago

jaegonlee commented 4 years ago

Camera images are not displayed in P2D or P3D mode on macOS 10.5(2.0 beta 4)

if (cam.available()) {
  cam.read();
}
image(cam,0,0);  // not displayed

But it's ok when I added cam.loadPixels() and cam.updatePixels() below cam.read()

if (cam.available()) {
  cam.read();
  cam.loadPixels();
  cam.updatePixels(); 
}
image(cam,0,0); // ok
codeanticode commented 1 year ago

I don't see any problem displaying camera images with the OpenGL renderers with the latest version of the library (2.2.1) and Processing (4.1.1), so I'd assume the issue was solved sometime since it was opened.

ajavamind commented 1 year ago

With new video library 2.2.2 on windows 11, sdk 4.1.1, camera images are not display in P2D or P3D.