[Compilation] Discussions on Problems Playing Videos on Linux
-
Cappy984 last edited by
I actually moved from Zorin to Ubuntu and i still got the same error and i installed Opera from snap store and it started to work
-
gidici61 last edited by
Still the old problem: Opera for Linux cannot play h264 videos. All other web browsers do this (they have the h264/x264 codec). Please don't tell me about missing rights. How many years do I have to wait?
I use Debian 11.9
I have Opera 110.0.5130.39
-
gidici61 last edited by gidici61
@leocg Thank you for your help. I got Opera working again by executing (as root) "fix-opera.sh" downloaded from https://github.com/Ld-Hagen/fix-opera-linux-ffmpeg-widevine/blob/main/scripts/fix-opera.sh
Immediately after, I ran the installation script from "https://github.com/Ld-Hagen/fix-opera-linux-ffmpeg-widevine/tree/main". I just had to edit the scripts to remove "sudo" (because I don't have the "sudo" command installed on my system) and the installation was successful. -
Likitthakul last edited by
@gidici61 said in opera for linux cannot play h264 videos:
@leocg Thank you for your help. I got Opera working again by executing (as root) "fix-opera.sh" downloaded from https://github.com/Ld-Hagen/fix-opera-linux-ffmpeg-widevine/blob/main/scripts/fix-opera.sh
Immediately after, I ran the installation script from "https://github.com/Ld-Hagen/fix-opera-linux-ffmpeg-widevine/tree/main". I just had to edit the scripts to remove "sudo" (because I don't have the "sudo" command installed on my system) and the installation was successful.@gidici61 said in opera for linux cannot play h264 videos:
@leocg Thank you for your help. I got Opera working again by executing (as root) "fix-opera.sh" downloaded from https://github.com/Ld-Hagen/fix-opera-linux-ffmpeg-widevine/blob/main/scripts/fix-opera.sh
Immediately after, I ran the installation script from "https://github.com/Ld-Hagen/fix-opera-linux-ffmpeg-widevine/tree/main". I just had to edit the scripts to remove "sudo" (because I don't have the "sudo" command installed on my system) and the installation was successful.Very good
-
NomTigel last edited by
This error re-occurs any time I update Opera on my debian system. Whenever there is an update available via apt-get, the error is seen again.
This fixed it for me:
Manually copy:
cp libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/This ffmpeg lib is taken from chrome, I guess.
Not sure why Opera cannot include an improved version of their own libffmpeg.
-
leocg Moderator Volunteer last edited by
@nomtigel Check https://forums.opera.com/post/150324, mentioned above.
-
NomTigel last edited by
@leocg
Ah thx - I already suspected that there could be some kind of tricky law thing involved.So, to make sure I was not seeing a Fata Morgana when using another browser I've tried (again) with Falkon, which I installed via apt-get. Browsed to a video in YT which I know requires this extra codec initially not present with Opera at this time, and wouldn't you know, it worked.
So, apparently there seems be a codec available that installs within debian regulations (I have not used Chrome, but I have used MS Edge, which, yes, works in linux, too) and it might be possible for Opera to also utilize it.
-
NomTigel last edited by
@swk058 said in opera for linux cannot play h264 videos:
@nomtigel My most addons came from chromium ext. Plz goto Linux (.org) for best Q&A
I have also a debian version: NP's Opera blockers or codecs. Download K-Lite FullHello,
thanks for pointing me (and us) at this. But I have to ask:- "NP's Opera blockers or codecs" vs. "Download K-Lite Full: are those two different things mentioned?
- K-Lite-Full appears to be a Windows.EXE only archive, nothing for linux?
Thanks.
-
sorenfeodor last edited by
The newest version (111?) of opera stable requires a newer version of libffmpeg.so (corresponding to chromium 125), a version which I cannot find - I've looked all the usual places. So be careful about updating
-
exoplanet last edited by
@sorenfeodor yes, a new version and a new video problem for opera, such that no other browser has.
-
styen last edited by styen
@valdineidossantos https://github.com/Ld-Hagen/fix-opera-linux-ffmpeg-widevine
But in future, it would be a good idea not to update to a new major version immediately after release. -
valdineidossantos last edited by
@styen Thank you for your answer.
I installed this script before, and it runs every time Opera is updated. Why is this problem not solved when it runs? When I reinstalled it, the issue was solved.
-
alexs last edited by alexs
Open http://packages.linuxmint.com/list.php?release=wilma#upstream search (Crtl+L)
chromium
and download the *.deb packageamd64
.[1]Unpack this and copy the
libffmpeg.so
from unpack folder/chromium/usr/lib/chromium/
to/usr/lib/x86_64-linux-gnu/opera/lib_extra/libffmpeg.so
Restart Opera.
[1] or http://packages.linuxmint.com/pool/upstream/c/chromium/ and download the lastedwilma_amd64.deb
Chromium version.Tested on Debian/unstable
Opera version: 111.0.5168.25
Chromium version: 125.0.6422.143 -
styen last edited by
@valdineidossantos there is time lag between the publish of new opera release and corresponding ffmpeg version