Recently added support for Linux to VLC for Unity, with full hardware decoding.
It uses OpenGL rendering through GLX and EGL, with DMA-BUF texture sharing to pass video frames efficiently to Unity’s renderer.
Only x86_64 is supported at this time. In the future, I will add ARM64 support as well as Vulkan.
SurajMishra•45m ago
Thank you very much.
sylware•41m ago
Don't forget to build 'correct' ELF64 binaries for broad elf(glibc)/linux distro support (-static-libgcc -static-libstdc++, and tight glibc ABI version control with binutils VERSION scripts).
At least those build options should be default.
ekjhgkejhgk•34m ago
Blocked because I don't use cookies. Ok, I've always preferred mpv anyway.
fusslo•15m ago
Can a unity dev/game dev help elucidate why you'd use vlc in unity?
For cutscene playback?
harrisoned•7m ago
For a sandbox game this is very useful, where you can spawn video players in-game. For social games (like VRChat) this is also great since synced video playback is a very popular feature for people to watch content together in VR.
tmtvl•9m ago
On a similar note: Godot VLC (<https://github.com/xiSage/godot-vlc>), because let's not pretend we don't remember the Unity terms change controversy.
martz•3h ago
It uses OpenGL rendering through GLX and EGL, with DMA-BUF texture sharing to pass video frames efficiently to Unity’s renderer.
Only x86_64 is supported at this time. In the future, I will add ARM64 support as well as Vulkan.
SurajMishra•45m ago
sylware•41m ago
At least those build options should be default.