Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video library capture appears broken again - ver 2.2.2 #983

Open
fredless-zz opened this issue Mar 18, 2025 · 2 comments
Open

Video library capture appears broken again - ver 2.2.2 #983

fredless-zz opened this issue Mar 18, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@fredless-zz
Copy link

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 fredless-zz added the bug Something isn't working label Mar 18, 2025
@SableRaf
Copy link
Collaborator

SableRaf commented Mar 24, 2025

Hey @fredless-zz. Thanks for the report!

I'm still on an older version of macOS so I can't try this right now but maybe @Stefterv can replicate it and/or guide you to help resolve the issue.

@Stefterv
Copy link
Collaborator

I just tried it on my macOS and it works just fine

processing/processing-video#191
Did you see this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants