Libffmpeg.so not found

What I’m trying to do

I’m trying to use Obsidian on Linux Debian obsidian but it doesn’t work. It’s installed with Flatpak.

It used to work with no problems. but stopped working when I uninstalled ffmpeg (sudo apt uninstall ffmpeg) and reinstalled it (sudo apt install ffmpeg).

And since then it doesn’t open.
p.s. I haven’t installed any plugins or changed the settings in obsidian, nor have I changed settings, code or packages on linux (only uninstalled then installed ffmpeg)

Things I have tried

I tried starting flatpak from terminal with (flatpak run md.obsidian.Obsidian ) and I get this:

Debug: Will run Obsidian with the following arguments:
Debug: Additionally, user gave:
/app/obsidian: error while loading shared libraries: libffmpeg.so: cannot open shared object file: No such file or directory

I ran (sudo apt satisfy ffmpeg) but nothing changed.

for more info I ran (whereis ffmpeg) and got:
ffmpeg: /usr/bin/ffmpeg /usr/share/ffmpeg /usr/share/man/man1/ffmpeg.1.gz

So I’m pretty sure the problem is related to ffmpeg.

Please help!

Installing ffmpeg via apt install won’t do anything because everything is contained within flatpak:

$ flatpak run --command=find md.obsidian.Obsidian /usr /app -name '*ffmpeg*'
/usr/bin/ffmpeg
/usr/lib/x86_64-linux-gnu/ffmpeg
/usr/share/ffmpeg
/app/libffmpeg.so

I don’t see anything indicative of /app/ffmpeg.so missing:

$ flatpak run md.obsidian.Obsidian 
Debug: Enabling Wayland backend
Deleting cache directory: /var/home/jstone/.var/app/md.obsidian.Obsidian/config/obsidian/GPUCache
Debug: Will run Obsidian with the following arguments: --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime
Debug: Additionally, user gave: 
[13:1012/095642.776325:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
2024-10-12 13:56:42 Loading main app package /app/resources/obsidian.asar
Updates disabled.
LaunchProcess: failed to execvp:
xdg-settings
[13:1012/095643.128658:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[13:1012/095643.128716:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory

Are there any plugins that depend on ffmpeg? What does flatpak info --show-permissions md.obsidian.Obsidian show?

I’ve never had any issue like this before (rarely use flatpaks) so I might be completely off track here, but maybe Flatseal could help? There is an option to allow access to system files, so if you do that and install ffmpeg through apt I think it could work