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:
- 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: ''
}
- Run the following commands:
cd ~/.config/krabby
make
- Reload the extension from
vivaldi://extensions
or restart Vivaldi.
mpv should work fine afterwards.