2.0 beta requires a separate VLC installation
LemmaEOF opened this issue ยท 5 comments
Right now, the PictureSign 2.0 beta will crash if there's not a separate VLC installation for libvlc.dll: https://mclo.gs/ZafbGSt
It feels like libvlc could possibly be bundled with the mod, though that might end up being complicated with different OSes and architectures.
There are also some people encountering this on Linux even with VLC installed, though it might be via flatpak.
I have VLC installed through Scoop and I'm also crashing, so yes bundle the library.
OpenComputers drops Lua libraries in .minecraft depending on your OS and arch so it shouldn't be too hard to replicate that.
Depending on VLC also seems a bit overkill; perhaps it'd be an idea to depend on libav (ffmpeg) instead?
This should work way better now, as I'm no longer using VideoLib, but WATERMeDIA instead.
VLC is still required, but it will now actually be detected in many cases and WATERMeDIA already bundles the dlls on Windows x64.
I'd also prefer to have this working with ffmpeg instead, this is something I'll look into in the future.
WaterMedia will also use FFMPEG for media decoding, will take to us a while since we are also polishing many other aspects of our api (like picture decoding and the buffer wrappers) before get ready for the FFMPEG implementation.
No much discussion was done yet but for future references WaterMediaTeam/watermedia#52