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?



  • @zzbb said in 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?

    ldd /path/to/vivaldi
    ldd /path/to/firefox

    In a Terminal then compare the locations of the libraries they are loading to see the differences perhaps vivaldi is looking in another location if so symbolically link the already present libraries FF is using into the directories vivaldi wants them in.



  • 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 said in HTML5 in Vivaldi/Opensuse:

    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

    Good to hear you should file a bug.

    https://vivaldi.com/bugreport/


  • Vivaldi Team

    @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


  • Vivaldi Team

    @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


  • Vivaldi Team

    Ok, problem is understood. Fix will be in the next snapshot and the 1.5 stable when it arrives.


  • Vivaldi Team

    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.1

    Log is: http://pasteall.org/115064


  • Vivaldi Team

    @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...


  • Vivaldi Team

    @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.


  • Vivaldi Team

    @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


  • Vivaldi Team

    @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


  • Vivaldi Translator

    @sophos02
    All Videos problem on Linux goes to this pinned thread now.
    https://forum.vivaldi.net/topic/12973/video-playback-problems-troubleshooting-and-solutions-on-linux

    Summary from that thread;
    If your Linux distro doesn't provide special libffmpeg.so built with proprietary parts. You can try either GwenDragon or ruario scripts to download latest libffmpeg.so conform to Cromium/Vivaldi version.


Log in to reply
 

Looks like your connection to Vivaldi Forum was lost, please wait while we try to reconnect.