shayzalman / javacv

Automatically exported from code.google.com/p/javacv
GNU General Public License v2.0
0 stars 0 forks source link

java.lang.UnsatisfiedLinkError: no jniavcodec in java.library.path #480

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. When i run a simple program to extract frames from a video, it produces the 
error. The code snippet is as below - 
FFmpegFrameGrabber g = new FFmpegFrameGrabber("a.mov");
g.start();

for (int i = 0 ; i < 50 ; i++) {
ImageIO.write(g.grab().getBufferedImage(), "png", new 
File("thumbs/video-frame-" + System.currentTimeMillis() + ".png"));
}

g.stop();
2. I have added all the jars that came with javacv binary package and believe 
me tried every possible combination or so.
3. Still getting the issue.

What is the expected output? What do you see instead?
The program should run properly.

What version of the product are you using? On what operating system?
0.9

Please provide any additional information below.

Original issue reported on code.google.com by gajanand...@gmail.com on 5 Aug 2014 at 4:44

GoogleCodeExporter commented 8 years ago
Could you provide the stacktrace and move this to a GitHub issue? Thanks

Original comment by samuel.a...@gmail.com on 6 Aug 2014 at 2:40

GoogleCodeExporter commented 8 years ago
I'm pretty sure this is the same as this issue:
https://github.com/bytedeco/javacv/issues/24
Please find a fix and a workaround there.

Original comment by samuel.a...@gmail.com on 22 Aug 2014 at 12:47