Opera Version:58.0.3135.117 Opera is up to date but Videos don't play
-
A Former User last edited by
@adasiko said in Opera Version:58.0.3135.117 Opera is up to date but Videos don't play:
@the-spyke-0 said in Opera Version:58.0.3135.117 Opera is up to date but Videos don't play:
Why VP8 and VP9 aren't hardware accelerated?
https://bugs.chromium.org/p/chromium/issues/detail?id=370001
https://chromium-review.googlesource.com/c/chromium/src/+/532294
https://bugs.chromium.org/p/chromium/issues/detail?id=463440“Our goal is to have a Stable and secure browser first, and a GPU-accelerated one second, when possible. As we found out time and again, any sort of GPU acceleration has a lot of maintenance associated with it, between the multitude of configurations our users run, the general lack of quality of drivers (in particular on Linux), and the constant stream of incoming issue due to new hardware, driver, or distribution release.”
These bugs are about video acceleration as whole, not specifically about VP8/9. If Chromium doesn't use GPU on Linux, then h264 will be eating CPU as well.
-
gseva last edited by
@nexayq
Solution is simpler than this one.
You already have needed library on your system.dpkg -S libffmpeg.so
chromium-codecs-ffmpeg-extra: /usr/lib/chromium-browser/libffmpeg.so
opera-stable: /usr/lib/x86_64-linux-gnu/opera/libffmpeg.sosudo mv /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so.orig
ln -S /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so /usr/lib/chromium-browser/libffmpeg.so
-
A Former User last edited by
Correct. This is the easiest solution and the one I have been using for quite a while now. To put it in plain words, for those that may not understand your commands, they can do this:
To Force Opera and Vivaldi to Play h.264 Files:
The file above must be replaced.
Opera's file is at user/lib/x86_64-linux-gnu/opera
Vivaldi's file is at opt/vivaldi/lib
and it must be replaced with
from user/lib/chromium-browser
-
A Former User last edited by A Former User
@the-spyke-0 said in Opera Version:58.0.3135.117 Opera is up to date but Videos don't play:
VP8/9. If Chromium doesn't use GPU
It's not simple... For VP9 GPU decoding in Chromium you needs modern Hardware (Intel GPU from 2016 or newer).
AMD and NVIDIA have many problems with it on Linux.And opera doesn't supoort it at all. Too many problems and bugs...
-
A Former User last edited by
I had read an article a while ago about h264/5 vs vp8/9 and it said that one of the major reasons h264/5 is more widely spread is because it is backed by companies like intel and arm, thus it gets more attention I will post it when I find it.
-
cybrsaylr last edited by cybrsaylr
Updated to Vivaldi 2.4.1488.35 (Stable channel) (64-bit) a few hours ago and can happily report Videos now play fine on Vivaldi, along with videos playing fine on Firefox and Chrome.
Wish Opera could do the same.
-
cybrsaylr last edited by cybrsaylr
Well I have an interim solution until Opera 58 corrects this chronic video issue. My main PC has a couple extra drives on it with older versions on Linux and they still have the older Opera 56 version that plays all vids fine. Don't believe Opera lets you go back to older Opera versions anymore but I have them. Just will make sure NOT to upgrade Opera 56 while running this older version and I'm good to go.
-
A Former User last edited by
My problem is that I can't find the opera libffmpeg file. I can't even find the opera folder in /usr/lib/x86_64-linux-gnu.
I tried to find a opera/libfmpeg.so structure. the only place I could find one/two was at ./snap/opera/{31/30}/usr/lib/x86_64-linux-gnu/opera/libffmpeg.so. But if I try to cd to there I can only get to ./snap/opera/30 but no further as there doesn't seam to be anything in the directory.
So how do I get the correct libffmpeg.so file?
the "good" ffmpeg.so file from chromium I can find in the right directory( /usr/lib/chromium-browser)
some requisit information:
Ubuntu 18.10
I currently have opera (58.0.3....) aswell as opera-beta(60.0.3....) and even opera-dev (61.0.3) installed.
therefore i would expect there to be more then 2 libffmpeg.so files associated with opera. So should I remove the beta and dev branch? -
cybrsaylr last edited by
Today my problem was solved. After updates were installed videos now play again for Opera Version:58.0.3135.127.
-
cybrsaylr last edited by cybrsaylr
Videos still play fine. Showing the current 'Chromium Codecs extra' I have installed now.
Now this below is the OP codecs extra that did not play videos from 15 days ago! Why?
Opera Version:58.0.3135.117 Opera is up to date but Videos don't play, was the Opera version run 15 days ago.
Opera Version:58.0.3135.127 is the version running today. Is this the reason videos now play?
-
A Former User last edited by
Simple Solution
sudo ln -sf /usr/lib/chromium-browser/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so
-
A Former User last edited by A Former User
@salehawal said in Opera Version:58.0.3135.117 Opera is up to date but Videos don't play:
Simple Solution
sudo ln -sf /usr/lib/chromium-browser/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so
What distro is that from? I guess ubuntu...
-
A Former User last edited by A Former User
If you guys really wanna get something done, stop working around google's problem by downgrading to other browsers and tell content authors to fix it by not using H.264.
they don't always fix their videos, but most of the time they do within the day to a few days later.
you'll find my comments all over youtube of videos that don't or initially didn't play for me.
if they fix it, I thank them for it and usually give a like if I agree with the video.if they don't want my like or watch time, that's on them
if I really wanna watch the video, I can just download it and watch it in full 1080p_60 rather than 480p.
I'm pretty sure that quality cut is both Opera's poor optimization in certain areas as well as google's illegal throttling on youtube to enforce chrome use.
_also I report the video to google every time I stumble across one, reporting that google is only hurting the authors with their proprietary codec.
_this is certainly easier than patching my browser every week, which also only works around google's problem instead of fixing it.
#downwithh264
H.264 may be a good codec, but unfortunately google brought this on themselves by making it proprietary. -
A Former User last edited by A Former User
Fyi, h264 is a proprietary format, but it is not google's. Google, like ms and many more, is one of the companies that has a licence to use it in its software.
On top of that, h264 is backed by companies like arm (= 99.9% of mobile devices) and intel, so it gets hardware accelerated on pretty much any type of hardware. Plus, it has been widespread for at least half a decade, so its implementation on hardware and software is perfect by now.
. -
A Former User last edited by
@jimunderscorep oh alright, thank you for the correction, you actually woke me up to something I wasn't realizing my ignorance on, I'll stop claiming as such.
sorry about that. -
A Former User last edited by
alright, so I did research on another solution
apparently there's an extension (Google-only sadly) that can block H.264 encoding to use other available encoding formats
https://chrome.google.com/webstore/detail/enhanced-h264ify/omkfmpieigblcllmkgbflkikinpkodlklooks like youtube's been lying to me all this time because most of the videos (haven't ran into one that doesn't work yet, just being safe) I've been having issues with now work.
finally I can say good riddens, and it looks like I don't need to pester the authors anymore