# Video capture in MacOS Monterey (12.0.1) not working

**URL:** <https://discourse.processing.org/t/video-capture-in-macos-monterey-12-0-1-not-working/33837>\
**Category:** Libraries\
**Created:** [November 30, 2021, 5:19pm UTC](https://discourse.processing.org/t/video-capture-in-macos-monterey-12-0-1-not-working/33837 "2021-11-30T17:19:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nodavid](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/nodavid/32/70_2.png) [@nodavid](https://discourse.processing.org/u/nodavid)\
**Post date:** [November 30, 2021, 5:19pm UTC](https://discourse.processing.org/t/video-capture-in-macos-monterey-12-0-1-not-working/33837/1 "2021-11-30T17:19:36Z")

</div>

Help! Video capture is not working again. This time in MacOS Monterey (12.0.1). Processing (4.0b1) seems to be finding the camera in my laptop (the camera name prints out in the console ok). Looking at system preferences, Processing has permissions to read my camera, but output fails with an internal datasource error. Here is the console output from the basic Getting Started with Capture example:

Processing video library using GStreamer 1.16.0  
Available cameras:  
[0] “FaceTime HD Camera (Built-in)”  
BaseSrc: [avfvideosrc0] : Internal data stream error.

Same example still works in MacOS Big Sur (11.5.2). Any help would be greatly appreciated!  
/david

---

<div class="post-metadata">

**Author:** ![gpassmore](https://avatars.discourse-cdn.com/v4/letter/g/90db22/32.png) [@gpassmore](https://discourse.processing.org/u/gpassmore)\
**Post date:** [January 6, 2022, 5:08am UTC](https://discourse.processing.org/t/video-capture-in-macos-monterey-12-0-1-not-working/33837/2 "2022-01-06T05:08:50Z")

</div>

I am having the same issue.

---

<div class="post-metadata">

**Author:** ![nodavid](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/nodavid/32/70_2.png) [@nodavid](https://discourse.processing.org/u/nodavid)\
**Post date:** [January 7, 2022, 7:24pm UTC](https://discourse.processing.org/t/video-capture-in-macos-monterey-12-0-1-not-working/33837/3 "2022-01-07T19:24:49Z")

</div>

I just discovered that if I specify the string name of the camera instead of referencing the camera list array that I can get it to work. So use line 30 in the GettingStartedCapture example instead of line 28:

```
cam = new Capture(this, 640, 480, "FaceTime HD Camera (Built-in)", 30);
```

---

<div class="post-metadata">

**Author:** ![poltergeister](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/poltergeister/32/648_2.png) [@poltergeister](https://discourse.processing.org/u/poltergeister)\
**Post date:** [April 6, 2022, 1:52am UTC](https://discourse.processing.org/t/video-capture-in-macos-monterey-12-0-1-not-working/33837/4 "2022-04-06T01:52:51Z")

</div>

Did not work until I restarted Processing 4.  
Also, frame rate (30) needed to be specified. It isn’t in some other the other examples.
