# Video capture on macOS Catalina not working

**URL:** <https://discourse.processing.org/t/video-capture-on-macos-catalina-not-working/18921>\
**Category:** Libraries\
**Created:** [March 23, 2020, 2:35am UTC](https://discourse.processing.org/t/video-capture-on-macos-catalina-not-working/18921 "2020-03-23T02:35:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevinschlei](https://avatars.discourse-cdn.com/v4/letter/k/77aa72/32.png) [@kevinschlei](https://discourse.processing.org/u/kevinschlei)\
**Post date:** [March 23, 2020, 2:35am UTC](https://discourse.processing.org/t/video-capture-on-macos-catalina-not-working/18921/1 "2020-03-23T02:35:33Z")

</div>

Trying to run any sketch that uses the processing.video.\*; library with a Capture object fails to run. Below is the error that prints.

I’m pretty devastated 😞. I’m teaching a class right now and have been building towards camera input for a while. Was ready to wow the students and ran into this.

Steps to reproduce:

1. Open the Examples… GettingStartedCapture sketch and run.

I’m running macOS Catalina 10.15.3, and Processing 3.5.4.

Any suggestings?

> 2020-03-22 21:32:29.541 java[8846:93043] -[\_\_NSArray0 addObjectsFromArray:]: unrecognized selector sent to instance 0x7fff84fa4e30  
> 2020-03-22 21:32:29.541 java[8846:93043] \*\*\* Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘-[\_\_NSArray0 addObjectsFromArray:]: unrecognized selector sent to instance 0x7fff84fa4e30’  
> \*\*\* First throw call stack:  
> (  
> 0 CoreFoundation 0x00007fff2c3cc8ab \_\_exceptionPreprocess + 250  
> 1 libobjc.A.dylib 0x00007fff62686805 objc\_exception\_throw + 48  
> 2 CoreFoundation 0x00007fff2c44bb61 -[NSObject(NSObject) \_\_retain\_OA] + 0  
> 3 CoreFoundation 0x00007fff2c330adf _ **forwarding** _ + 1427  
> 4 CoreFoundation 0x00007fff2c3304b8 \_CF\_forwarding\_prep\_0 + 120  
> 5 libgstapplemedia.so 0x0000000129d2b2bc libgstapplemedia.so + 58044  
> 6 jna5046322432209832617.tmp 0x00000001260f1134 ffi\_call\_unix64 + 76  
> 7 ??? 0x0000700004845278 0x0 + 123145378091640  
> )  
> libc++abi.dylib: terminating with uncaught exception of type NSException  
> Could not run the sketch (Target VM failed to initialize).  
> For more information, read revisions.txt and Help → Troubleshooting.

---

<div class="post-metadata">

**Author:** ![kevinschlei](https://avatars.discourse-cdn.com/v4/letter/k/77aa72/32.png) [@kevinschlei](https://discourse.processing.org/u/kevinschlei)\
**Post date:** [March 23, 2020, 3:06am UTC](https://discourse.processing.org/t/video-capture-on-macos-catalina-not-working/18921/2 "2020-03-23T03:06:50Z")

</div>

Turns out this fix worked for me:

> <https://github.com/processing/processing-video/issues/134>
>
> Running the example file that comes with the Processing video library throws the following error:
> libc++abi.dylib: terminating with uncaught exception of type...

---

<div class="post-metadata">

**Author:** ![Matt1](https://avatars.discourse-cdn.com/v4/letter/m/b782af/32.png) [@Matt1](https://discourse.processing.org/u/Matt1)\
**Post date:** [April 29, 2021, 2:58pm UTC](https://discourse.processing.org/t/video-capture-on-macos-catalina-not-working/18921/3 "2021-04-29T14:58:58Z")

</div>

This video shows how to fix the problem. [https://www.youtube.com/watch?v=xNa\_ua\_esmw](https://www.youtube.com/watch?v=xNa_ua_esmw)
