processing4 icon indicating copy to clipboard operation
processing4 copied to clipboard

Video library capture appears broken again - ver 2.2.2

Open fredless-zz opened this issue 10 months ago • 2 comments

Most appropriate sub-area of Processing 4?

Other (specify if possible)

Processing version

4.3.3, 4.3.4, 4.4.0

Operating system

macOS 15.3.2

Steps to reproduce this

  1. Video capture is broken: generates error: "BaseSrc: [avfvideosrc0] : Internal data stream error." using internal MacBook Pro camera as well as external cameras, via camera array.

Tried all the usual fixes from the past: starting from Terminal, variations of "cam = new Capture(this, "pipeline:avfvideosrc");", toggling camera access in Privacy System Preference, etc.

It was working fine before the update from 15.3.1 to 15.3.2

  1. Camera works fine with Max, PureData, p5.js.

  2. external camera works in Processing with this option:
    cam = new Capture(this, width, height, "pipeline:avfvideosrc device-index=2", 30); but internal one does not, regardless of the index setting.

snippet


// Paste your code below :)

void setup() {

}

void draw() {

}

Additional context

No response

Would you like to work on the issue?

I'm not qualified to do anything other than testing/hacking, but I'm happy to help.

fredless-zz avatar Mar 18 '25 03:03 fredless-zz