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

Can't play facebook videos or GIFS in Opera w/Linux Mint

  • @messweb You should check the version of chromium-codecs-ffmpeg-extra. Since you're using Opera 54, which is based on Chrome 67, you need to make sure that the codecs are also at version 67.

    @leocg Interesting idea, but I'm not sure how packaging Opera snaps is going to help with codec issues. As far as I understand it's still Canonical who publishes codec snaps, and Opera still has no control when it happens.

  • @denisftw
    Package: chromium-codecs-ffmpeg-extra
    Status: install ok installed
    Priority: optional
    Section: web
    Installed-Size: 4306
    Maintainer: Ubuntu Developers ubuntu-devel-discuss@lists.ubuntu.com
    Architecture: amd64
    Source: chromium-browser
    Version: 68.0.3440.75-0ubuntu0.16.04.1
    Replaces: chromium-browser (<< 44), chromium-codecs-ffmpeg
    Depends: libc6 (>= 2.14), libgcc1 (>= 1:3.0)
    Pre-Depends: dpkg (>= 1.15.6)

    I didnt't install it

    @denisftw said in Can't play facebook videos or GIFS in Opera w/Linux Mint:

    chromium-codecs-ffmpeg-extra

  • @leocg said in Can't play facebook videos or GIFS in Opera w/Linux Mint:

    @denisftw See https://blogs.opera.com/desktop/2018/08/opera-launches-snap-linux-users/#comment-4018305223

    So best solution is change this great browser to Firefox or Chrome. That was pleasure using Opera but now I have no choice. Bye.

  • The best solution would be for opera devs to finally understand that the libffmpeg they bundle with opera is causing more harm (= complaings) than good (= html5 support). Every single time there is an upgrade to chromium codecs or opera itself, complaints start and the same things are said over and over.

    May I suggest a solution? Do NOT bundle a libffmpeg lib with opera and build it so as it uses the system's ffmpeg libraries (libav*) for that precious html5 support.
    It is this little flag here in chromium's source code that makes all the difference

    flags = [ "USE_SYSTEM_FFMPEG=true" ]

    This is how most major distros like debian, arch, mageia and fedora do it for their chromium builds and their chromiums' html5 support is flawless.

    Here is the debian patch
    https://sources.debian.org/patches/chromium-browser/68.0.3440.75-2/system/ffmpeg.patch/

    And the arch one
    https://git.archlinux.org/svntogit/packages.git/tree/trunk/chromium-ffmpeg-r1.patch?h=packages/chromium

    (I could not find the similar patch in fedora and mageia)

    Do you know which major distro does not do that? Ubuntu!
    Ubuntu builds chromium with that flag switched to false, thus making a libffmpeg for the sole purpose to be used by chromium. And opera devs do the same...
    And that makes us opera users look for beter versions of libffmpeg, with questionable origins sometimes.

  • Guess what?

    Opera was upgraded to v55 earlier today, which means it is based on chromium 68, which in turn means it's time for all ubuntu users to remove that chromium ffmpeg codecs 67 they installed manually or remove the hold they put on apt for it and ket apt update it from as usual.

    See you next month with the more whining 😛

  • @jimunderscorep Yeah, I checked that today and updated both the codecs and the browser. Works perfectly. It seems that putting chromium-codecs-ffmpeg-extra and opera-stable on hold until both updates are definitely in sync is the most surefire way to never break video support.

    Very interesting info on other distributions! Could you also explain why other Chromium-based browsers are different? As far as I know, Vivaldi is also based on Chromium and uses Chromium codecs, but its support for HTML5 video rarely breaks.

  • Although you are right about putting both of them on hold until they "sync", I see no reason in putting opera on hold and missing all those minor upgrades, e.g. from 54.x to 54.x+1, because they will probably contain security updates and bug fixes. Thus, I think that putting only chromium ffmpeg codecs on hold is enough for the average user who uses opera but not chromium.

    Most chromium based browsers are closed source, e.g. chrome, vivaldi, opera, yandex etc. This means that distros do not decide how to built each one, like they do for chromium. As I said some months ago its the situation of "I do it that way, you either take it or gtfo 😛 "
    On top of that, there is no way to check if the forementioned flag was set to true or false in a closed source app, because you can not see its source code, the patches applied to it etc. All you can do is assume like so

    • does it have chromium ffmpeg codecs or something similar as a direct or suggested dependency? then it was built with that flag set to false and it will have its own libffmpeg
    • does it have ffmpeg's libav* libs as dependencies? then it was built with that flag set to true and it will use those.

    and you will be right in 99% of the cases.

    One last thing about h264. H264 is not an open format, it needs a licence to be used anywhere. Opera does not have one, and... you know the rest.
    Do you know how the other browsers, regardless of operating system, fulfill their h264 needs?
    Google has a licence to use it in chrome and so does microsoft for internet explorer and edge. Mozilla on the other hand does not have one, so it uses cisco's openh264 library for firefox. So, please take this into consideration before posting another "this site works on firefox and chrome but not in opera, so opera is shit and I am leaving it".
    But why use h264 instead of webm which is an open format someone might say? Two words: hardware acceleration. H264 is hardware accelerated, webm isn't. It's 2018 and I (= the average user) do not want to waste my cpu cycles, which translates to biger battery consumption, for videos bigger than 720p so I let my gpu do all the hard work.
    In fact, I demand that since 7+ years ago that I first discovered hardware accelerated video playback.

    p.s. I am not an opera dev and I have nothing to do with its development in general.

  • @jimunderscorep Thanks! I just looked at Vivaldi's dependencies. They also include chromium-codecs-ffmpeg-extra as a recommended dependency, just as opera-stable does. However, the version from the repository plays Twitter videos without problems. According to its "About" window, the browser is based on ancient Chrome 65 and yet it somehow manages to use the latest (68) codecs. What's the trick? )

  • Try removing chromium ffmpeg codecs and then check how good or bad vivaldi can perform on h264 content. I am 110% sure, like opera, it won't play a thing. And no idea why it works with newer versions of it 😞

    I would do the above for you, but I do not use ubuntu, thus no chromium ffmpeg codecs at all, and I do not use electron based crap like vivaldi (or skypeforlinux, vs code, atom etc).

    On the other hand, how hard can it be for someone to make a small script that (in this specific order)

    • checks the installed version of opera
    • "calculates" the proper chromium version it is based on
    • downloads the correct chromium ffmpeg codecs package from that ubuntu ppa
    • extracts the libffmpeg from it
    • places it in the directory opera's libffmpeg is, replacing the original one

    I do not do scripting, I am bad at it, but I am sure someone can do it. And the same thing for widevine, except it would download google chrome...

  • May I have your attention please?

    Chromium 69 was released yesterday =>
    it will soon be on the repos of all major distros =>
    (for ubuntu users) chromium ffmpeg codecs will be upgraded =>
    opera's html5 support will break =>
    whining users will flood the forum again.

    So brace yourselves 😛

    For the rest of us, the debian/mageia/arch/fedora/opensuse/whatever users, the html5 support will remain incomplete as usual.

    Have a nice day 🙂

  • @jimunderscorep thannks for the info but how can i get the latest chromium ffmpeg codecs? please help

  • Im having the same issues, along with Dailymotion videos not working at all "Try updating your browser, or use a different one".
    Also, Nicotine is not working properly. It says theres an error due to Upnp support.
    This all came about when I updated to Linux Mint 19. So far, no help from the Update Manager.

  • Good news everyone!
    Opera 56 reached stable, so it should work with chromium ffmpeg codecs 69, so please do your upgrades and may the "broken html5/h264 support" whining stop for September.
    Thank you 🙂

  • Here's answer why OPERA don't play videos.
    0_1538250996625_Opera Snapshot_2018-09-29_204547_blogs.opera.com.png

  • I solved the problem by updating my opera. My current version is 56.0.3051.43. If anyone has the same issue then go to https://www.opera.com/browser download the latest version(.deb) install it.

  • Hey, it's that time of the month again!
    You know, the one that chromium gets updated from upstream, and a few days later distro's upgrade their chromium related packages.
    After that, ubuntu users flood the forum whining that opera is broken again.

    Please be patient 😛

  • any update on this?
    It kind suck 😞

  • Since nothing has changed, either on opera's side (support for more proprietary codecs) or on the sites' side (support of a different or open format, eg webm), things remain the same.
    In fact, I think it would be reasonable to say you should not expect a change in the years to come.

  • Download one of these:
    https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases
    And put it into /usr/lib64/opera
    Overwrite if if there's the same file already

Log in to reply