Hi i am new in processing and i install GSVideo library and i need work with loop and when i try to play example it show this error :
GSVideo version: 1.0.0
error, disabling movieEvent() for station.mov
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at codeanticode.gsvideo.GSMovie.invokeEvent(Unknown Source)
at codeanticode.gsvideo.GSMovie$2.rgbFrame(Unknown Source)
at org.gstreamer.elements.RGBDataAppSink$AppSinkNewBufferListener.newBuffer(RGBDataAppSink.java:162)
at org.gstreamer.elements.AppSink$2.callback(AppSink.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.jna.CallbackReference$DefaultCallbackProxy.invokeCallback(CallbackReference.java:384)
at com.sun.jna.CallbackReference$DefaultCallbackProxy.callback(CallbackReference.java:414)
Caused by: java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:999)
at java.awt.image.BufferedImage.<init>(BufferedImage.java:312)
at processing.core.PImage.getNative(PImage.java:320)
at processing.core.PImage.resize(PImage.java:616)
at codeanticode.gsvideo.GSMovie.read(Unknown Source)
at Loop.movieEvent(Loop.java:49)
... 14 more