Skip to content

Can't load mpv preview #75

Open
Open
@KimmoKM

Description

@KimmoKM

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions