Development Enviroment
use win10 ,Java language and caprica vlclib library (4.2.0)
I set two path to environmental global variables
1. jdk 32 bit installation file to C:\Program Files (x86)\Java\jdk1.8.0_221\bin
2. vlc 32bit installation file to C:\Program Files (x86)\VideoLAN\VLC
I have to different result between executing java compiler code and executing java runnable Jar file.
Results log as follow
1.java compiler code version(Play normally)
[3a42f7c8] main decoder debug: looking for video decoder module matching "any": 19 candidates
[3a42f7c8] avcodec decoder debug: using ffmpeg Lavc58.6.103
[3a42f7c8] avcodec decoder debug: CPU flags: 0x000fd3dbelementaryStreamSelected! elementaryStreamSelected!
playing!
buffering!
buffering!
buffering!
audioDeviceChanged!
volumeChanged!
2.executing java runnable Jar file(Play abnormally)
[701e0478] main decoder debug: looking for video decoder module matching "any": 19 candidates
[701e0478] main decoder warning: cannot load module `C:\Program Files (x86)\VideoLAN\VLC\plugins\codec\libavcodec_plugin.dll' ?(error )
[701e0478] mft decoder debug: Found 1 available MFT module(s)
[701e0478] main decoder debug: using video decoder module "mft"
Looking at the results to analyze, it seems codec cannot be found,
But I don't know how to resolve this problem(Permission access problem?)
Please give me suggestions or solution,thanks a lot.