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

Can't load mpv preview #75

Open
KimmoKM opened this issue Apr 27, 2021 · 1 comment
Open

Can't load mpv preview #75

KimmoKM opened this issue Apr 27, 2021 · 1 comment

Comments

@KimmoKM
Copy link

KimmoKM commented Apr 27, 2021

The video preview fails to load, with message "Couldn't load plugin" in its place and "failed to initialize mpv GL context" in console output.

Running the program with parameters "ELECTRON_ENABLE_LOGGING=1 BORAM_TERMINAL=1 BORAM_VERBOSE=1 boram --v=1" results in the following output upon loading the video:

[cplayer] mpv 0.33.1-dirty Copyright © 2000-2020 mpv/MPlayer/mplayer2 projects
[cplayer]  built on UNKNOWN                                                                                                                                                                                                                                 
[cplayer] FFmpeg library versions:                                                                                                                                                                                                                          
[cplayer]    libavutil       56.51.100                                                                                                                                                                                                                      
[cplayer]    libavcodec      58.91.100                                                                                                                                                                                                                      
[cplayer]    libavformat     58.45.100                                                                                                                                                                                                                      
[cplayer]    libswscale      5.7.100                                                                                                                                                                                                                        
[cplayer]    libavfilter     7.85.100                                                                                                                                                                                                                       
[cplayer]    libswresample   3.7.100                                                                                                                                                                                                                        
[cplayer] FFmpeg version: n4.3.2                                                                                                                                                                                                                            
[cplayer]                                                                                                                                                                                                                                                   
[cplayer] Configuration: /usr/bin/waf configure --prefix=/usr --confdir=/etc/mpv --enable-cdda --enable-dvb --enable-dvdnav --enable-libarchive --enable-libmpv-shared --disable-build-date                                                                 
[cplayer] List of enabled features: 52arch alsa asm caca cdda cplayer cplugins cuda-hwaccel cuda-interop debug-build drm dvbin dvdnav egl egl-drm egl-helpers egl-x11 ffmpeg ffnvcodec gbm gbm.h gl gl-wayland glibc-thread-name glob glob-posix gpl iconv jack javascript jpeg lcms2 libarchive libass libavdevice libbluray libdl libm libmpv-shared libplacebo librt linux-fstatfs linux-input-event-codes lua memfd_create optimize plain-gl posix posix-or-mingw pthreads pulse rubberband shaderc shaderc-shared stdatomic uchardet vaapi vaapi-drm vaapi-egl vaapi-vulkan vaapi-wayland vaapi-x-egl vaapi-x11 vdpau vt.h vulkan wayland wayland-protocols x11 xv zimg zlib                                                                                                   
[main] The opengl_cb API is not supported anymore.
[main] Use the similar API in render.h instead.                                                                                                                                                                                                             
failed to initialize mpv GL context
[cplayer] Waiting for scripts...
[osd/libass] Shaper: FriBidi 1.0.10 (SIMPLE) HarfBuzz-ng 2.8.0 (COMPLEX)                                                                                                                                                                                    
[osd/libass] Setting up fonts...                                                                                                                                                                                                                            
[osd/libass] Using font provider fontconfig                                                                                                                                                                                                                 
[osd/libass] Done.                                                                                                                                                                                                                                          
[cplayer] Done loading scripts. 

Due to dependency hell it's very difficult for me to test this, but appears this might be a problem introduced with mpv 0.33 ( The opengl_cb API is not supported anymore).

@RosinSmoke
Copy link

mpv : 0.34.1
libmpv1 : 0.34.1-1ubuntu3
Same error

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

2 participants