Can't find Codec problem when I package VLC Library to executive file

This forum is about all development around libVLC.
lancehuang0922
New Cone
New Cone
Posts: 2
Joined: 13 Dec 2019 04:16

Can't find Codec problem when I package VLC Library to executive file

Postby lancehuang0922 » 13 Dec 2019 08:29

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


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

lancehuang0922
New Cone
New Cone
Posts: 2
Joined: 13 Dec 2019 04:16

Re: Can't find Codec problem when I package VLC Library to executive file

Postby lancehuang0922 » 13 Dec 2019 09:28

vlc installation file(V3.08)


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 26 guests