-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
[libmpv_render] fails to render textures #34
Comments
Do you mean mpv.js works with mpv from standard repositories, but not with ffmpeg/mpv compiled from sources? Can you reproduce issue with SDL example? Btw, it's not enough to compile mpv with hwdec to get hwdec in mpv.js, #5 needs to be fixed first… |
yes
how? can you walk me through the procedure?
well mpv from standard repository is awful, the frame rate drops to 0.5 – half a frame per second! at least now I know that mpv is fine. |
logs from mpv.js on electron 1.7.9 (full log)
|
The issue exist in the SDL example. as well in |
it's a known issue mpv-player/mpv#5405 |
due to a perfectly legitimate desire to maintain backward compatibility with older Raspberry models, the repository only provides a generic build of mpv (and an older version of FFmpeg). As a result, mpv is unable to take advantage of hardware acceleration, and therefore does not leverage the Raspberry’s surprisingly powerful on-board GPU to play video. So I used mpv-build to build FFmpeg and MPV from their master branch. with these options.
ffmpeg:
mpv:
the result is astonishing, MPV (player itself) can play 1080P/60fps videos without dropping a single frame.
but
libmpv
will show a white screen that can only play the sounds and render subtitles. logs from MPV_TERMINAL indicate these errors:I've already rebuild the plugin, but the issue remains. also this is sort of similar to #25 but i've tried it with 1.7.9 as well.
The text was updated successfully, but these errors were encountered: