gdx-video icon indicating copy to clipboard operation
gdx-video copied to clipboard

Why is mp4 not a supported format for Desktop

Open WiFisunset opened this issue 1 year ago • 1 comments

I'd like to contribute to this project, but I'm curious as to why mp4 is not a supported format for Desktop.

WiFisunset avatar Apr 07 '24 03:04 WiFisunset

H.264, H.265, and AAC are non-free codecs. While it's unlikely anyone would get into trouble for not paying royalties, why take the risk? VP9 can provide more efficient compression than H.264 anyway, AV1 better still if #83 gets fixed.

If you build gdx-video yourself, you can enable it here:
https://github.com/libgdx/gdx-video/blob/6b09bc1/gdx-video-desktop/build.gradle#L72-L73

Frosty-J avatar Apr 07 '24 12:04 Frosty-J