Closed GoogleCodeExporter closed 8 years ago
I just wanted to add that I tried the same thing on my Macbook Air and the same
error occurs, however a different file is missing.
I am doing this project for an Undergraduate Research symposium presentation.
So I appreciate any help.
Original comment by teodonne...@gmail.com
on 13 Mar 2014 at 11:35
[deleted comment]
I want to report this issue as solved!
All I needed to do was install a package called 'ffmpeg-compat2' which provides
version 54 of libavcodec.
I still am not sure about what the solution for Mac is, but it is irrelevant
for me at this moment, but I will come back to it.
Original comment by teodonne...@gmail.com
on 14 Mar 2014 at 12:00
Have you tried adding the JAR files from the "CPPJARs" archive to your
CLASSPATH?
Original comment by samuel.a...@gmail.com
on 16 Mar 2014 at 12:55
I have a similar problem on Windows 8.1 using the Maven module in IntelliJ
13.0.2 via Gradle like this:
repositories {
mavenCentral()
maven {
url "http://maven2.javacv.googlecode.com/git"
}
}
dependencies {
compile 'com.google.code.findbugs:jsr305:2.0.+'
compile 'com.google.guava:guava:15.0'
testCompile 'org.apache.commons:commons-lang3:3.1'
testCompile 'junit:junit:4.+'
testCompile 'org.assertj:assertj-core:1.5.0'
testCompile 'com.googlecode.javacpp:javacpp:0.7'
testCompile 'com.googlecode.javacv:javacv:0.7'
}
They appear on the CLASSPATH like this, which seems correct:
C:\Users\rphelps\.gradle\caches\modules-2\files-2.1\com.googlecode.javacpp\javac
pp\0.7\ff8f2a518e524ae8de093d6556fc21a6ab8f05b2\javacpp-0.7.jar;
C:\Users\rphelps\.gradle\caches\modules-2\files-2.1\com.googlecode.javacv\javacv
\0.7\310927e25b52136954b65608f341dfd5e5ad9d64\javacv-0.7.jar
I unzipped the FFmpeg and OpenCV libraries to:
C:\Users\rphelps\ffmpeg-2.1.1-win64-shared\
C:\Users\rphelps\opencv248\
I add those folders to my java.library.path like this:
-Djava.library.path=C:\Users\rphelps\opencv248\opencv\build\java\x64;C:\Users\rp
helps\ffmpeg-2.1.1-win64-shared\bin
Resulting in:
java.lang.UnsatisfiedLinkError: no jniavcodec in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1886)
at java.lang.Runtime.loadLibrary0(Runtime.java:849)
at java.lang.System.loadLibrary(System.java:1088)
at com.googlecode.javacpp.Loader.loadLibrary(Loader.java:711)
at com.googlecode.javacpp.Loader.load(Loader.java:586)
at com.googlecode.javacpp.Loader.load(Loader.java:540)
at com.googlecode.javacv.cpp.avcodec.<clinit>(avcodec.java:39)
at com.googlecode.javacv.FFmpegFrameGrabber.<clinit>(FFmpegFrameGrabber.java:103)
I can't find jniavcodec anywhere at all.
Original comment by ryancer...@gmail.com
on 17 Mar 2014 at 6:01
@ryancerium It's in javacv-windows-x86_64.jar, so try adding that to your
CLASSPATH. And please ask your questions on the mailing list if possible, not
here, thank you.
Original comment by samuel.a...@gmail.com
on 18 Mar 2014 at 12:03
Please try again with JavaCV 0.9 and let me know if this problem still occurs,
thanks!
Original comment by samuel.a...@gmail.com
on 30 Jul 2014 at 11:19
Given the lack of feedback, I am guessing you figured out what was wrong, but
please let me know if you still cannot get it running, thanks!
Original comment by samuel.a...@gmail.com
on 27 Dec 2014 at 3:51
Original issue reported on code.google.com by
teodonne...@gmail.com
on 13 Mar 2014 at 11:31