Vivaldi

  • Browser
  • Mail
  • News
  • Community
  • About

Navigation

    • Browser
    • Mail
    • News
    • Community
    • About
    • Register
    • Login
    • Search
    HomeBlogsForumHelpThemes
    • Home
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Desktop
    3. Vivaldi for Linux
    4. Videos do not play on Gentoo Linux

    Videos do not play on Gentoo Linux

    Vivaldi for Linux
    5
    14
    270
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 0
      0001 last edited by 0001

      Thought developers had solved this long ago.

      Vivaldi 5.3.2679.68
      Gentoo
      ffmpeg 4.4.2 (built with chromium use flag): "Builds libffmpeg.so to enable media playback in Chromium-based browsers like Opera and Vivaldi."

      Went to:

      https://help.vivaldi.com/desktop/media/html5-proprietary-media-on-linux/

      Restarted Vivaldi several times. Video never plays with no indication of the problem.

      Every time I start Vivaldi (from a terminal), i get:

      "Proprietary media' support is not installed. Attempting to fix this for the next restart."

      I also see a popup that says:

      "Media support

      Vivaldi lacks a suitable component to play HTML5 'proprietary' media (H.264/AAC)"

      Vivaldi gives no other indication of why it can't play video.

      Aaron npro DoctorG 3 Replies Last reply Reply Quote 0
      • Aaron
        Aaron Vivaldi Translator @0001 last edited by

        @0001
        Try run /opt/vivaldi/update-ffmpeg ?

        Vivaldi-snapshot (Desktop & Android) ...... Arch Linux, LXQt ...... Beijing, China. ...... δΈ­ζ–‡, English
        /data/data/com.vivaldi.browser.snapshot/app_chrome/Default
        $HOME/.config/vivaldi-snapshot/Default
        vivaldi --proxy-server="socks5://127.0.0.1:1080"

        0 1 Reply Last reply Reply Quote 0
        • 0
          0001 @Aaron last edited by

          @Aaron said in Videos do not play on Linux:

          @0001
          Try run /opt/vivaldi/update-ffmpeg ?

          Hmmmm. Looks like Gentoo removes that when installing Vivaldi:

          # Remove scripts that will most likely break things.
          rm -vf ${VIVALDI_HOME}/update-{ffmpeg,widevine} || die
          

          Can you post the script (if it doesn't take up too much space), and I will take a look at what it tries to do?

          Aaron 1 Reply Last reply Reply Quote 0
          • Aaron
            Aaron Vivaldi Translator @0001 last edited by Aaron

            @0001 The script is 6KB+. It seems......

            I'm running snapshot 5.4.2741.3
            It's update-ffmpeg isn't same size with stable 5.3.2679.68

            The script is 6KB+. It seems too big to post. and C-C/C-V may cause some trouble. you'd better to download the org-pkg from offical-site.
            BTW, the last offical-Build is 5.3.2679.70-1 (the 8th update). It's recommanded.You're going to reinstall anyway, aren't you?

            You can simply extract the rpm/deb, and pick up the update-ffmpeg script.

            Vivaldi-snapshot (Desktop & Android) ...... Arch Linux, LXQt ...... Beijing, China. ...... δΈ­ζ–‡, English
            /data/data/com.vivaldi.browser.snapshot/app_chrome/Default
            $HOME/.config/vivaldi-snapshot/Default
            vivaldi --proxy-server="socks5://127.0.0.1:1080"

            1 Reply Last reply Reply Quote 0
            • guigirl
              guigirl last edited by

              OMZ, one of the most binary users i've seen here for a while! 😜

              531f31cc-1bdf-4017-b2fd-745b560b6141-image.png

              @0001 said in Videos do not play on Linux:

              Vivaldi 5.3.2679.68

              Is that an old Snapshot, or a more recent Stable? If Stable, then @Aaron's advice would have worked, in a non-Gentoo distro anyway. If Snappie, then try:
              /opt/vivaldi-snapshot/update-ffmpeg --user

              @0001 said in Videos do not play on Linux:

              Thought developers had solved this long ago.

              There's not much that V Devs can do, if perversely Gentoo Devs do dumb stuff like this:

              @0001 said in Videos do not play on Linux:

              Looks like Gentoo removes that when installing Vivaldi

              πŸ™„ πŸ€¦β™€

              0 1 Reply Last reply Reply Quote 1
              • 0
                0001 @guigirl last edited by

                @guigirl said in Videos do not play on Linux:

                There's not much that V Devs can do, if perversely Gentoo Devs do dumb stuff like this:

                I can't claim that the Gentoo developers made the optimal choice as to how to "fix" things (and apparently they didn't, as proprietary video support doesn't work), but they clearly had reasons to prevent users from running that script:

                https://bugs.gentoo.org/show_bug.cgi?id=753973

                0 1 Reply Last reply Reply Quote 0
                • npro
                  npro @0001 last edited by

                  @0001 you may correct your title and put a "Gentoo" before Linux.

                  alt text

                  1 Reply Last reply Reply Quote 1
                  • DoctorG
                    DoctorG - Ambassador - @0001 last edited by DoctorG

                    @0001 Vivaldi 5.3.2679.70 Stable has no green at https://packages.gentoo.org/packages/www-client/vivaldi
                    Seems Vivaldi on Gentoo package maintainer broke something.

                    Difference in official Vivaldi changelogs:

                    • 5.3.2679.68
                      [Chromium] Upgraded to 102.0.5005.149
                      [Linux][Media] Update URLs for proprietary codecs to use 103.0.5060.53-107578
                    • 5.3.2679.70
                      [Chromium] Upgraded to 102.0.5005.167

                    I guess Gentoo used wrong chromium libffmpeg version.

                    //edit:
                    https://gitweb.gentoo.org/repo/gentoo.git/tree/www-client/vivaldi/vivaldi-5.3.2679.70.ebuild
                    Shows CHROMIUM_VERSION="102"

                    ♀ . Team Soprano (Vivaldi Volunteers) . Bug Hunter
                    πŸ³οΈβ€πŸŒˆ GwenDragon in duty - lang: DE, EN
                    Windows 11 Pro Β· Debian Stable KDE X11 Β· Mint LTS XFCE Β· Ubuntu LTS Wayland

                    0 1 Reply Last reply Reply Quote 3
                    • guigirl
                      guigirl last edited by

                      When penguins go bad...

                      DoctorG 1 Reply Last reply Reply Quote 1
                      • DoctorG
                        DoctorG - Ambassador - @guigirl last edited by

                        @guigirl Yupp.

                        ♀ . Team Soprano (Vivaldi Volunteers) . Bug Hunter
                        πŸ³οΈβ€πŸŒˆ GwenDragon in duty - lang: DE, EN
                        Windows 11 Pro Β· Debian Stable KDE X11 Β· Mint LTS XFCE Β· Ubuntu LTS Wayland

                        1 Reply Last reply Reply Quote 1
                        • 0
                          0001 @0001 last edited by

                          @0001 said in Videos do not play on Linux:

                          @guigirl said in Videos do not play on Linux:

                          There's not much that V Devs can do, if perversely Gentoo Devs do dumb stuff like this:

                          I can't claim that the Gentoo developers made the optimal choice as to how to "fix" things (and apparently they didn't, as proprietary video support doesn't work), but they clearly had reasons to prevent users from running that script:

                          https://bugs.gentoo.org/show_bug.cgi?id=753973

                          Okay, I did that. πŸ™‚

                          1 Reply Last reply Reply Quote 0
                          • 0
                            0001 @DoctorG last edited by

                            @DoctorG

                            Rather than relying on scripts (that users will likely try to run as root anyway), why can't the help pages include something as direct and simple as "if all else fails, download file foo, and put it in directory bar" (such a brief message could even appear in the browser itself)?

                            npro 1 Reply Last reply Reply Quote 0
                            • npro
                              npro @0001 last edited by npro

                              @0001 Anyway... did you try to run the script nevertheless?

                              ./update-ffmpeg --user
                              

                              The script tries to cover all possible non-working cases and just automates (and additionally maintains ofc) what you can do manually by examining it. You can look at the variables and insert their values directly if you still are in denial.

                              For example (to keep things smaller without sha checksums):

                              Check if file exists:

                              wget --spider https://launchpadlibrarian.net/607589056/chromium-codecs-ffmpeg-extra_103.0.5060.53-0ubuntu0.18.04.1_amd64.deb
                              

                              Create the directory

                              mkdir -p ~/.local/lib/vivaldi/media-codecs-407c13b7c319c6c02b8776160002d5ac30b53fa3aaedcf288e55bd75804fcc11
                              

                              Download, extract and save the codec inside the directory:

                              wget -O- https://launchpadlibrarian.net/607589056/chromium-codecs-ffmpeg-extra_103.0.5060.53-0ubuntu0.18.04.1_amd64.deb | tail -c+1157 | xz -d | tar fOx - ./usr/lib/chromium-browser/libffmpeg.so > ~/.local/lib/vivaldi/media-codecs-407c13b7c319c6c02b8776160002d5ac30b53fa3aaedcf288e55bd75804fcc11/libffmpeg.so
                              

                              Now normally the binary is being run through a wrapper which preloads the codec, but I don't know what else the Gentoo maintainer may have altered in the installation itself so you may ask there or preload the codec yourself.

                              alt text

                              1 Reply Last reply Reply Quote 3
                              • DoctorG
                                DoctorG - Ambassador - last edited by DoctorG

                                Not a Vivaldi bug! That was told by a Vivaldi dev: Gentoo maintainer removed the updaters and broke the package!
                                https://gitweb.gentoo.org/repo/gentoo.git/tree/www-client/vivaldi/vivaldi-5.3.2679.70.ebuild#n163

                                ♀ . Team Soprano (Vivaldi Volunteers) . Bug Hunter
                                πŸ³οΈβ€πŸŒˆ GwenDragon in duty - lang: DE, EN
                                Windows 11 Pro Β· Debian Stable KDE X11 Β· Mint LTS XFCE Β· Ubuntu LTS Wayland

                                1 Reply Last reply Reply Quote 1
                                Loading More Posts
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes
                                • Reply as topic
                                Log in to reply
                                • 1 / 1
                                • First post
                                  Last post

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

                                Copyright © Vivaldi Technologies™ β€” All rights reserved. Privacy Policy | Code of conduct | Terms of use | Vivaldi Status