How to fix Opera H.264 codecs (video not playing) on Ubuntu 24.04
This Gist script by Marco Carletti automatically fixes the problem that standard (non-Snap) installs of Opera fail to play H.264 videos on Ubuntu 24.04.
bash
wget https://gist.githubusercontent.com/mcarletti/7989d1c04199dba60a01adf8ac54fe31/raw/8cbdcd7dacf3866e0b2c8d07e3d79d98fd6c8f40/opera_x264_support.sh
bash opera_x264_support.sh
Wait for it to download and enter your sudo
password when prompted for it. Example output
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 2125k 100 2125k 0 0 1102k 0 0:00:01 0:00:01 --:--:-- 2697k
Archive: 0.93.0-linux-x64.zip
inflating: libffmpeg.so
[sudo] Passwort für uli