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

To have working Nvida-hardware video acceleration in Baka-MPlayer #332

Open
danilw opened this issue Mar 1, 2024 · 0 comments
Open

To have working Nvida-hardware video acceleration in Baka-MPlayer #332

danilw opened this issue Mar 1, 2024 · 0 comments

Comments

@danilw
Copy link

danilw commented Mar 1, 2024

Fix - file src/mpvhandler.cpp add to line 31:

    mpv_set_option_string(mpv, "hwdec", "auto");
    mpv_set_option_string(mpv, "vo", "gpu");

For more info look - https://mpv.io/manual/stable/#options-hwdec
Search on page - Actively supported hwdecs:

Note:
Do not use vdpau - it works only in x11, and it completely freeze x11 on 545+ latest nvidia drivers.

To confirm video acceleration works - nvidia-settings - GPU - Video Engine Utilization

For me - before mpv used CPU to decode all videos, now it use GPU.

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

No branches or pull requests

1 participant