Widevine and Opera
-
stefanw1337 last edited by stefanw1337
Paths
Install: /snap/opera/76/usr/lib/x86_64-linux-gnu/opera (also I tried to write and copy here, read-only, even with chmod 777 and sudo nano)Profile: /home/user/snap/opera/76/.config/opera
Cache: /home/user/snap/opera/common/.cache/opera
$ locate /usr/*/opera
/usr/share/bash-completion/completions/opera$ locate /opt/*/opera
$ whereis opera
opera: /usr/lib/x86_64-linux-gnu/opera /snap/bin/opera -
fonm last edited by fonm
@stefanw1337 said in Widevine and Opera:
widevind_config.json
widevind_config.json?
# whereis opera opera: /usr/bin/opera /usr/lib/opera /etc/opera # ls -lR /usr/lib/opera | grep widevine_config.json -rw-r--r-- 1 root root 25 мая 19 21:58 widevine_config.json # locate /usr/lib/opera | grep widevine_config.json /usr/lib/opera/resources/widevine_config.json # cat /usr/lib/opera/resources/widevine_config.json [ "/opt/google/chrome/WidevineCdm", "/opt/google/chrome-beta/WidevineCdm", "/opt/google/chrome-unstable/WidevineCdm" ]
-
stefanw1337 last edited by
$ ls -lR /usr/lib/opera | grep widevine_config.json
ls: cannot access '/usr/lib/opera': No such file or directory$ locate /usr/lib/opera | grep widevine_config.json
$ find . widevine_config.json
find: ‘widevine_config.json’: No such file or directory -
burnout426 Volunteer last edited by
Get the non-snap version of Opera and then see https://www.reddit.com/r/operabrowser/wiki/opera/linux_widevine_config.
-
stefanw1337 last edited by
@fonm Exactly the same answers. Any more ideas? I need to try the non-snap version I suppose.
-
stefanw1337 last edited by
@burnout426 I mean, even after installing snap:
$ sudo ls -lR /usr/lib/opera | grep widevine_config.json
ls: cannot access '/usr/lib/opera': No such file or directory$ sudo locate /usr/lib/opera | grep widevine_config.json
$ sudo find . widevine_config.json | grep widevine_config.json
find: ‘widevine_config.json’: No such file or directory -
leocg Moderator Volunteer last edited by
@stefanw1337 I guess that is exactly because your are using the snap version. Did you try the regular version?
-
stefanw1337 last edited by
@leocg Snap is the regular version, for the everyday user? At least, that's what the store installed for me. The other store was upgraded at some point to the "Snap Store".
I haven't been testing that much, as you can see the folders are the same as before. But when I went to check for DRM, it said it had widevide, so I suppose it's fine.
-
leocg Moderator Volunteer last edited by
@stefanw1337 Snap is one of the ways to install Opera on Linux. There are also the Deb and RPM packages.
-
stefanw1337 last edited by stefanw1337
@leocg I know, which is what I did to install the non-snap version(dpkg). But shouldn't the easier option have the most mainstream options and choices for the "normal" more casual user? You know, those new to linux?
Edit: seems more software is weird on snap. For instance Spotify.
-
burnout426 Volunteer last edited by burnout426
To get the snap version of Opera to use proprietary codecs, I guess you need to do something special. I don't know the details, but https://www.google.com/search?q=chromium+ffmpeg+codecs+extra+snap+package might help. The snap-provided codecs must be built for the version of Chromium Opera uses just like with the non-snap version. Then, for Widevine, you might have to do something similar. https://www.google.com/search?q=chromium+widevine+snap might help.
-
A Former User last edited by
@stefanw1337 To fix this on new Opera installations just copy lib: libffmpeg.so to the Opera directory.Terminal command: sudo cp /usr/lib/chromium-browser/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/
-
fonm last edited by fonm
archlinux
opera --version 68.0.3618.165 locate /usr/lib/opera|grep -i ffmpeg /usr/lib/opera/libffmpeg.so /usr/lib/opera/lib_extra/libffmpeg.so /usr/lib/opera/resources/ffmpeg_preload_config.json file /usr/lib/opera/libffmpeg.so /usr/lib/opera/libffmpeg.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), statically linked, BuildID[sha1]=ce701d11f0356081f48723c46e39da4607b6b87b, stripped file /usr/lib/opera/lib_extra/libffmpeg.so /usr/lib/opera/lib_extra/libffmpeg.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), statically linked, not stripped du -h /usr/lib/opera/libffmpeg.so 1,7M /usr/lib/opera/libffmpeg.so du -h /usr/lib/opera/lib_extra/libffmpeg.so 4,3M /usr/lib/opera/lib_extra/libffmpeg.so
-
stefanw1337 last edited by
@fonm I mean, good for you?
$ locate /usr/lib/opera|grep -i ffmpeg
And for the sake of sudo:
$ sudo locate /usr/lib/opera|grep -i ffmpegNothing. This with both snap and non-snap installed.
-
stefanw1337 last edited by stefanw1337
@kalebesouza said in Widevine and Opera:
@stefanw1337 To fix this on new Opera installations just copy lib: libffmpeg.so to the Opera directory.Terminal command: sudo cp /usr/lib/chromium-browser/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/
$ sudo cp /usr/lib/chromium-browser/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/
cp: cannot stat '/usr/lib/chromium-browser/libffmpeg.so': No such file or directory$ find . libffmpeg.so | grep libffmpeg.so
find: ‘libffmpeg.so’: No such file or directory -
leocg Moderator Volunteer last edited by
@stefanw1337 And did you check if the installation directory is that one?
-
A Former User last edited by
@stefanw1337 Make sure you installed the package: chromium-codecs-ffmpeg-extra. Usually this package is installed together with the ubuntu-restricted-extras package