I'm trying to run MovieSimple.java from inside my own project. Most of the native files seems to be loaded but not avformat-55.dll Line 26040 of the provided log states that dll loading failed. Error is : java.lang.RuntimeException: FFMPEG Tool library incomplete: [ avutil true, avformat false, avcodec true] I'm using latest build : gluegen_726-joal_484-jogl_1104-jocl_856 Line 26040 of the provided log states that the load failed. All libs are under the folder "W:\workspace\Catequesis Binaries\lib\" The VM launch with the argument : -Djava.library.path="W:\workspace\Catequesis Binaries\lib\" Running ffplay.exe from this location for the same video file is working.
Created attachment 509 [details] lib dir list attaching directory listing
Created attachment 510 [details] debug log attaching debug log - in 7zip format
Created attachment 511 [details] ffplay log added ffpla command line log, stating all the used versions.
Please note that the ffmpeg used was straight from http://ffmpeg.zeranoe.com/builds/ The version I used is the 32 bit shared. Also the same code is running with no issue on Linux.
I tested on Windows-7 64bit w/ Java7 64bit and: - set FFMPEG_LIB=C:\ffmpeg_libav\lavc53_lavf53_lavu51-ffmpeg\x64 - set FFMPEG_LIB=C:\ffmpeg_libav\lavc55_lavf55_lavu52-ffmpeg\x64 - set FFMPEG_LIB=C:\ffmpeg_libav\lavc54_lavf54_lavu52_lavr01-libav\x64 working well. +++ This is a FFmpeg Win64 shared build by Kyle Schwarz. Zeranoe's FFmpeg Builds Home Page: <http://ffmpeg.zeranoe.com/builds/> .. have to validate against 32bit builds.
Created attachment 516 [details] debug log 64 Added 64bits logs : Same issue. -win 7 64 -jdk 7_40 64 -same ffmpeg version as before but in 64bit -same jogamp version but in 64bit
used ffmpeg versions : http://ffmpeg.zeranoe.com/builds/win32/shared/ffmpeg-20131009-git-83fc6c8-win32-shared.7z http://ffmpeg.zeranoe.com/builds/win64/shared/ffmpeg-20131009-git-83fc6c8-win64-shared.7z
LIB_AV Codec : 55.35.100 [cc 55]^M LIB_AV Format : 55.19.100 [cc 55]^M LIB_AV Util : 52.46.101 [cc 52]^M LIB_AV Resample: 0.0.0 [cc 1, loaded false]^M LIB_SW Resample: 0.17.103 [cc 0, loaded true]^M LIB_AV Device : [loaded true]^M LIB_AV Class : FFMPEGv10Natives^M set FFMPEG_LIB=C:\ffmpeg_libav\lavc55_lavf55_lavu52-ffmpeg-2013-10-09\x64 http://ffmpeg.zeranoe.com/builds/win64/shared/ffmpeg-20131009-git-83fc6c8-win64-shared.7z FFmpeg version: 2013-10-09 git-83fc6c8 libavutil 52. 46.101 / 52. 46.101 libavcodec 55. 35.100 / 55. 35.100 libavformat 55. 19.100 / 55. 19.100 libavdevice 55. 4.100 / 55. 4.100 libavfilter 3. 88.101 / 3. 88.101 libswscale 2. 5.101 / 2. 5.101 libswresample 0. 17.103 / 0. 17.103 libpostproc 52. 3.100 / 52. 3.100 all working ..
I close this bug .. for now. Please reopen if you can provide details that is bug is on us, as we discussed this morning. Thank you.
Using PATH instead of -Djava.library.path solved the issue.