Live data from Hacker News

VLC for Unity now supported on Linux

code.videolan.org

21–30 of 58 posts

Re: VLC for Unity now supported on Linux

#21
post #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?

It’s not hard to use libavcodec to transcode, though.

Re: VLC for Unity now supported on Linux

#23
post #18
post #14

Earlier quoted context omitted.

Context about the Unity terms change controversy: https://www.gamedeveloper.com/business/unity-is-killing-its-... > Initially, the Runtime Fee sought to charge developers a per install tariff once projects had passed certain milestones. It was a decision that left many users reeling, resulting in a colossal backlash (…) How users reacted: https://old.reddit.com/r/OutOfTheLoop/comments/16h9lnw/whats... > Any install,…

Sounds similar to Apple's "Core Technology Fee", literally a mechanism for sabotaging third party app distribution in the EU.

This is a very big oversight in that EU law.

Allowing third-party "app stores" is completely useless when all apps must be approved by the operating system company.

It's also being abused by google (technically, will be, very soon), I guess they saw that since the legal framework for this kind of thing has now been written, they can do it too.

Re: VLC for Unity now supported on Linux

#24
post #14
post #7

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.

Context about the Unity terms change controversy: https://www.gamedeveloper.com/business/unity-is-killing-its-... > Initially, the Runtime Fee sought to charge developers a per install tariff once projects had passed certain milestones. It was a decision that left many users reeling, resulting in a colossal backlash (…) How users reacted: https://old.reddit.com/r/OutOfTheLoop/comments/16h9lnw/whats... > Any install,…

Side note--is there any way to access reddit now for people who refuse to log in or get the app? Old reddit asks tells me I have to use new reddit for "security" and new reddit says "Get the app to keep using Reddit".

Re: VLC for Unity now supported on Linux

#26
post #24
post #14

Earlier quoted context omitted.

Context about the Unity terms change controversy: https://www.gamedeveloper.com/business/unity-is-killing-its-... > Initially, the Runtime Fee sought to charge developers a per install tariff once projects had passed certain milestones. It was a decision that left many users reeling, resulting in a colossal backlash (…) How users reacted: https://old.reddit.com/r/OutOfTheLoop/comments/16h9lnw/whats... > Any install,…

Side note--is there any way to access reddit now for people who refuse to log in or get the app? Old reddit asks tells me I have to use new reddit for "security" and new reddit says "Get the app to keep using Reddit".

On Android https://github.com/QuantumBadger/RedReader - no account required

Re: VLC for Unity now supported on Linux

#27
post #24
post #14

Earlier quoted context omitted.

Context about the Unity terms change controversy: https://www.gamedeveloper.com/business/unity-is-killing-its-... > Initially, the Runtime Fee sought to charge developers a per install tariff once projects had passed certain milestones. It was a decision that left many users reeling, resulting in a colossal backlash (…) How users reacted: https://old.reddit.com/r/OutOfTheLoop/comments/16h9lnw/whats... > Any install,…

Side note--is there any way to access reddit now for people who refuse to log in or get the app? Old reddit asks tells me I have to use new reddit for "security" and new reddit says "Get the app to keep using Reddit".

I just used UBlock Origin to block the "Get the app..." message.

Re: VLC for Unity now supported on Linux

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

Re: VLC for Unity now supported on Linux

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

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.
Post reply on HN