Comments

Hacker News

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

by jokoon

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.

by torginus

Just in case you only read the headline and were confused, this is libVLC which underpins the VLC player.

by bananaboy

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.

by hparadiz

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

For cutscene playback?

by fusslo

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

by Hendrikto

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.

by martz

Join the discussion

Write your take first — we'll ask for email only when you're ready to publish.

  • Hacker News
  • 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

  • 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.
  • Just in case you only read the headline and were confused, this is libVLC which underpins the VLC player.
  • 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.
  • Can a unity dev/game dev help elucidate why you'd use vlc in unity?

    For cutscene playback?

  • To everybody else being confused: This is about Unity the game engine, not Unity the desktop environment.
  • 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.

  • 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.