The Videos Don't Play Topic
-
truden last edited by
@ilbert, sorry man.
I'm with Linux Mint 20 "Ulyana" - Cinnamon (64-bit) and use Opera only for testing my websites.
Elementary is attractive OS, especially if you come from macOS, but it is with many flaws. And about Opera, the best way to go is to abandon it and move to another browser (Chromium), which will push Opera developers to do their job. We must not work for them, they must work for us. -
wmomesso last edited by
@truden link download libffmpeg.so
https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/ -
ilbert last edited by leocg
@ilbert Solved!
I followed this guide with some adjustements:- download the last Google Chrome .deb file:
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
- extract it in the same folder:
dpkg -x google-chrome-stable_current_amd64.deb .
- go to the directory where the extracted WidevineCdm folder is located:
cd opt/google/chrome/
- find the directory where Opera looks for the WidevineCdm folder:
cat /usr/lib/x86_64-linux-gnu/opera/resources/widevine_config.json
In my case I got:
[ "/opt/google/chrome/WidevineCdm", "/opt/google/chrome-beta/WidevineCdm", "/opt/google/chrome-unstable/WidevineCdm" ]
so I had to put the extracted WidevineCdm folder in /opt/google/chrome/
- copy/move the extracted WidevineCdm folder in that directory:
sudo cp -r WidevineCdm/ /opt/google/chrome/
(if /opt/google/chrome/ does not exists, create it)
- make sure that folder is readable by everyone:
sudo chmod 755 /opt/google/chrome/WidevineCdm/
-
start/restart Opera
-
Enjoy your paid streaming services!
I think it's pretty much the same as this guide.
-
toine last edited by leocg
The reason why video is not playing (after a update) in Opera is due to the fact that the H264 codec is not supported (ie Opera does not pay money to the license owner of the proprietary H264 codec)
Use the opensource X264 codec which is you can download from the software manager tab in Ubuntu, Mint, etcetra
It worked for me with ubuntu and Mint. Otherwise this link could be helpfull: https://forums.opera.com/topic/34659/opera-linux-browser-h-264-support-through-x264-open-source-codec -
amgpuma last edited by
Hi, Im with Opera 72 (latest) on Deepin (debian stable) and can play videos on youtube but not on other site i.e. newspapers and or streaming sites. Is there anything I can do to solve it?Many thanks
-
amgpuma last edited by
@leocg Actually if i download https://packages.ubuntu.com/xenial-updates/amd64/chromium-codecs-ffmpeg-extra/download im not able to get any file, its just a deb package. what else could i try??
-
mmichel last edited by
@leocg: If Opera cannot provide a working libffmpeg/WidevineCdm library, can they at least provide some contrib scripts to update them more smoothly for Linux not-savvy users ?
And having a warning that we miss some chromium plugin or alternate download of Widevine library would be more useful that "Video is broken" message from the provider, IMO.
-
dperecky last edited by
@mmichel said in The Videos Don't Play Topic:
@leocg: If Opera cannot provide a working libffmpeg/WidevineCdm library, can they at least provide some contrib scripts to update them more smoothly for Linux not-savvy users ?
And having a warning that we miss some chromium plugin or alternate download of Widevine library would be more useful that "Video is broken" message from the provider, IMO.
You have when we right-mouse click on a link: Open Link in New Tab | Open Link in New Window | Open Link in Private Window.... etc...
Perhaps you can give your users an option such as: Open Link in Chromium ... for Linux users? No it's not the best solution... It's a workaround... but better than a big screen stating 'error'....
-
lu-menard last edited by
Hello
I get no success with playing videos from Tiktok, the front frame appears on the player with the icon "start" (a triangle) but this icon is inactive, click on it and nothing happens
Opera for Linux (LM) I get the same issue with Chrome and Brave
Only Firefox plays their videos -
lu-menard last edited by
@lu-menard After further assays I must tell that these videos play on Chrome
-
anouk last edited by
Where can I download codecs for H.264 for Opera on Linux Ubuntu 20.04?
I've Opera version 72.0.3815.186
Other information: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36 OPR/72.0.3815.186 -
annevance last edited by
Hello,
I am trying to solve this problem with my Ubuntu 20.04 LTS. all above suggestions don't work with me.
I have the chromium codecs installed and I can find them in my /snap/chromium.....etc folder. I also can find the opera installed libffmpeg.so in my /snap/opera/current/user/lib/x86_64-linux-gnu/opera folder.
problem is I cannot remove the not working file since it is read only. Therefore i also cannot link the new one to the old one.
I don't know how to solve this. (FYI I am a kind of newbie on this linux)
Please help. Thank you. -
A Former User last edited by
This is what worked for me in Debian 10:
[*]Install chromium-ffmpeg snap:
$ sudo apt update
$ sudo apt install snapd
$ sudo snap install core
$ sudo snap install chromium-ffmpeg[*]Keep the original libffmpeg.so file in /usr/lib/x86_64-linux-gnu/opera/ and create inside there a directory lib_extra:
$ sudo mkdir /usr/lib/x86_64-linux-gnu/opera/lib_extra[*]Create a symlink in the lib_extra directory of the snap latest version libffmpeg.so:
$ sudo ln -s /snap/chromium-ffmpeg/current/chromium-ffmpeg-98516/chromium-ffmpeg/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/lib_extra
Note: the latest version in my case is 98516, make sure to check yours inside directory /snap/chromium-ffmpeg/current/
After these steps Opera browser plays all kinds of videos i've come across.
Thanks to @mr-matt-eastwood and this post that provided the solution steps!