HTML5 in Vivaldi/Opensuse
-
I can't get HTML5 videos working in Vivaldi on Opensuse 41; the H264 code shows to be missing. However, when I run them in Firefox everything is fine. Any comments?
-
Hi, as result of ldd hint from MacUser2525 I renamed libffmpeg.so in /opt/vivaldi(snapshot)/lib and copy libffmpeg.so from /usr/lib64/chromium to
/opt/vivaldi(snapshot)/lib.
Videos with h.264 codec working now.Thanks and cheers, mib
-
@mib2berlin what package does /usr/lib64/chromium/libffmpeg.so belong to? I'm not an opensuse user myself, could you provide a link?
-
@bjorgvin, it is part of Chromium > chromium-ffmpeg - The ffmpeg library for Google's opens source browser Chromium
Cheers, mib
-
@mib2berlin I don't find a package named https://software.opensuse.org/package/chromium-ffmpeg but I do find https://software.opensuse.org/package/chromium-ffmpegsumo but the description for that one says "Proprietary codecs (e.g. H.264) are not part of this library, but are provided in an external package".
-
@bjorgvin, oh I am sorry, this is part of the Packman repository.
They build special and proprietary packages.
Every Suse user add the repro right after every installation, without you cant watch movies and so forth.http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_Leap_42.1/Essentials/x86_64/
Cheers, mib
-
Hi, i posted this problem in the comments section of snapshot 1.5.655.3 but didn't file a bugreport (yet). It is a regression from a few weeks ago.
This is what i do after every vivaldi update (quick and easy):sudo ln -sfn /usr/lib64/chromium/libffmpeg.so /opt/vivaldi-snapshot/lib/
btw you can use either chromium-ffmpeg or chromium-beta-ffmpeg from packman repository
-
Ok, problem is understood. Fix will be in the next snapshot and the 1.5 stable when it arrives.
-
This should be fixed in the last snapshot and works here.
Would anyone in this thread like to confirm if it now works for them?
@sophos02 I saw your comment that you were continuing to have issues. Could you try the following for me.
Shutdown Vivaldi and issue the following command:
bash -x /opt/vivaldi-snapshot/vivaldi-snapshot > ~/vivaldi-startup-log.txt 2>&1
When Vivaldi starts, shut it down again. You should now find the file vivaldi-startup-log.txt in your home directory. Please send this to us or post its contents here.
-
Hi, is working for me with latest snapshot 1.5.658.21 on:
Opensuse Leap 42.1 x86_64
CPU Intel T4200 4 GB
GPU Intel GN 965
xf86-video-intel 2.99.917-6.1Log is: http://pasteall.org/115064
-
@mib2berlin Thanks that helps. Your log looks exactly as it should, with the chromium-ffmpeg-54.0.2840.XX-86.X.x86_64 package accurately detected and /usr/lib64/chromium/libffmpeg.so being used.
I'm very interested to see a log from @sophos02 to find out why it is still not working there. Also any follow up from @zzbb
-
Hi, here is my log. Thanks for your help.
PS: Now i copied /usr/lib64/chromium/libffmpeg.so to /opt/vivaldi-snapshot/lib/ and the log looks exactly the same, but H.264 works...
-
@sophos02 The log looks perfect ... clearly the correct lib is lined up to be used.
But I do have a theory. I suspect there is a file in your installation directory that should not be there. Possibly from you attempting to work around this in the past.
Uninstall vivaldi-snapshot then run this command:
find /opt/vivaldi-snapshot
It should return nothing but I suspect it will show something on your machine.
If there is one or more files present issue the following:
sudo rm -r /opt/vivaldi-snapshot
Then re-install vivaldi-snapshot. Now test HTML5 video again.
P.S. As another test I would also love to see the results from:
ls -l "$HOME/.local/lib/vivaldi"
-
@ruario You were probably right. This was returned after uninstallation of vivaldi:
find /opt/vivaldi-snapshot /opt/vivaldi-snapshot /opt/vivaldi-snapshot/libnss3.so.1d /opt/vivaldi-snapshot/libffmpeg.so /opt/vivaldi-snapshot/libplds4.so.0d /opt/vivaldi-snapshot/libnspr4.so.0d /opt/vivaldi-snapshot/libplc4.so.0d /opt/vivaldi-snapshot/libssl3.so.1d /opt/vivaldi-snapshot/libnssutil3.so.1d /opt/vivaldi-snapshot/libsmime3.so.1d
I removed everything and reinstalled vivaldi. It seems to work.
ls -l "$HOME/.local/lib/vivaldi" total 0 lrwxrwxrwx 1 owner group 32 Nov 14 19:10 libffmpeg.so -> /usr/lib64/chromium/libffmpeg.so
Thanks for your help.
-
@sophos02 said in HTML5 in Vivaldi/Opensuse:
/opt/vivaldi-snapshot/libffmpeg.so
That is the file that was causing you a problem. From your log you will notice that we set
LD_LIBRARY_PATH=/opt/vivaldi-snapshot:/home/mur/.local/lib/vivaldi:/opt/vivaldi-snapshot/lib
Thus we would have favoured
libffmpeg.so
in /opt/vivaldi-snapshot over the same lib in /home/mur/.local/lib/vivaldi.With /opt/vivaldi-snapshot/libffmpeg.so now removed, we are using /home/mur/.local/lib/vivaldi/libffmpeg.so which is a symlink pointing to /usr/lib64/chromium/libffmpeg.so.
@sophos02 said in HTML5 in Vivaldi/Opensuse:
Thanks for your help.
You are most welcome. Thanks for your help in getting to the bottom of it
-
@sophos02 one more thing. Our fix only supports using a suitable file provided by the chromium-ffmpeg package. If
libffmpeg.so
is provided by chromium-beta-ffmpeg we will ignore it.The reason for this is that
libffmpeg.so
is not version sonamed. A file provided by chromium-beta-ffmpeg is likely to be from a more recent Chromium and could cause us an issue, perhaps even a crasher. Thus we cannot risk using it. It might work but it is generally not a good idea. -
Hi,
it's me again and i came across another problem with openSUSE media support.
Apparentely chromium 55 doesn't need the package chromium-ffmpeg anymore and thus it was removed from the Packman repository for openSUSE Leap and Tumbleweed (see this mailing list).
Long story short vivaldi H.264 doesn't work anymore for me and i wanted to check if other Leap or Tumbleweed users have the same problem.
Cheers
-
Hi, I would go for the latest snapshot as Linux media problems are fixed since 1.7.705.3.
https://vivaldi.net/en-US/teamblog/200-ime-and-linux-media-fixes-vivaldi-browser-snapshot-1-7-705-3
You can use stable and snapshots in parallel.
I had never problems with snapshots, stability and so forth.
I am on Leap 42.1/2 on different systems.Cheers, mib
-
Then get a copy of mine (64 Bit) > https://www.dropbox.com/s/o1pktldzewo3ngm/libffmpeg.so?dl=0
to test.
Copy to /opt/vivaldi/ or /opt/vivaldi-snapshotCheers
-
Hi, thanks for the replies.
I didn't want to write in the said Thread as i know i can get libffmpeg.so elsewhere and this is just Leap/Tumbleweed specific for now. Don't want to make pinned Threads unnecessarily unclear.I do know about the provided scripts and libffmpeg.so. It isn't provided for Leap/Tumbleweed anymore as Chromium does not use it as of version 55 (?).
Maybe in the future there is a way for Vivaldi to also just use ffmpeg as chromium is said to do now? Does anyone know more about it? I just read it in the mailing list that i linked, which refers to a recent chromium changelog...
@mib2berlin thanks, i'll be using this for now.