logoalt Hacker News

VLC for Unity now supported on Linux

130 pointsby martztoday at 9:06 AM36 commentsview on HN

Comments

tmtvltoday at 11:57 AM

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.

show 2 replies
martztoday at 9:06 AM

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.

show 2 replies
Hendriktotoday at 12:50 PM

To everybody else being confused: This is about Unity the game engine, not Unity the desktop environment.

show 1 reply
fusslotoday at 11:51 AM

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

For cutscene playback?

show 3 replies
jokoontoday at 6:14 PM

I don't know why, but on windows, the first time I start VLC after a windows boot, it takes about 5s to 8s to open a video file, any sort of video file

I suspect it's a graphics driver issue, or something else

show 1 reply
hparadiztoday at 4:05 PM

VRChat folks will love this. Videoplayers are embedded into Unity scenes aka "maps" as a regular imported lib. The videoplayer is a drawn surface where users can see video playback. Most commonly used for streaming live music from a stream like Twitch.

torginustoday at 4:07 PM

Forgive me for my ignorance - but my understanding is that VLC is a frontend for ffmpeg, and even ffmpeg is 'just' a wrapper for hardware video decoders such as NVDEC when viewing supported codecs, like h264/5.

happyPersonRtoday at 3:40 PM

Sidenote:

Video game programming with unity was an absolute nightmare to try and get working with any kind of gitops and or with multiple people working on the same code base a couple of years ago

Wonder if that changed ?

redsocksfan45today at 6:02 PM

[dead]

ekjhgkejhgktoday at 11:32 AM

Blocked because I don't use cookies. Ok, I've always preferred mpv anyway.

show 2 replies