:tools: Scheduled maintenance

Heads up! Downtime for the Forums, related to the NodeBB upgrade, is planned for Thursday, December 14, starting from 10:00 UTC.
Please make sure to finish all your posts before this time. The downtime should only last for a few minutes.

Can you summarize for me Opera 25 under Linux: With Flash and HTML5 videos?

  • So I have 2 Problems. Unreleated. But perhaps this thread can summarize it, because the information differs.

    First: Flash.

    The current Linux Mint has adobe-flashplugin 11. Opera 25 doesn't recognize Flash.
    Firefox says in about:plugins: /usr/lib/adobe-flashplugin/libflashplayer.so
    Opera 25 says in opera://plugins/: Nothing.

    How can I enable flash in Opera with my current setup? I heard something about pepper and something else but I haven't looked deeper in it. What does Opera 25 under Linux support and how?

    Second: HTML5 Videos.

    The current installation and the two installations before couldn't play HTML5 videos (youtube saying: error). I made a:

    % cd /usr/lib/x86_64-linux-gnu/opera-developer
    % ln -s /usr/lib/chromium-browser/libffmpegsumo.so

    Works fine (I have no Chromium installed, only these ffmgeg stuff). Is it true, that Operas version of libffmegsumo.so is a bit broken? Is this above a thing to do? Or should it work without that hack?

    Thanks in advance if you can answer some of my questions.

  • Opera 25 only recognizes "Pepper Flash", which if not available separately can be obtained by installing Chrome. (Not Chromium, Google Chrome.) No idea on HTML 5 video.

  • I can confirm the HTML5-error on YouTube (which gives a link to this page: https://support.google.com/youtube/answer/3037019) with Opera 25.0.1597.0 on Ubuntu 14.04.
    Opera can play WebM with VP8 and VP9, but VP9 doesn’t play on YT. Maybe a problem with Media Source Extensions, which is reported to be supported (https://html5test.com/, https://www.youtube.com/html5).
    Also, Opera fails to play AVC/H.264 on Microsoft’s testpage: http://ie.microsoft.com/testdrive/graphics/videoformatsupport/default.html
    Opera’s libffmpegsumo.so is 1,2 MB; Chrome’s is 2,1 MB and Chromium’s (and oxide-qt’s) is 2,4 MB, so Opera’s version seems to be different from the others.

  • The version of libffmpegsumo.so that Opera distributes does not include support for H264 video, the most popular codec for videos on the web (but it can play webm videos). This is on purpose: unlike Google, Opera does not have the necessary licenses to redistribute those codecs, nor the funds to acquire them.

    On Windows and Mac Opera uses the system libraries to display H264 videos, so that it doesn't have to redistribute the code itself.

    On Linux there are no real 'system' libraries that are guaranteed to exist on all distros, but you can get the same result by installing the ffmpeg libraries on your system with H264 and MP3 enabled. You need ffmpeg 2.3 installed to use it with Opera, or use your distro's packages if they are available (not available on Debian-based distros, although this is expected to change in the future). Opera can't use versions of ffmpeg older than 2.3, nor the libav fork that Debian-based distros supply, because their interfaces are not binary compatible.

    To compile ffmpeg yourself (the only supported way of getting H264 video in Opera developer for Linux at this moment), you can use these instructions (after downloading from http://ffmpeg.org/download.html):

    $ ./configure --enable-shared --build-suffix=-ffmpeg
    $ make
    $ sudo make install
    $ sudo ldconfig
    

    This should give you the ffmpeg libraries installed on your system, including H264 and MP3 support.

  • Opera 25 only recognizes "Pepper Flash", which if not available separately can be obtained by installing Chrome. (Not Chromium, Google Chrome.) No idea on HTML 5 video.

    In Linux Mint, Pepper flash is available as the pepperflashplugin-nonfree package.

  • What’s strange is that both https://html5test.com/ and https://www.youtube.com/html5 report that proprietary codecs are supported (only with the latest build of Opera 25). I assumed Opera now used the system’s codecs (like Firefox does).

  • There is a PPA for PepperFlash: https://launchpad.net/~skunk/+archive/ubuntu/pepper-flash

  • Thanks to you all. :) Your posts helped me and I could find some further information in the net.

    So...

    1. That Opera 25 only supports pepper (sgunhouse) is new to me. Former versions worked AFAIK (which doesn't say much...). I'll try the solution from joakimwallden or seek for some other solution. I will not install Chrome.

    2. Yeah, as avl said "most popular codec" where Opera is not able to redistribute. Where the provided solution may contain parts of GPL licensed code? Gosh, licenses...

  • What’s strange is that both https://html5test.com/ and https://www.youtube.com/html5 report that proprietary codecs are supported (only with the latest build of Opera 25). I assumed Opera now used the system’s codecs (like Firefox does).

    There's currently a bug (DNA-25004) which means Opera reports that it supports proprietary video formats even when the system codecs (from ffmpeg) cannot be loaded and it has to use its own. If you want to use the proprietary codecs, install ffmpeg using the instructions I gave earlier in this thread.

    In any case a build coming soon will include a fix for the incorrect support entry when appropriate system libraries cannot be found.

    1. Yeah, as avl said "most popular codec" where Opera is not able to redistribute. Where the provided solution may contain parts of GPL licensed code? Gosh, licenses...

    GPL code is not the problem, and this is not related to open source vs. closed source software. The problem is that any company that distributes a product that decodes H264 video (it doesn't matter if that product is itself open source or closed source) needs to pay royalties to MPEG LA.

  • Thanks avl.

    Can you comment on the issue with VP9 on YouTube?

    Opera 25.0.1597.0 on Ubuntu 14.04 does not play VP9-videos on YouTube, while Opera 25.0.1597.0 on Windows 7 (64-bit) does, as does Chrome on Ubuntu.

    Opera on Ubuntu plays WebM with VP9, but not VP9 on YouTube. Can you confirm the issue?

    Thanks.

  • Works for me:

    alt text

    That's a Youtube video on Ubuntu 14.04 and I did compiled ffmpeg as described above.

  • VP9 should not require any actions by the user to work. It’s a free codec.

  • 25.0.1606.0 plays VP9 on YouTube. Thanks. :yes:

  • After compiling and installing ffmpeg on my computer, are there any additional libraries that I need to change in order for Opera to be able to play html5 videos? Do I need to change libffmpegsumo.so? Or should that be enough?

    Even though I installed ffmpeg (v. 2.4.1), Opera cannot play h.264 videos. Does this mean I should install an earlier version of ffmpeg, like v. 2.3?

  • @frankgoji: Yes the version is very important. It must be the same version as that which is bundled with Opera. Current Opera is using version 2.3 of ffmepg. I have expanded on AVL's comment above

    https://gist.github.com/ruario/7b33ca4cf70e6ff70880

  • @ruario Thank you so much!

  • One other nice thing about compiling your own FFmpeg. You can watch 60FPS videos in High Definition on YouTube

    You Tube H.264 MSE 60 FPS

  • Hello,

    Is Opera considering supporting libav also?

    I'm just asking because in distributions like Ubuntu that have switch to libav, it wouldn't require users to install and compile ffmpeg.

  • Ubuntu 15.04 has FFmpeg: https://launchpad.net/ubuntu/vivid/+source/ffmpeg

Log in to reply
 

Looks like your connection to Opera forums was lost, please wait while we try to reconnect.