Live data from Hacker News

VLC for Unity now supported on Linux

code.videolan.org

1–10 of 58 posts

Re: VLC for Unity now supported on Linux

#2
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.

Re: VLC for Unity now supported on Linux

#3
post #2

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.

Thank you very much.

Re: VLC for Unity now supported on Linux

#4
post #2

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.

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.

Re: VLC for Unity now supported on Linux

#8
post #6

Can a unity dev/game dev help elucidate why you'd use vlc in unity? For cutscene playback?

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.

Re: VLC for Unity now supported on Linux

#9
post #6

Can a unity dev/game dev help elucidate why you'd use vlc in unity? For cutscene playback?

Unity includes its own video player implementation ( https://docs.unity3d.com/Manual/Video.html ), so presumably you'd mainly want to use VLC for wider range of supported codecs?

Re: VLC for Unity now supported on Linux

#10
post #6

Can a unity dev/game dev help elucidate why you'd use vlc in unity? For cutscene playback?

RTSP support, twitch-style in-game visio, any kind of non-game Unity apps (there are many), 360 video playback, mediaplayer in VR headset, simulators of all kinds, etc..
Post reply on HN