processing / processing-video

GStreamer-based video library for Processing
276 stars 130 forks source link

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

Open tybowman opened 9 years ago

tybowman commented 9 years ago

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.

codeanticode commented 9 years ago

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.

lhaclove commented 9 years ago

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),

tybowman commented 9 years ago

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:notifications@github.com] Sent: Tuesday, October 20, 2015 8:22 AM To: processing/processing-video processing-video@noreply.github.com Cc: tybowman mail@tybowman.com 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

codeanticode commented 9 years ago

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.

dali20 commented 9 years ago

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 :)

bckmnn commented 9 years ago

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.

codeanticode commented 9 years ago

@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?

bckmnn commented 9 years ago

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 notifications@github.com:

@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.

dali20 commented 9 years ago

okay thankx, cant u send me the full librery

2015-10-27 16:29 GMT+01:00 bckmnn notifications@github.com:

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 notifications@github.com:

@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 .

SiruiChen1993 commented 8 years ago

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 ?

codeanticode commented 5 years ago

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.