Installed on Debian 11 Bullseye opera-stable_80.0.4170.72. There is no chromium-codecs-ffmpeg-extra package and the video is not played on Facebook and Twitter.
# Launching the terminal
# Installing the archiver
sudo apt install zstd
# Creating a folder
mkdir ${HOME}/ffmpeg-codecs && cd ffmpeg-codecs
# Downloading the package
wget https://archlinux.thaller.ws/community/os/x86_64/opera-ffmpeg-codecs-94.0.4606.81-1-x86_64.pkg.tar.zst
# I'm looking at the location of the file in the package
tar -I zstd -tf opera-ffmpeg-codecs-94.0.4606.81-1-x86_64.pkg.tar.zst | grep libffmpeg.so
command output: usr/lib/opera/lib_extra/libffmpeg.so
# For unpacking libffmpeg.so I use Midnight Commander
# Checking dependencies
ldd libffmpeg.so
# making a backup copy
sudo cp /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so.bak
# creating a soft link
sudo ln -sf ${HOME}/ffmpeg-codecs/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so
Now the video is playing!
My question: How to unpack only the file libffmpeg.so without folders and subfolders from the terminal with the command:
tar -I zstd -xvf opera-ffmpeg-codecs-94.0.4606.81-1-x86_64.pkg.tar.zst