Ffmpeg dependency error

Manjaro spin: Cinnamon (community)

Hi, I recently cannot use ffmpeg (latest repo version 2:7.1-3).
I always get this error, even with no command line args:

ffmpeg: symbol lookup error: /usr/lib/libavutil.so.59: undefined symbol: vaMapBuffer2

As a result, software which depends on ffmpeg such as shortcut also doesn’t work.

I tried using downgrade with DOWNGRADE_FROM_ALA=1.
It showed a couple of more recent versions 2:7.1-4 and 2:7.1-5, but those have the same error.

Downgrading before 2:7.1 is not possible due to missing package dependencies.

:: unable to satisfy dependency 'librubberband.so=2-64' required by ffmpeg
:: unable to satisfy dependency 'libx265.so=209-64' required by ffmpeg

Please help, I can’t edit any videos!

Hi, I guess you tried reinstalling those? Both are present on my system and are in the extra repository.

sudo pacman -Syu rubberband x265

I’ll need to find out why Kdenlive isn’t working, at my end! Maybe related. :wink:

I don’t get any errors with or without args. Version 2:7.1-3

1 Like

Deliberately reckless usage of downgrade function can break your system. I would try a clean complete system update (including downgrade if needed):

sudo pacman -Syuu

to make sure all packages are on one stage again.

If this does not help you could try switch the branch to testing.

3 Likes

Thanks, I did that and got some improvements.
Here’s what I found:
I had previously added libva to IgnorePkg because it was breaking VLC Media Player.
ffmpeg works now after I installed the latest version of libva (2.22).
I didn’t expect that because libavutil.so does not come up in pacman -Ql libva.

BUT, VLC Media Player crashes when playing videos unless I downgrade libva to the old version (2.16).

glconv_vaapi_x11 gl error: vaInitialize: unknown libva error
Segmentation fault (core dumped)

So currently, I can use either ffmpeg with libva version 2.22 or VLC with libva version 2.16.
(There is nothing else in IgnorePkg. I am now on the latest version of all packages.)

1 Like

It’s part of ffmpeg:

$ pacman -Qo /lib/libavutil.so
/usr/lib/libavutil.so is owned by ffmpeg 2:7.1-4
2 Likes

You could use another player such as mpv or smplayer.

Sure, I’ll look into mpv and smplayer. Thanks for the suggestions.
But I’m surprised there’s no fix for the VLC libva issue after such a long time. It’s in the extra repo, after all, not AUR.

I think it’s likely a local issue, or at least not very common, otherwise we would have seen others with the issue. vlc works for me.

Perhaps experiment with the settings, such as the video output. If that doesn’t help, then please open a new thread for it.

The downgrade isn’t possible because the current version of those are too new for, the older ffmpeg is linked to older libraries, reinstalling as suggest above solve nothing

1 Like

I have libva 2.22.0-1 in combination with vlc 3.0.21-9 installed and no problems with vlc.

In your case I would check for optional dependencies of all involved packages (vlc, ffmpeg, libva). Maybe installing some of them could solve the issue.

Also, you could provide output of

inxi -Farz

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.