It’s been a while since I’ve used Processing, but I just fired back up some old sketches that are no longer working. It appears the issue is with
processing.video.Movie objects, and in particular the underlying GStreamer library. Using just the basic code in the Processing reference page here (with my own movie file replacing the example), I get the error
java.lang.IllegalArgumentException: No such GStreamer factory: playbin. I’ve also tested this with a few different .mov and .mp4 files to make sure it’s not a file issue.
If it’s helpful, the full error message from the console is the below:
Processing video library using GStreamer 1.16.1 java.lang.IllegalArgumentException: No such Gstreamer factory: playbin at org.freedesktop.gstreamer.ElementFactory.makeRawElement(ElementFactory.java:307) at org.freedesktop.gstreamer.Element.makeRawElement(Element.java:99) at org.freedesktop.gstreamer.elements.PlayBin.<init>(PlayBin.java:114) at processing.video.Movie.initGStreamer(Unknown Source) at processing.video.Movie.<init>(Unknown Source) at sketch_211206a.setup(sketch_211206a.java:25) at processing.core.PApplet.handleDraw(PApplet.java:2151) at processing.awt.PSurfaceAWT$10.callDraw(PSurfaceAWT.java:1422) at processing.core.PSurfaceNone$AnimationThread.run(PSurfaceNone.java:354) RuntimeException: Could not load movie file myMovie.mov RuntimeException: Could not load movie file myMovie.mov RuntimeException: Could not load movie file myMovie.mov
I uninstalled Processing 2.0 and reinstalled the new Processing 3, but still getting the same error. Unfortunately I haven’t been able to find anyone having similar issues, but not sure if there are any additional steps I need to take to get GStreamer up and running.
Apologies if I’m missing anything obvious here, but any help would be greatly appreciated. Please let me know if there’s any other information I can provide, and thank you very much for your help!