Page 1 of 1
On opening BluRay, VLC either won't detect Java or crash when detecting it
Posted: 29 May 2022 09:21
by PierU
Hello,
On Win10, I am trying to read BluRays with VLC and MakeMKV installed. I have updated to the latest versions of both (64 bits version for VLC, 32 version for MakeMKV).
At first I could play the BluRay, but without any menu as Java was not installed.
I installed Java 8 32 bits from java.com. I actually followed the whole procedure from this page :
https://stolafcarleton.teamdynamix.com/ ... ?ID=128854 . But still VLC was saying that it couldn't find any Java installed.
Then I removed the 32 bits Java version and installed the 64 bits one (still Java 8 ). Now VLC is crashing when opening the BluRay... At least it shows that it detects Java...
Any Idea ?
Re: On opening BluRay, VLC either won't detect Java or crash when detecting it
Posted: 29 May 2022 09:47
by Hitchhiker
Most commercially available blu-ray discs are encrypted to prevent copying. VLC can't play these without installing proprietary libraries which are not free. Since vlc is free software these kind of libraries are not included.
However, all is not lost. Go to this site and follow the instructions to install open source libraries instead. There's no guarantee that they will work, but it's worth a try:
https://forum.doom9.org/showthread.php?t=176924
Re: On opening BluRay, VLC either won't detect Java or crash when detecting it
Posted: 29 May 2022 14:29
by PierU
The decryption is not the problem here, it's the menus. Thanks to MakeMKV and its VLC integration, VLC can effectively decrypt and play the BluRay, but basically without the menus of the disc. Playing with the menus require Java, and at the moment I can't get Java working with VLC.
Re: On opening BluRay, VLC either won't detect Java or crash when detecting it
Posted: 29 May 2022 14:43
by PierU
Here is the VLC log file when it crashes :
(part 1, as the full log is too long for a single post)
Code: Select all
-- logger module started --
main debug: VLC media player - 3.0.17.4 Vetinari
main debug: Copyright © 1996-2022 the VideoLAN team
main debug: revision 3.0.17.4-0-gc650ce1a4e
main debug: configured with /builds/videolan/vlc/extras/package/win32/../../../configure '--enable-update-check' '--enable-lua' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-avcodec' '--enable-merge-ffmpeg' '--enable-dca' '--enable-mpc' '--enable-libass' '--enable-schroedinger' '--enable-realrtsp' '--enable-live555' '--enable-shout' '--enable-goom' '--enable-sse' '--enable-mmx' '--enable-libcddb' '--enable-zvbi' '--disable-telx' '--enable-nls' '--host=x86_64-w64-mingw32' '--with-contrib=../contrib/x86_64-w64-mingw32' '--with-breakpad=https://win.crashes.videolan.org' '--enable-qt' '--enable-skins2' '--enable-dvdread' '--enable-caca' 'host_alias=x86_64-w64-mingw32' 'CFLAGS= ' 'CXXFLAGS= ' 'PKG_CONFIG=pkg-config' 'PKG_CONFIG_LIBDIR=/usr/x86_64-w64-mingw32/lib/pkgconfig:/usr/lib/x86_64-w64-mingw32/pkgconfig'
main debug: using multimedia timers as clock source
main debug: min period: 1 ms, max period: 1000000 ms
main debug: searching plug-in modules
main debug: loading plugins cache file c:\Program Files\VideoLAN\VLC\plugins\plugins.dat
main debug: recursively browsing `c:\Program Files\VideoLAN\VLC\plugins'
main debug: plug-ins loaded: 496 modules
main debug: opening config file (C:\Users\ugo23\AppData\Roaming\vlc\vlcrc)
main debug: looking for logger module matching "any": 2 candidates
file debug: opening logfile `vlc-log.txt'
main debug: using logger module "file"
main debug: translation test: code is "fr"
main debug: looking for keystore module matching "memory": 3 candidates
main debug: using keystore module "memory"
main debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 FPU
main debug: Creating an input for 'Médiathèque'
main debug: Input is a meta file: disabling unneeded options
main debug: using timeshift granularity of 50 MiB
main debug: using timeshift path: C:\Users\ugo23\AppData\Local\Temp
main debug: `file/directory:///C:/Users/ugo23/AppData/Roaming/vlc/ml.xspf' gives access `file' demux `directory' path `/C:/Users/ugo23/AppData/Roaming/vlc/ml.xspf'
main debug: creating demux: access='file' demux='directory' location='/C:/Users/ugo23/AppData/Roaming/vlc/ml.xspf' file='C:\Users\ugo23\AppData\Roaming\vlc\ml.xspf'
main debug: looking for access_demux module matching "file": 15 candidates
main debug: no access_demux modules matched
main debug: creating access: file:///C:/Users/ugo23/AppData/Roaming/vlc/ml.xspf
main debug: (path: C:\Users\ugo23\AppData\Roaming\vlc\ml.xspf)
main debug: looking for access module matching "file": 27 candidates
main debug: using access module "filesystem"
main debug: looking for stream_filter module matching "prefetch,cache_read": 24 candidates
cache_read debug: Using stream method for AStream*
cache_read debug: starting pre-buffering
cache_read debug: received first data after 0 ms
cache_read debug: pre-buffering done 304 bytes in 0s - 296875 KiB/s
main debug: using stream_filter module "cache_read"
main debug: looking for stream_filter module matching "any": 24 candidates
playlist debug: using XSPF playlist reader
main debug: using stream_filter module "playlist"
main debug: stream filter added to 000002bb0cc0e5f0
main debug: looking for stream_filter module matching "any": 24 candidates
main debug: no stream_filter modules matched
main debug: looking for stream_directory module matching "any": 1 candidates
main debug: no stream_directory modules matched
main debug: attachment of directory-extractor failed for file:///C:/Users/ugo23/AppData/Roaming/vlc/ml.xspf
main debug: looking for stream_filter module matching "record": 24 candidates
main debug: using stream_filter module "record"
main debug: creating demux: access='file' demux='directory' location='/C:/Users/ugo23/AppData/Roaming/vlc/ml.xspf' file='C:\Users\ugo23\AppData\Roaming\vlc\ml.xspf'
main debug: looking for demux module matching "directory": 55 candidates
main debug: using demux module "directory"
main debug: looking for meta reader module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\ugo23\AppData\Roaming\vlc\lua\meta\reader
lua debug: Trying Lua scripts in c:\Program Files\VideoLAN\VLC\lua\meta\reader
lua debug: Trying Lua playlist script c:\Program Files\VideoLAN\VLC\lua\meta\reader\filename.luac
main debug: no meta reader modules matched
main debug: `file/directory:///C:/Users/ugo23/AppData/Roaming/vlc/ml.xspf' successfully opened
main debug: looking for xml reader module matching "any": 1 candidates
main debug: using xml reader module "xml"
main debug: EOF reached
main debug: removing module "directory"
main debug: removing module "record"
main debug: removing module "playlist"
main debug: removing module "cache_read"
main debug: removing module "filesystem"
main debug: creating audio output
main debug: looking for audio output module matching "any": 6 candidates
Re: On opening BluRay, VLC either won't detect Java or crash when detecting it
Posted: 29 May 2022 14:44
by PierU
part 2
Code: Select all
mmdevice debug: using default device
mmdevice debug: display name changed: VLC media player (LibVLC 3.0.17.4)
mmdevice debug: version 2 session control unavailable
mmdevice debug: volume from -96.000000 dB to +0.000000 dB with 1.500000 dB increments
main debug: using audio output module "mmdevice"
main debug: keeping audio output
main debug: looking for interface module matching "http,none": 16 candidates
lua debug: Found lua interface script: c:\Program Files\VideoLAN\VLC\lua\intf\http.luac
lua debug: Setting config variable: config={http={no_index=false}}
main debug: using interface module "lua"
main debug: looking for interface module matching "logger,none": 16 candidates
lua: Lua HTTP interface
main debug: creating VLM
lua debug: Loaded c:\Program Files\VideoLAN\VLC\lua\http/custom.lua
main debug: net: listening to * port 8080
logger error: The logger interface no longer exists.
logger: As of VLC version 0.9.0, use --file-logging to write logs to a file.
main debug: no interface modules matched
main error: no suitable interface module
main error: interface "logger,none" initialization failed
main debug: looking for interface module matching "hotkeys,none": 16 candidates
main debug: using interface module "hotkeys"
main debug: looking for interface module matching "globalhotkeys,none": 16 candidates
lua error: Password unset, insecure web interface disabled
lua: Set --http-password on the command line if you want to enable the web interface.
main debug: using interface module "win32"
main: Lancement de vlc avec l'interface par défaut. Utiliser « cvlc » pour démarrer VLC sans interface.
main debug: looking for interface module matching "any": 16 candidates
main debug: looking for extension module matching "any": 1 candidates
lua debug: Opening Lua Extension module
lua debug: Trying Lua scripts in C:\Users\ugo23\AppData\Roaming\vlc\lua\extensions
lua debug: Trying Lua scripts in c:\Program Files\VideoLAN\VLC\lua\extensions
lua debug: Trying Lua playlist script c:\Program Files\VideoLAN\VLC\lua\extensions\VLSub.luac
lua debug: Scanning Lua script c:\Program Files\VideoLAN\VLC\lua\extensions\VLSub.luac
lua debug: Script c:\Program Files\VideoLAN\VLC\lua\extensions\VLSub.luac has the following capability flags: 0x5
main debug: using extension module "lua"
main debug: using interface module "qt"
main: playlist is empty
main debug: nothing to play
main debug: processing request item: bluray:///E:/, node: Liste de lecture, skip: 0
main debug: rebuilding array of current - root Liste de lecture
main debug: rebuild done - 1 items, index 0
main debug: starting playback of new item
main debug: resyncing on bluray:///E:/
main debug: bluray:///E:/ is at 0
main debug: creating new input thread
main debug: Creating an input for 'bluray:///E:/'
main debug: requesting art for new input thread
main debug: using timeshift granularity of 50 MiB
main debug: looking for meta fetcher module matching "any": 1 candidates
main debug: using timeshift path: C:\Users\ugo23\AppData\Local\Temp
main debug: `bluray:///E:/' gives access `bluray' demux `any' path `/E:/'
lua debug: Trying Lua scripts in C:\Users\ugo23\AppData\Roaming\vlc\lua\meta\fetcher
main debug: creating demux: access='bluray' demux='any' location='/E:/' file='E:\'
lua debug: Trying Lua scripts in c:\Program Files\VideoLAN\VLC\lua\meta\fetcher
main debug: looking for access_demux module matching "bluray": 15 candidates
main debug: no meta fetcher modules matched
main debug: looking for art finder module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\ugo23\AppData\Roaming\vlc\lua\meta\art
lua debug: Trying Lua scripts in c:\Program Files\VideoLAN\VLC\lua\meta\art
lua debug: Trying Lua playlist script c:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
lua debug: skipping script (unmatched scope) c:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
lua debug: Trying Lua playlist script c:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac
lua debug: skipping script (unmatched scope) c:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac
lua debug: Trying Lua playlist script c:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
lua debug: skipping script (unmatched scope) c:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
lua debug: Trying Lua playlist script c:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
lua debug: skipping script (unmatched scope) c:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
main debug: no art finder modules matched
main debug: looking for meta fetcher module matching "any": 1 candidates
lua debug: Trying Lua scripts in C:\Users\ugo23\AppData\Roaming\vlc\lua\meta\fetcher
lua debug: Trying Lua scripts in c:\Program Files\VideoLAN\VLC\lua\meta\fetcher
main debug: no meta fetcher modules matched
main debug: looking for art finder module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\ugo23\AppData\Roaming\vlc\lua\meta\art
lua debug: Trying Lua scripts in c:\Program Files\VideoLAN\VLC\lua\meta\art
lua debug: Trying Lua playlist script c:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
lua debug: Trying Lua playlist script c:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac
lua debug: Trying Lua playlist script c:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
lua debug: Trying Lua playlist script c:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
qt debug: IM: Setting an input
main debug: no art finder modules matched
libbluray: First play: 1, Top menu: 1
HDMV Titles: 5, BD-J Titles: 86, Other: 0
libbluray debug: Disc is using AACS
libbluray debug: Disc is using BD+
Re: On opening BluRay, VLC either won't detect Java or crash when detecting it
Posted: 29 May 2022 18:58
by Hitchhiker
Might help:
https://github.com/caprica/vlcj
The nightlies of the forthcoming vlc v4.0 are here:
https://nightlies.videolan.org/
Re: On opening BluRay, VLC either won't detect Java or crash when detecting it
Posted: 30 May 2022 13:54
by Lotesdelere
Re: On opening BluRay, VLC either won't detect Java or crash when detecting it
Posted: 30 May 2022 23:28
by PierU
It works with Jre-8u321 (64 bits, I didn't try the 32 version), thanks !!
Re: On opening BluRay, VLC either won't detect Java or crash when detecting it
Posted: 17 Sep 2022 18:59
by dalmarla
I came across this problem when first installing java which was the current version 341 while VLC was version 3.0.12. In attempt to fix I updated VLC to current 3.0.17 but that didn't help. Finally got version 3.0.18-rc which does the job.