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

Add hardware decoding support on Linux platforms (VA-API, VDPAU) #6025

Open
FreezyLemon opened this issue Oct 12, 2023 · 0 comments
Open

Add hardware decoding support on Linux platforms (VA-API, VDPAU) #6025

FreezyLemon opened this issue Oct 12, 2023 · 0 comments

Comments

@FreezyLemon
Copy link
Contributor

The libraries necessary to enable hwaccel on Linux (libva, libvdpau) are required by FFmpeg, but probably shouldn't be bundled with the game.

One good idea by @bdach was to bundle FFmpeg libraries without hardware acceleration, and to modify the library loading logic so that FFmpeg libraries installed on the system are preferred over the bundled ones.

That way, if a user installs FFmpeg with hwaccel support for their specific machine, it'll load those libraries (= hardware decoding) and falls back to the bundled libraries (= software decoding) when no installed FFmpeg can be found.

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

1 participant