Remix.run Logo
martz 7 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.

torginus 10 minutes ago | parent | next [-]

Would it not be more efficient to create the decoder in-process, then you could feed it the bitstream via a compute buffer, and the video would be rendered to a texture.

sylware 5 hours ago | parent | prev | next [-]

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 4 hours ago | parent [-]

thanks for your comment, will look into it!

SurajMishra 5 hours ago | parent | prev [-]

Thank you very much.