• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    latest opera on linux and issues with playing videos

    Opera for Linux
    4
    20
    19985
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • marekmh
      marekmh last edited by

      Hello,

      I just installed both stable and developer versions on mint linux. I have working flash player, but there are some websites where video doesn't start on Opera, while it works on Firefox and Chrome/Chromium.

      Here are two exaple websites:

      http://www.biztok.pl/biznes/firmy-motoryzacyjne-traca-na-konflikcie-na-ukrainie_a21361

      http://sport.wp.pl/kat,1041241,title,Hit-internetu-Krychowiak-zaspiewal-hymn-Sevilli-To-masakra-jest,wid,17581333,wiadomosc.html - twitter video on bottom part of page.

      Does anyone know what could be a reason ?

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

        For me both websites forks prefect. How have you installed flash player?

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

          I have flash player installed via Pepper Flash Plugin package in Mint Linux.
          All flash based websites like youtube etc. work without problems.

          Your opera is playing that twitter video using flash player ? Maybe i have to install some additional codecs in my Linux ?

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

            Yeah, none of them are probably flash, because when I disabled the plug-in, it still worked.

            I have no idea why it doesn't work, if it requires extra codecs and in that case what these codecs are. They only thing I can say is try to run this command, restart Opera and see if that works:

            sudo apt-get install ubuntu-restricted-extras
            
            Reply Quote 0
              1 Reply Last reply
            • gustavwiz
              gustavwiz last edited by

              If that doesn't work, you can also try to install ffmpeg. I don't know if Linux Mint has the ffmpeg repository, you can try to apt get ffmpeg or add the repository yourself.

              Reply Quote 0
                1 Reply Last reply
              • marekmh
                marekmh last edited by admin

                After some research now I know that those videos are 'webm' types. They play well in all browsers except Opera.

                it seems like file library responsible for that format is in Opera's folder and it's names libffmpegsumo.so

                I have tried to replace that file with the one from chromium folder like in first post here:

                https://forums.opera.com/topic/4627/can-you-summarize-for-me-opera-25-under-linux-with-flash-and-html5-videos

                but that only craches Opera on opening that page.
                It seems like Opera has broken that lib and I don't know how to fix it.

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

                  I have more news. Following that tutorial I have installed another ffmpeg library:

                  http://www.webupd8.org/2014/12/how-to-get-flash-and-h264-to-work-in.html

                  now pera stable works fine, opera beta has sound but black screen, opera developer crash.
                  The point is that opera stable doesn't have sidebar, so I need beta or developer.

                  Any idea why they have might have issues here ?

                  Reply Quote 0
                    1 Reply Last reply
                  • avl
                    avl Opera last edited by

                    now pera stable works fine, opera beta has sound but black screen, opera developer crash.
                    The point is that opera stable doesn't have sidebar, so I need beta or developer.
                    Any idea why they have might have issues here ?

                    It's because Opera Beta and Developer are based on a newer version of ffmpeg, so you'd need to install that newer version to be able to use it. I believe it's ffmpeg 2.6.x you're looking for.

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

                      I can confirm that installing ffmpeg on Ubuntu 15.04 solves the problem. When I type ffmpeg -version, I get "ffmpeg version 2.5.7".

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

                        Yes, it looks like this is the source of problem. Version of ffmpeg library.
                        I have on my linux mint (most popular linux distro) version 2.4.3 and only latest ubuntu has never one.
                        There is no way right now to install next versions on mint.
                        Is there any chance to make next betas to be compatible with ffmpeg 2.4.3 or when do you plan to release stable (which I hope will remain to be compatible with 2.4.3) with sidebar support ?

                        thanks

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

                          But can't you add a repository that adds a newer version of ffmpeg? Try this guide.

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

                            I was trying woth another repos including that one. As far as I see they only update ffmpeg binary, but not other libraries like libavcodec that is needed by opera and in final it still doesn't work.

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

                              Okay. Anyway, the user shouldn't have to mess around with this. It would be much better if Opera included the right version of ffmpeg.

                              Is there any chance to make next betas to be compatible with ffmpeg 2.4.3 or when do you plan to release stable (which I hope will remain to be compatible with 2.4.3) with sidebar support ?

                              This could also be a good work-around, because right now it seems that one can't get support for for example H.264 in Linux Mint, and that is definitely not good.

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

                                Okay. Anyway, the user shouldn't have to mess around with this. It would be much better if Opera included the right version of ffmpeg.

                                Opera installs the right version of FFmpeg. They just don't include one with built-in h.264 support due to licensing issues. H.264 is patent encumbered and not cheap. Before anyone goes and suggests Opera should just buy a license, I am fairly certain that would not be financially viable. Hence we have this non-optimal situation.

                                If people are continuing to have problems, just build the correct version for yourself—this is the most reliable way to ensure you have a suitable version. It is not as hard or as scary as some people might think!

                                First install a build environment:

                                sudo apt-get install automake build-essential libtool pkg-config yasm zlib1g-dev 
                                

                                (For non-Debian dirstos you want to install the following packages: autoconf, automake, gcc, gcc-c++, libtool, make, nasm, pkg-config and the zlib development support files)

                                Fetch the source code for the version you want to install:

                                wget http://ffmpeg.org/releases/ffmpeg-2.6.3.tar.bz2
                                

                                Extract the source code:

                                tar xf ffmpeg-2.6.3.tar.bz2
                                

                                Build an ffmpeg suitable for Opera:

                                cd ffmpeg-2.6.3
                                ./configure --build-suffix='-opera' --enable-shared --disable-programs --disable-doc --disable-debug --disable-encoders --prefix=`pwd`/staging
                                make install
                                

                                Install the libs into Opera developer (adjust the path as needed for stable or beta):

                                cd staging
                                find lib -name '*.so*' | sudo cpio -pvd /usr/lib64/opera-developer
                                

                                (You will need to restart Opera before the new libs are detected)

                                You can also make a backup of these binary libs to allow you to install on your other machines:

                                find lib -name '*.so*' | tar fvacJ ffmpeg-2.6.3-binaries.tar.xz -T-
                                

                                To install from the backup archive:

                                sudo tar xf ffmpeg-2.6.3-binaries.tar.xz -C /usr/lib64/opera-developer
                                
                                Reply Quote 0
                                  1 Reply Last reply
                                • ruario
                                  ruario last edited by

                                  Is there any chance to make next betas to be compatible with ffmpeg 2.4.3 or when do you plan to release stable (which I hope will remain to be compatible with 2.4.3) with sidebar support ?

                                  This could also be a good work-around…

                                  Not really, as it is non-trivial to do and hence very unlikely (IMHO).

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

                                    Why it works on FF and not on Opera ?
                                    Do FF buy license for h.264 ?

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

                                      They use Openh264.

                                      Using the host OS to decode—for Linux that would be system FFmpeg libs—was considered to produce the best solution for the majority of Opera's desktop users, with the least effort. You should also keep in mind that all solutions are a compromise of some kind.

                                      Switching now to Openh264 would not be a simple undertaking and current solution does work well for many. For those of you encountering problems on Linux, I posted a work around above.

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

                                        I have updated my blog post.

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

                                          All paths in my post above that refer to /usr/lib64/opera-developer, should actually state /usr/lib/x86_64-linux-gnu/opera. If a moderator drops by and wants to edit and fix my posting, so much the better. In the mean time I have updated the blog post.

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

                                            I'm bored! Here is a script that automates building the required libs.

                                            Note: You will still need to install a suitable build environment first, containing: autoconf, automake, gcc, gcc-c++, libtool, make, nasm, pkg-config and the zlib development support files.

                                            Reply Quote 0
                                              1 Reply Last reply
                                            • First post
                                              Last post

                                            Computer browsers

                                            • Opera for Windows
                                            • Opera for Mac
                                            • Opera for Linux
                                            • Opera beta version
                                            • Opera USB

                                            Mobile browsers

                                            • Opera for Android
                                            • Opera Mini
                                            • Opera Touch
                                            • Opera for basic phones

                                            • Add-ons
                                            • Opera account
                                            • Wallpapers
                                            • Opera Ads

                                            • Help & support
                                            • Opera blogs
                                            • Opera forums
                                            • Dev.Opera

                                            • Security
                                            • Privacy
                                            • Cookies Policy
                                            • EULA
                                            • Terms of Service

                                            • About Opera
                                            • Press info
                                            • Jobs
                                            • Investors
                                            • Become a partner
                                            • Contact us

                                            Follow Opera

                                            • Opera - Facebook
                                            • Opera - Twitter
                                            • Opera - YouTube
                                            • Opera - LinkedIn
                                            • Opera - Instagram

                                            © Opera Software 1995-