Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1.38 KB

troubleshooting.md

File metadata and controls

44 lines (30 loc) · 1.38 KB

Troubleshooting

mpv commands don’t work on Vivaldi

Vivaldi loads its own libffmpeg library on start-up. This was an optional video compatibility feature up until Vivaldi 3.0 and had to be enabled manually by executing /opt/vivaldi/update-ffmpeg. More information about it in this help post and in the changelog

The loaded libffmpeg.so used by Vivaldi might not be compatible with the version of FFmpeg used by mpv, causing it to crash.

It’s possible to work around this problem by clearing the LD_PRELOAD environment variable that is passed to mpv like so:

  1. Add the following to your configuration:

~/.config/krabby/config.js

const { settings } = krabby

// Clear the LD_PRELOAD environment variable.
// Fixes mpv crash on Vivaldi.
settings['mpv-environment'] = {
  LD_PRELOAD: ''
}
  1. Run the following commands:
cd ~/.config/krabby
make
  1. Reload the extension from vivaldi://extensions or restart Vivaldi.

mpv should work fine afterwards.