Vivaldi

  • Browser
  • Mail
  • News
  • Community
  • About

Navigation

    • Browser
    • Mail
    • News
    • Community
    • About
    • Register
    • Login
    • Search
    CommunityForumHelpThemesWebmail
    • Home
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    1. Home
    2. Support & Troubleshooting
    3. Vivaldi for Linux
    4. Video playback problems, troubleshooting and solutions on Linux.

    Video playback problems, troubleshooting and solutions on Linux.

    Vivaldi for Linux
    linux video codecs youtube
    50
    176
    120455
    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.
    • christian
      christian Vivaldi Team last edited by Ruarí

      Hi,


      [Mod Edit]: Read the Vivaldi help page on Proprietary media in Linux first


      Linux is not like those other OSs where it's all for one and one for all so as we all know video playback can at times cause trouble on one distro or the other. Sometimes on all of them. That affects Vivaldi also of course, so @Gwen-Dragon suggested a pinned thread for these problems, and this is it. Take it away folks! 🙂

      //Christian - Vivaldi Technologies

      leslien 1 Reply Last reply Reply Quote 3
      • TbGbe
        TbGbe last edited by

        Some useful links:

        Flash Player https://help.vivaldi.com/article/install-flash-player-for-vivaldi/

        Alternative FFMpeg library for H.264, MP3 and AAC support ln Vivaldi for Linux
        https://gist.github.com/ruario/bec42d156d30affef655

        Codecs (libffmpeg) install script:
        https://gwendragon.de/repo/linux/vivaldi/vivaldi-libffmpeg-install.sh

        Linux Pop!_OS: Stable Vivaldi 5.2.2623.46 and Snapshot Vivaldi 5.3.2669.3

        1 Reply Last reply Reply Quote 1
        • christian
          christian Vivaldi Team last edited by

          Hi,

          Our Linux wizard @ruario has done it again! He has released a major update to his guide to H.264/MP3/AAC support in Vivaldi for Linux. It now provides a script to automate setup. Go here:

          https://gist.github.com/ruario/bec42d156d30affef655

          //Christian - Vivaldi Technologies

          1 Reply Last reply Reply Quote 2
          • ugly
            ugly last edited by

            I'm on Linux Mint 18.1, and I ran the Ubuntu script provided in the guide.

            I got:
            chromium-codecs-ffmpeg-extra is already the newest version (55.0.2883.87-0ubuntu0.16.04.1263)

            The test page still failed for H.264.

            I did recently upgrade from Mint 18 to 18.1. But I think I might have been having issues before that. I know I had it working earlier. Not sure when it stopped.

            I had to manually copy libffmpeg.so (2.4MB) from

            /usr/lib/chromium-browser

            to

            /opt/vivaldi-snapshot/

            and it works now.

            I did have a copy of libffmpeg.so with a file size of 1.3MB in
            /opt/vivaldi-snapshot/lib

            Linux Mint 20.2 Cinnamon

            Ruarí zsolt.futo 2 Replies Last reply Reply Quote 0
            • Panino
              Panino last edited by

              Until 2 snapshots agora everything worked...

              I tried every every solution here, executing that script from gwendragon finally updated libfdmpeg.so (from 1.4mb to 3.2mb) and MSE & H.264 videos started to work again, but not VP8 and MSE & VP9.
              I give up.

              Ruarí 1 Reply Last reply Reply Quote 0
              • Ruarí
                Ruarí Vivaldi Team @ugly last edited by

                @ugly said in Video playback problems, troubleshooting and solutions on Linux.:

                I had to manually copy libffmpeg.so (2.4MB) from

                /usr/lib/chromium-browser

                to

                /opt/vivaldi-snapshot/

                This is why you continue to have problems. By copying the libffmpeg.so into the Vivaldi folder you are preventing the system from working automatically.

                You probably had an old libffmpeg.so there, where you have done this before.

                Uninstall all copies of vivaldi. Look for /opt/vivaldi-snapshot/libffmpeg.so and /opt/vivaldi/libffmpeg.so and if present delete them. Then reinstall vivaldi. From now on the automatic system where the correct libe is found from the chromium-codecs-ffmpeg-extra will just work.

                ugly 1 Reply Last reply Reply Quote 1
                • Ruarí
                  Ruarí Vivaldi Team @Panino last edited by

                  @Panino uninstall any copies of vivaldi and after install issue:

                  sudo rm -fr /opt/vivaldi* 
                  

                  Note: uninstalling Vivaldi and removing the vivaldi opt directories will not delete your preferences and settings

                  If you are on Ubuntu issue

                  sudo apt update
                  sudo apt install chromium-codecs-ffmpeg-extra
                  

                  If you use any other distro, re-read the instructions on this gist.

                  Reinstall Vivaldi.

                  You should now have working h264 videos

                  1 Reply Last reply Reply Quote 2
                  • msbentley
                    msbentley last edited by

                    I've also just hit this problem after upgrading Vivaldi - previously everything, including h264, worked fine. Now it has stopped working - I'm on version 1.6.689.40 running on ubuntu 16.10 x64. chromium-codecs-ffmpeg-extra was and is still installed. I tried re-installing Vivaldi, but still hit the same problem.

                    Please let me know if I can provide additional diagnostics!

                    Ruarí 1 Reply Last reply Reply Quote 0
                    • zsolt.futo
                      zsolt.futo @ugly last edited by

                      @ugly Thank You , I had the same issue and Your suggestion/solution worked for me!

                      Ruarí 1 Reply Last reply Reply Quote 0
                      • Ruarí
                        Ruarí Vivaldi Team @msbentley last edited by

                        @msbentley said in Video playback problems, troubleshooting and solutions on Linux.:

                        Please let me know if I can provide additional diagnostics!

                        What version of chromium-codecs-ffmpeg-extra do you have installed?
                        What is the result of this command?

                        find /opt/vivaldi* -name 'libffmpeg.so'
                        
                        msbentley 1 Reply Last reply Reply Quote 0
                        • Ruarí
                          Ruarí Vivaldi Team @zsolt.futo last edited by

                          @zsolt.futo said in Video playback problems, troubleshooting and solutions on Linux.:

                          @ugly Thank You , I had the same issue and Your suggestion/solution worked for me!

                          It is not a good solution as it will likely cause you issues in the future unless you keep doing this for every upgrade. Instead I suggest you remove the lib you copied. Then start the browser as follows:

                          bash -x /opt/vivaldi/vivaldi > ~/Documents/vivaldi-startup-log.txt
                          

                          When the browser has finished starting, immediately shut it down. You will find the file vivaldi-startup-log.txt in your Documents directory. Post its contents here.

                          1 Reply Last reply Reply Quote 0
                          • ugly
                            ugly @Ruarí last edited by ugly

                            @ruario said in Video playback problems, troubleshooting and solutions on Linux.:

                            @ugly said in Video playback problems, troubleshooting and solutions on Linux.:

                            I had to manually copy libffmpeg.so (2.4MB) from

                            /usr/lib/chromium-browser

                            to

                            /opt/vivaldi-snapshot/

                            This is why you continue to have problems. By copying the libffmpeg.so into the Vivaldi folder you are preventing the system from working automatically.

                            You probably had an old libffmpeg.so there, where you have done this before.

                            Uninstall all copies of vivaldi. Look for /opt/vivaldi-snapshot/libffmpeg.so and /opt/vivaldi/libffmpeg.so and if present delete them. Then reinstall vivaldi. From now on the automatic system where the correct libe is found from the chromium-codecs-ffmpeg-extra will just work.

                            I don't remember copying the libffmpeg.so file in there. I'm not saying I didn't, but I don't think I would have even know where to look for everything to do it. Unless maybe I looked at your portable script to figure it out. But I don't think I would have, since H.264 was working at one point.

                            Even so, this does not seem to work for me.

                            Just to be thorough, these are the steps I tried:

                            • Uninstalled vivaldi-snapshot from the software manager
                            • Checked the /opt/vivaldi-snapshot folder and there was a leftover libffmpeg.so file.
                            • sudo rm -fr /opt/vivaldi*
                            • Checked for /opt/vivaldi-snapshot and it was gone.
                            • sudo apt update
                              sudo apt install chromium-codecs-ffmpeg-extra
                              Got the message that it was up to date.
                            • Installed the latest 64-bit snapshot from the .deb file I downloaded earlier.
                            • Checked the test page: http://www.quirksmode.org/html5/tests/video.html
                              WebM and Ogg/Theora work, but not H.264/MP4
                            • /opt/vivaldi-snapshot has no libffmpeg.so file. /opt/vivaldi-snapshot/lib has the 1.3MB libffmpeg.so file.

                            I don't have the stable channel installed. But I do have a portable version from your script: https://gist.github.com/ruario/8f648cc3069d1a55d9c8

                            Also, I can't edit my previous post where I have my improper workaround. Maybe it should be edited so others don't try it and mess up their install.

                            Linux Mint 20.2 Cinnamon

                            1 Reply Last reply Reply Quote 0
                            • msbentley
                              msbentley @Ruarí last edited by

                              @ruario I have the following:

                              chromium-codecs-ffmpeg-extra: 55.0.2883.87-0ubuntu1.16.10.1330

                              libffmpeg.so is indeed where it should be:

                              /opt/vivaldi/lib/libffmpeg.so

                              But this does differ from the version in /usr/lib/chromium-browser/

                              If I make a symbolic link:

                              sudo ln -s /usr/lib/chromium-browser/libffmpeg.so /opt/vivaldi/lib/libffmpeg.so

                              and restart Vivaldi, everything works OK...

                              Ruarí 1 Reply Last reply Reply Quote 0
                              • Panino
                                Panino last edited by

                                Following the procedures here H264 started to work again, but what is happening after all? Why it stopped working in the first place? I'll need to repeat this every update?
                                This is wrong.
                                Was Linux a mistake after all? We can never have nice things.

                                Ruarí 1 Reply Last reply Reply Quote 0
                                • Ruarí
                                  Ruarí Vivaldi Team @Panino last edited by

                                  After investigating a little more it would seem that Ubuntu has pulled an OpenSUSE and moved the directory for libffmpeg.so.

                                  On Ubuntu 14.04, the latest chromium-codecs-ffmpeg-extra package is 53.0.2785.143 and it stores the libffmpeg.so in /usr/lib/chromium-browser/libs. However, on Ubuntu 16.04 and 16.10 the latest chromium-codecs-ffmpeg-extra package is 55.0.2883.87, which stores libffmpeg.so in /usr/lib/chromium-browser.

                                  Thus, our startup script does not find it as we only look in /usr/lib/chromium-browser/libs.

                                  We will need to update Vivaldi stable to look in both locations.

                                  1 Reply Last reply Reply Quote 0
                                  • Ruarí
                                    Ruarí Vivaldi Team @msbentley last edited by

                                    @msbentley It works but it is the wrong fix because /usr/lib/chromium-browser/libffmpeg.so will always be used even if it is the wrong version (this may happen in a future update). If it is ever the wrong version you will likely get crashes and/or other serious issues. So do not do this lightly.

                                    We have worked out the issue now. It is because the Ubuntu maintainers changed the location of this file. We have a fix we are testing internally and will try and get it out shortly.

                                    msbentley 1 Reply Last reply Reply Quote 0
                                    • msbentley
                                      msbentley @Ruarí last edited by

                                      @ruario understood - I've revert it once the changes have been rolled out!

                                      1 Reply Last reply Reply Quote 0
                                      • Ruarí
                                        Ruarí Vivaldi Team last edited by

                                        Ok, let's try this!

                                        https://vivaldi.net/en-US/teamblog/199-minor-linux-update-to-vivaldi-1-6-html5-mp4-h-264-aac-video-and-mp3-audio-fix

                                        1 Reply Last reply Reply Quote 0
                                        • Ruarí
                                          Ruarí Vivaldi Team last edited by

                                          Also updated the snapshot stream

                                          https://vivaldi.net/en-US/teamblog/200-ime-and-linux-media-fixes-vivaldi-browser-snapshot-1-7-705-3

                                          ugly 1 Reply Last reply Reply Quote 0
                                          • ugly
                                            ugly @Ruarí last edited by

                                            @ruario said in Video playback problems, troubleshooting and solutions on Linux.:

                                            Also updated the snapshot stream

                                            https://vivaldi.net/en-US/teamblog/200-ime-and-linux-media-fixes-vivaldi-browser-snapshot-1-7-705-3

                                            Works for me on Linux Mint 18.1 x64. Thanks for getting it sorted out so quickly before the holidays.

                                            I see you also updated your portable script. It's a bit different than the old version I had, but I got it running as a portable install with the temp profile. Video also seems to work for the portable version. Thanks again.

                                            Linux Mint 20.2 Cinnamon

                                            Ruarí 1 Reply Last reply Reply Quote 0
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            • Reply as topic
                                            Log in to reply
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 8
                                            • 9
                                            • 1 / 9
                                            • 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