processing-video icon indicating copy to clipboard operation
processing-video copied to clipboard

error in video library 1.0.1--com.sun.jna.native

Open tybowman opened this issue 10 years ago • 11 comments

the update to Video 1.0.1 The Processing Foundation GStreamer-based video library for Processing 3 for windows throws the same error when i try to run any of the examples, "noclassdeffounderror:could not initialize class com.sun.jna.native". i updated my java, uninstalled and reinstalled the library and restarted the os, win 7, 3 times and still the error. i will now revert to version 1.0.0 until this is fixed.

tybowman avatar Oct 18 '15 16:10 tybowman

What OS are you on? I tested the 1.0.1 release of the library with Processing 3.0 on Mac OS X 10.10.5 and Windows 10, and didn't get any errors.

codeanticode avatar Oct 20 '15 15:10 codeanticode

got the same error on latest version of processing, and I change to 3b7 and the error is gone and I got not video capture. maybe there is something wrong with my tablet (Chinese brand),

lhaclove avatar Oct 21 '15 04:10 lhaclove

I am using win 7 home premium. It says p3 is only tested on win 7 and 8.1. that is why I just bought a win 7 pro computer.

From: codeanticode [mailto:[email protected]] Sent: Tuesday, October 20, 2015 8:22 AM To: processing/processing-video [email protected] Cc: tybowman [email protected] Subject: Re: [processing-video] error in video library 1.0.1--com.sun.jna.native (#35)

What OS are you on? I tested the 1.0.1 release of the library with Processing 3.0 on Mac OS X 10.10.5 and Windows 10, and didn't get any errors.

— Reply to this email directly or view it on GitHub https://github.com/processing/processing-video/issues/35#issuecomment-149600774 . https://github.com/notifications/beacon/AHEPDOwgF-Lde94SC1pt5X5aZCm4SVlqks5o9lO1gaJpZM4GQ720.gif

tybowman avatar Oct 21 '15 04:10 tybowman

I tested the version 1.0.1 of the video library on OS X 10.10, Ubuntu Linux 12.04, and Windows 10, and in all cases the video and capture examples run without errors. @benfry maybe you have a way to test on older version of Windows, so far I cannot reproduce the apparent JNA incompatibility reported here.

codeanticode avatar Oct 23 '15 02:10 codeanticode

i have problem in "capture" exemple the problem in this ligne " String[] cameras = Capture.list();" " ""A library relies on native code that's not available. Or only works properly when the sketch is run as a 64-bit application."" i have 32bit windows, any one help me thankx :)

dali20 avatar Oct 25 '15 13:10 dali20

i had the exact same error message on a windows 7 machine with processing 3.0 & 3.0.1 in 32 & 64 bit. it turned out to be an issue with where my user folder was located. due to it policy my user folder as well as my sketchbook is on a networkshare. after moving it to a local disk everything worked fine.

bckmnn avatar Oct 27 '15 08:10 bckmnn

@dali20 your problem is probably different, sounds like there was a problem with the installation of the video library and some files are missing. The library comes with 32 and 64bit versions of GStreamer, so it should work on 32 or 64bit Windows.

@bckmnn did you have the same problem before upgrading to 1.0.1?

codeanticode avatar Oct 27 '15 13:10 codeanticode

Actually I had this problem with all releases. Between the different processing versions the only thing that changed was the error message. In 3.0 it was the jna error in 3.0.1 it says the library might not be installed correctly or just working with 64 or 32 bit version of processing depending which version you are using. I will update the exact error messages when I am back at my workplace.

Am 27.10.2015 um 14:44 schrieb codeanticode [email protected]:

@dali20 your problem is probably different, sounds like there was a problem with the installation of the video library and some files are missing. The library comes with 32 and 64bit versions of GStreamer, so it should work on 32 or 64bit Windows.

@bckmnn did you have the same problem before upgrading to 1.0.1?

— Reply to this email directly or view it on GitHub.

bckmnn avatar Oct 27 '15 15:10 bckmnn

okay thankx, cant u send me the full librery

2015-10-27 16:29 GMT+01:00 bckmnn [email protected]:

Actually I had this problem with all releases. Between the different processing versions the only thing that changed was the error message. In 3.0 it was the jna error in 3.0.1 it says the library might not be installed correctly or just working with 64 or 32 bit version of processing depending which version you are using. I will update the exact error messages when I am back at my workplace.

Am 27.10.2015 um 14:44 schrieb codeanticode [email protected]:

@dali20 your problem is probably different, sounds like there was a problem with the installation of the video library and some files are missing. The library comes with 32 and 64bit versions of GStreamer, so it should work on 32 or 64bit Windows.

@bckmnn did you have the same problem before upgrading to 1.0.1?

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/processing/processing-video/issues/35#issuecomment-151541006 .

dali20 avatar Oct 30 '15 09:10 dali20

I also have such problem!(error in video library 1.0.1--com.sun.jna.native) The vision of my computer is windows 7 with 64 bits. I also tried the solution which installs WinVDIG 1.0.1 and quicktime, but it doesn't work. I don't know why. Can someone help me ?

SiruiChen1993 avatar Apr 13 '16 19:04 SiruiChen1993

Hi everyone, I know this is an old issue, but if still relevant, I'd recommend using the latest beta of the video library. It has to be installed manually as it is not yet available through the Contributions Manager, but the upcoming stable v2.0 release will be.

codeanticode avatar Aug 25 '19 15:08 codeanticode