I am sadly used to it already, made it work via manual downloads and replacing the /usr/lib/x86_64-linux-gnu/opera/libffmeg.so in any form.
Used to do it via snap on fedora, this time i installed mint and just downloaded the zip from github.
You can script it or just do not upgrade your browser automatically and plan it. It basically are just 3 steps to do:
- update your browser, test if media files still work
- download the ffmpeg
- replace the opera supplied file with a symlink or just the new file and restart your browser.
The browser is worth a bit of extra effort in my case, firefox and chrome variants just aint my piece of pie. I read somewhere that Opera could not include the media codec files because of licensing types but not sure how much of that is true.