Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Play video with LWJGL #218

Closed
JuKu opened this issue Aug 18, 2016 · 5 comments
Closed

Play video with LWJGL #218

JuKu opened this issue Aug 18, 2016 · 5 comments

Comments

@JuKu
Copy link

JuKu commented Aug 18, 2016

Hi,

Is there an feature to easy play an video on LWJGL window?

@Spasi
Copy link
Member

Spasi commented Aug 18, 2016

Not at the moment. There are several options available, but so far we've been trying to focus on more important bindings and keeping the library size small enough (i.e. comparable to LWJGL 2).

This will change once the work on #100 is complete. We'll be able to add more bindings without worrying about how it will affect the default distribution. This includes bindings to tools that are used only offline (e.g. SPIR-V/glslang), or heavyweight stuff like video decoding.

@arisona
Copy link

arisona commented Aug 18, 2016

I have started an independent project some time ago. The idea is to use the native OS libraries (AVFoundation on Mac, WMF on Windows) for decoding. It's incomplete as of now, but decoding on Mac works reasonably well. I will continue when I find time, but contributions are of course welcome. https://github.com/arisona/avion

@Spasi Spasi closed this as completed Dec 23, 2016
@Speiger
Copy link

Speiger commented Oct 1, 2023

@Spasi i know this is most likely asked to death.
But has there been any updates on this specific feature?
I would say providing a full video player sounds overkill, but a decoding library where you can at least implement your own video player would be interesting.

At least a comment of the current situation would be nice :)

@Spasi
Copy link
Member

Spasi commented Oct 2, 2023

Hey @Speiger,

Have you tried the ffmpeg module from javacpp-presets? If it's complete and working reasonably well, I don't think it's worth duplicating that effort in LWJGL.

@Speiger
Copy link

Speiger commented Oct 2, 2023

Hey @Spasi I wasn't aware of that module!
That is a treasure trove!

Thank you I will try that out :)

Edit: Maybe advertise that module for extensions because if you search for video decoding on goggle/gh it isn't really find able, especially if you cant use forced open source licenses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants