This video shows how to fix the error associated with processing video library
1 Like
thanks, do you know how to fix the same problem on M1 Big Sur with Processing 4.0?
I get the following error when i run āGetting Started Captureā example:
Video Library for Processing 4 does not run on this architecture: macos-aarch64
Processing video library using system-wide GStreamer 1.20.2
Available cameras:
[0] āFaceTime HD Cameraā
(Processing core video:2420): GStreamer-CRITICAL **: 22:02:22.910: gst_bin_add_many: assertion āGST_IS_ELEMENT (element_1)ā failed
(Processing core video:2420): GStreamer-CRITICAL **: 22:02:22.919: gst_element_link_pads_full: assertion āGST_IS_ELEMENT (dest)ā failed
Just saw the following workaround suggested on the Github issue.
cam = new Capture(this, 640, 480, "pipeline:avfvideosrc device-index=0 ! video/x-raw, width=640, height=480, framerate=30/1");
This worked for me on macOS 12.5.1 (Monterey) on an M1 Macbook Pro.
1 Like