• 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

    The Videos Don't Play Topic

    Opera for Linux
    playback error playback issues video videos
    142
    333
    390375
    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.
    • superflixla
      superflixla last edited by

      I am getting this error in most of the websites except YouTube and few others.
      plz help i am unable to see videos on websites like
      https://superflix.la/

      Reply Quote 0
        vbnvbn 1 Reply Last reply
      • vbnvbn
        vbnvbn @superflixla last edited by vbnvbn

        @superflixla
        Try these different versions of libffmpeg.so until opera start opening on your system:

        https://github.com/nwjs-ffmpeg-prebuilt/nwjs-ffmpeg-prebuilt/releases

        https://repo.herecura.eu/herecura/x86_64/

        https://launchpad.net/~savoury1/+archive/ubuntu/chromium

        In case you don't know how, find opera folder in /usr/ folder (with the command: find /usr/ -depth -maxdepth 10 -iname 'opera') and copy libffmpeg.so in it (that file should already be in that folder).

        Reply Quote 0
          superflixla 1 Reply Last reply
        • superflixla
          superflixla @vbnvbn last edited by

          @vbnvbn Thank you very much!

          Reply Quote 0
            1 Reply Last reply
          • Referenced by  vbnvbn vbnvbn 
          • iamreinaldo
            iamreinaldo @xZero last edited by

            @xzero man, I really like to use Opera and you just saved me.
            Thank you very much!

            Reply Quote 0
              1 Reply Last reply
            • Referenced by  leocg leocg 
            • Referenced by  nneo16 nneo16 
            • mickyyonn
              mickyyonn @PixCatholica last edited by

              @pixcatholica same issue with me, tried many things but not working for me.

              Reply Quote 1
                1 Reply Last reply
              • exiort
                exiort last edited by

                Hi everyone!
                I started to use opera on my personal laptop. My OS is Ubuntu 23.10 with kernel Linux 6.5.0-13-generic.
                My problem is when I go Youtube, Most of videos play properly but some of videos does not play with this error: "Your browser can't play this video."
                What may cause it, and how to solve it?

                Reply Quote 0
                  leocg 1 Reply Last reply
                • leocg
                  leocg Moderator Volunteer @exiort last edited by

                  @exiort None of the solutions above help?

                  Reply Quote 0
                    1 Reply Last reply
                  • Referenced by  sgunhouse sgunhouse 
                  • Referenced by  leocg leocg 
                  • RungeKutta
                    RungeKutta last edited by

                    I create a script that install the broken library and fix the opera bug.

                    https://github.com/nicolas-meilan/fix-opera-linux-ffmpeg

                    Reply Quote 1
                      adamblackburn 1 Reply Last reply
                    • RungeKutta
                      RungeKutta last edited by This post is deleted!
                      Reply Quote 0
                        1 Reply Last reply
                      • adamblackburn
                        adamblackburn @RungeKutta last edited by

                        @RungeKutta Thank you for creating that script, worked perfectly for me!

                        Reply Quote 0
                          1 Reply Last reply
                        • shopeandodev
                          shopeandodev @geokar last edited by

                          @geokar this work perfect for me on LMDE 6... Thanks buddy

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

                            Install Chromium
                            Copy the file libffmpeg.so to Opera
                            sudo cp /usr/lib/chromium/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so

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

                              Re: FFMPEG installation instructions

                              1. Install Chromium
                                A. Open a terminal and run:
                              sudo apt update
                              sudo apt install chromium-browser
                              
                              1. Copy and Run the Script
                                A. Copy the script below and paste it into your terminal:
                              cat <<'EOF' > fix_opera_video.sh
                              #!/bin/bash
                              
                              # Check if script is run as root
                              if [ "$EUID" -ne 0 ]; then 
                                echo "Please run as root (use sudo)"
                                exit 1
                              fi
                              
                              # Define paths
                              CHROMIUM_FFMPEG="/usr/lib/chromium/libffmpeg.so"
                              OPERA_FFMPEG="/usr/lib/x86_64-linux-gnu/opera/libffmpeg.so"
                              
                              # Define messages
                              ERROR_CHROMIUM_NOT_FOUND="Error: Chromium libffmpeg.so not found at \$CHROMIUM_FFMPEG"
                              SEARCH_PATHS="lets search for the current paths:"
                              SUCCESS_COPY="Successfully copied libffmpeg.so to Opera"
                              RESTART_OPERA="Please restart Opera for changes to take effect"
                              ERROR_COPY="Error copying file"
                              
                              # Function to search for libffmpeg.so
                              search_libffmpeg() {
                                echo "\$SEARCH_PATHS"
                                find /usr/lib -name libffmpeg.so
                              }
                              
                              # Function to handle errors
                              handle_error() {
                                echo "\$1"
                                search_libffmpeg
                                exit 1
                              }
                              
                              # Check if source file exists
                              if [ ! -f "\$CHROMIUM_FFMPEG" ]; then
                                handle_error "\$ERROR_CHROMIUM_NOT_FOUND"
                              fi
                              
                              # Create backup if opera file exists
                              if [ -f "\$OPERA_FFMPEG" ]; then
                                echo "Creating backup of existing Opera libffmpeg.so"
                                cp "\$OPERA_FFMPEG" "\${OPERA_FFMPEG}.backup"
                              fi
                              
                              # Copy the file
                              echo "Copying Chromium libffmpeg.so to Opera..."
                              cp "\$CHROMIUM_FFMPEG" "\$OPERA_FFMPEG"
                              
                              if [ \$? -eq 0 ]; then
                                echo "\$SUCCESS_COPY"
                                echo "\$RESTART_OPERA"
                              else
                                handle_error "\$ERROR_COPY"
                              fi
                              EOF
                              

                              B. Run the script as root:

                              sudo bash ./fix_opera_video.sh
                              

                              Done!

                              What is happeneing HERE?!!!

                              This script fixes video playback issues in the Opera browser by copying the libffmpeg.so file from Chromium’s installation directory to Opera’s directory. The libffmpeg.so library enables support for proprietary video codecs (like H.264) in Opera.

                              What the script does:

                              1. Checks for root permissions:
                                Ensures the script is run as root (using sudo), since it needs permission to modify system files.
                              2. Defines the source and destination paths:
                                Source: /usr/lib/chromium/libffmpeg.so (from Chromium)
                                Destination: /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so (Opera’s location)
                                3, Checks if the Chromium libffmpeg.so exists:
                                If not found, it prints an error and searches for any libffmpeg.so files on the system.
                              3. Backs up Opera’s existing libffmpeg.so:
                                If Opera already has a libffmpeg.so, it creates a backup before overwriting.
                              4. Copies the file:
                                Copies Chromium’s libffmpeg.so to Opera’s directory.
                                Prints success or error messages:
                              5. Informs the user if the operation was successful and reminds them to restart Opera.

                              In short:
                              It enables video playback in Opera by replacing Opera’s libffmpeg.so with the one from Chromium, backing up the original, and providing helpful messages throughout the process.

                              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-