VLC for Unity now supported on Linux

(code.videolan.org)

43 points | by martz 3 hours ago

4 comments

  • tmtvl 29 minutes 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 3 minutes ago
      yes this is good too, actually started contributing to this :)
  • martz 3 hours ago
    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.

    • sylware 1 hour 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.

      • martz 3 minutes ago
        thanks for your comment, will look into it!
    • SurajMishra 1 hour ago
      Thank you very much.
  • fusslo 35 minutes ago
    Can a unity dev/game dev help elucidate why you'd use vlc in unity?

    For cutscene playback?

    • csande17 5 minutes ago
      [delayed]
    • martz 4 minutes ago
      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..
    • harrisoned 27 minutes 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.
  • ekjhgkejhgk 54 minutes ago
    Blocked because I don't use cookies. Ok, I've always preferred mpv anyway.