Why there is a error in importing the video library


Processing 3.5.4 Python Video3
sketch_220915d.pyde:1: RuntimeWarning: PyTableCode.call caught a Throwable that is not an Exception:
java.lang.UnsatisfiedLinkError: C:\Users\17164\Documents\Processing\libraries\video\library\windows64\avfilter-7.dll: Can’t find dependent libraries
Jython internals might be in a bad state now that can cause deadlocks later on.
See Issue 2536: deadlocks in regrtests due to StackOverflowError in finally block - Jython tracker for details.

processing.app.SketchException: java.lang.UnsatisfiedLinkError: C:\Users\17164\Documents\Processing\libraries\video\library\windows64\avfilter-7.dll: Can’t find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1086)
at jycessing.LibraryImporter.recursivelyLoadNativeLibraries(Unknown Source)
at jycessing.LibraryImporter.addLibrary(Unknown Source)
at jycessing.LibraryImporter$1.call(Unknown Source)
at org.python.core.PyObject.call(PyObject.java:480)
at org.python.core.PyObject.call(PyObject.java:484)
at org.python.pycode._pyx70.f$0(sketch_220915d.pyde:1)
at org.python.pycode._pyx70.call_function(sketch_220915d.pyde)
at org.python.core.PyTableCode.call(PyTableCode.java:171)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1614)
at org.python.core.Py.exec(Py.java:1658)
at org.python.pycode._pyx69.f$0(C:\Users\17164\AppData\Local\Temp\sketch_220915d7268400904910400132\sketch_220915d.pyde:96)
at org.python.pycode._pyx69.call_function(C:\Users\17164\AppData\Local\Temp\sketch_220915d7268400904910400132\sketch_220915d.pyde)
at org.python.core.PyTableCode.call(PyTableCode.java:171)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1614)
at org.python.core.Py.exec(Py.java:1658)
at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:276)
at jycessing.PAppletJythonDriver.processSketch(Unknown Source)
at jycessing.PAppletJythonDriver.findSketchMethods(Unknown Source)
at jycessing.Runner.runSketchBlocking(Unknown Source)
at jycessing.mode.run.SketchRunner.lambda$startSketch$3(Unknown Source)
at java.lang.Thread.run(Thread.java:748)

at jycessing.mode.run.SketchRunner.convertPythonSketchError(Unknown Source)
at jycessing.mode.run.SketchRunner.lambda$startSketch$3(Unknown Source)
at java.lang.Thread.run(Thread.java:748)

Hi @huxx,

Welcome to the forum! :wink:

I don’t have a solution for your particular issue but you might want to check those previous threads:

(On Linux and Processing 3 importing the video library works correctly)

1 Like
2 Likes