The Videos Don't Play Topic
-
jedi-am last edited by
This should not be up to the user to fix this.
Even they release a complete new version and still dont fix with problem with find codecs path installed in the user machine !!!!!
-
jedi-am last edited by
But it is suprising that you still in their forum, if you are not using it anymore. LOL.
-
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/ -
vbnvbn 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).
-
vbnvbn
-
iamreinaldo last edited by
@xzero man, I really like to use Opera and you just saved me.
Thank you very much! -
leocg
-
nneo16
-
mickyyonn last edited by
@pixcatholica same issue with me, tried many things but not working for me.
-
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? -
sgunhouse
-
leocg
-
adamblackburn last edited by
@RungeKutta Thank you for creating that script, worked perfectly for me!
-
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 -
salientgreen last edited by
Re: FFMPEG installation instructions
- Install Chromium
A. Open a terminal and run:
sudo apt update sudo apt install chromium-browser
- 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:
- Checks for root permissions:
Ensures the script is run as root (using sudo), since it needs permission to modify system files. - 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. - Backs up Opera’s existing libffmpeg.so:
If Opera already has a libffmpeg.so, it creates a backup before overwriting. - Copies the file:
Copies Chromium’s libffmpeg.so to Opera’s directory.
Prints success or error messages: - 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. - Install Chromium