Opera 31 youtube. I want to watch all videos in html5.
-
gustavwiz last edited by
h.264 in Opera 31+ does not work for me at all. On youtube.com/html5 is says that the browser supports it, but that is not correct. On all videos that use H.264, it must switch to flash...
This applies to all streams.
There are instructions available for building a custom ffmpeg library for Opera 31 and newer here: https://gist.github.com/lukaszzek/ec04d5c953226c062dac
@avl, have you changed how this works? Is that the reason why it is broken?
-
gorrion007 last edited by
I also had the same problem, but revisanto this post and solve my problem[.](http://maschistesbuenos.com/" target="_blank) Thank You.
-
Deleted User last edited by
I also had the same problem, but revisanto this post and solve my problem. Thank You.
Did you do Github?
-
gustavwiz last edited by
I also had the same problem, but revisanto this post and solve my problem. Thank You.
Did you do Github?
I wonder this too, @gorrion007. ( @lieddersturme: If you really want gorrion007 to see your post you should mention him with @).
-
spacewolf last edited by admin
There seems to be a working fix near the bottom of that thread :
https://forums.opera.com/topic/11170/opera-31-broke-the-compatiblity-with-ffmpeg-in-ubuntu-14-04(see the post from "matthieu1985")
-
avl Opera last edited by
@avl, have you changed how this works? Is that the reason why it is broken?
Well, more like Chrome changed how this works. They started linking in ffmpeg statically, making it easier for them to change their integrated ffmpeg, and harder for us to keep it compatible with the vanilla system one.
For reference, Chrome includes a version of ffmpeg (now statically linked in from Chrome 44 onwards), which includes support for proprietary formats like H264 video and MP3 audio. Opera can't redistribute this version, because we don't have the (expensive) license from the MP4 patent pool that would be required to cover our users.
On Windows and Mac we solve this issue by providing a completely separate implementation, which uses the video libraries available on those systems natively (so that Opera is not redistributing the decoders ourselves). It requires some developers working full-time on maintaining this, but compared to the cost of the license, it's definitely worth it.
On Linux we don't have this luxury: for one there is no agreed upon and generally available system library, and secondly we don't have enough developers to have someone dedicated to maintaining a custom solution.
Until now we've patched this by trying to stay as close as possible to vanilla ffmpeg as possible, allowing you to exchange the ffmpeg library we do redistribute (which omits H264 and MP3 support) with one you compile yourself from ffmpeg.org or install from a repo.
Now that this has become too hard to maintain as well in Opera 31, what's left is simply recompiling Chromium's custom ffmpeg. That's the instructions you'll find here: https://gist.github.com/lukaszzek/ec04d5c953226c062dac
It would be very helpful if someone could create a package that does just this.
If Ubuntu will update to Chromium 44 and will keep supplying a separate chromium-ffmpeg-codecs-extra package, Opera will be able to use that when it becomes available.
-
crosph last edited by
I appear to have had the same problem. This may not be the best solution, but I've found this to work so far:
- Install chromium-ffmpeg-codecs-extra (which is currently version 44 as at 2015-08-27)
- Maybe back up /usr/lib/x86_64-linux-gnu/opera/lib/libffmpeg.so.31
- Have permission to write /usr/lib/x86_64-linux-gnu/opera/lib/ and contents (helps to be root or have sudo)
- Symlink /usr/lib/chromium-browser/libs/libffmpeg.so to /usr/lib/x86_64-linux-gnu/opera/lib/libffmpeg.so.31
YMMV, but that's worked for me, for now!
-
avl Opera last edited by
Install chromium-ffmpeg-codecs-extra (which is currently version 44 as at 2015-08-27)
Maybe back up /usr/lib/x86_64-linux-gnu/opera/lib/libffmpeg.so.31
Have permission to write /usr/lib/x86_64-linux-gnu/opera/lib/ and contents (helps to be root or have sudo)
Symlink /usr/lib/chromium-browser/libs/libffmpeg.so to /usr/lib/x86_64-linux-gnu/opera/lib/libffmpeg.so.31@crosph, your solution can be refined: instead of writing to
lib
, write the file to/usr/lib/x86_64-linux-gnu/opera/lib_extra/libffmpeg.so.31
(you might have to create the lib_extra directory). Opera recognizes the lib_extra directory specifically for this purpose (so that you can put a custom version of ffmpeg in there). Then you don't have to overwrite any files, and it won't get lost whenever you update Opera (although you'll have to do something when a new version gets released). -
red last edited by
To opera devs:
Why don't you just unbundle ffmpeg and use the system-default one?
Largely most people have already installed a "competent" ffmpeg library anyway...
-
red last edited by
BTW - For Fedora users: The "Russian Fedora" Repos has it all nicely packaged. Including the ffmpeg libs.
-
avl Opera last edited by
To opera devs:
Why don't you just unbundle ffmpeg and use the system-default one?
Largely most people have already installed a "competent" ffmpeg library anyway...This is what we did before. We have two problems with this approach now:
- Chrome is integrating ffmpeg more closely, meaning it's harder to just 'unbundle' ffmpeg (the bundled ffmpeg has been changed, and the video implementation relies on some of their customizations)
- ffmpeg has a very unstable ABI, meaning it's very hard to say what 'system-default' is. If we compile to work with one specific version, Opera will crash when it's used with other versions of ffmpeg, and not all distributions (or different versions of distributions) have the exact same versions of the ffmpeg libraries
So the problem is that there's no "just" in "just unbundling" and no "competent" in "competent ffmpeg library" We're evaluating our options, we know that the current solution is far from ideal for everyone involved.
-
metalys last edited by
Is there a way I can tell Youtube that I can't play H.264 (https://www.youtube.com/html5)?
This way it would fall back to playable formats instead of launching the flashplayer, and so I should be able to use a feature such as playback speed not supported in the flashplayer.
-
metalys last edited by
For the time being, on Debian testing, I am using:
- Opera-beta 32.0.1948.4 (not .12 due to dual screen issues)
- libffmpeg.so from the package http://packages.ubuntu.com/wily/amd64/chromium-codecs-ffmpeg-extra/download (overwriting libffmpeg.so.32 in /usr/lib/x86_64-linux-gnu/opera-beta/lib/)
Which seems to work for any html5 video at the moment.
Regards,
Allan -
avl Opera last edited by
For the time being, on Debian testing, I am using:
- Opera-beta 32.0.1948.4 (not .12 due to dual screen issues)
- libffmpeg.so from the package http://packages.ubuntu.com/wily/amd64/chromium-codecs-ffmpeg-extra/download (overwriting libffmpeg.so.32 in /usr/lib/x86_64-linux-gnu/opera-beta/lib/)
Put it in
/usr/lib/x86_64-linux-gnu/opera-beta/lib_extra
instead (create the directory if it's not there). That way it won't get removed on updates. Opera will readlib_extra
before readinglib
. -
metalys last edited by
- libffmpeg.so from the package http://packages.ubuntu.com/wily/amd64/chromium-codecs-ffmpeg-extra/download (overwriting libffmpeg.so.32 in /usr/lib/x86_64-linux-gnu/opera-beta/lib/)
Put it in /usr/lib/x86_64-linux-gnu/opera-beta/lib_extra instead (create the directory if it's not there). That way it won't get removed on updates. Opera will read lib_extra before reading lib.
Ah, excellent. (And I'm sorry I didn't read through the thread so you could avoid repeating yourself..)
-
larmedina last edited by
I hope let me play some funny videos on youtube. libffmpg there is not present in Ubuntu 14.04, hope that this fix works is borring looking for some content and need to star another browser because you cant see media on this.
-
Deleted User last edited by
For the time being, on Debian testing, I am using:
- Opera-beta 32.0.1948.4 (not .12 due to dual screen issues)
- libffmpeg.so from the package http://packages.ubuntu.com/wily/amd64/chromium-codecs-ffmpeg-extra/download (overwriting libffmpeg.so.32 in /usr/lib/x86_64-linux-gnu/opera-beta/lib/)
Put it in /usr/lib/x86_64-linux-gnu/opera-beta/lib_extra instead (create the directory if it's not there). That way it won't get removed on updates. Opera will read lib_extra before reading lib.
Can you put that lib in Opera deb file?