QupZilla / qupzilla

Cross-platform Qt web browser
http://www.qupzilla.com
GNU General Public License v3.0
1.11k stars 349 forks source link

HTML5 videos not playing, Fedora Linux #2466

Open karl69942 opened 6 years ago

karl69942 commented 6 years ago

Hello! So I reinstalled Fedora the other day & I can't make qupzilla play HTML5 videos.. I have so many different flash players / media browser plugins / etc, I don't know where to begin with all of this.. I've tried a few different things but nothing seems to work.. Any ideas how I can make Qupzilla play HTML5 videos on youtube? It says its missing H.264 but I have a bunch of x264 / h264 things installed...

karl69942 commented 6 years ago

It works on Firefox and Chromium but not on Qupzilla or Vivaldi... I don't know what to do, I've got tons of different flash players /etc installed. I've disabled & re-enabled the pepper flash thing in the qupzilla settings, I don't know why it won't work.. I've never had this problem before.

Chiitoo commented 6 years ago

Hi there, karl69942!

For one, you do not need adobe-flash for html5. It's one of the best things I can think of about html5. :]

To be able to fully make use of these things with QtWebEngine, due to licensing issues, one needs to specifically enable proprietary codecs during build-time, so if your distribution of choice does not provide a way for you to do this, you'll need to start compiling things yourself, or find someone else who already did it for you.

I'd suggest compiling things yourself, but that may just be due to being a bit of used to it using Gentoo. ^^;

karl69942 commented 6 years ago

But I was always able to watch youtube videos before... why can't I now??? I've installed all the codecs I can possibly find -.- Vivaldi does this too.. Chromium and Firefox however will work, but I don't even like those web browsers..

karl69942 commented 6 years ago

Same problem with vivaldi-snapshot too... I just don't understand :/ Why can't I play normal youtube videos??? I've always used qupzilla, why now all of a sudden can I no longer make most youtube videos play...

Chiitoo commented 6 years ago

One possibility that comes to mind, is that before you were using the QtWebKit QupZilla (pre-2.0), which would have been using adobe-flash.

That being said, I don't know without looking, and I'm not looking right now, but I'd imagine YouTube still would support adobe-flash at least to some extent, and the pepper flavour should work (you'd need to grab it from Chromium or so, and it does look like 'ask.fedoraproject.org' has at least some questions that might be related).

karl69942 commented 6 years ago

I have all of that stuff though!!! I have pepper, adobe, and everything else!!! half of the videos on youtube will not even play... -.-' I have to use a different operating system just to watch youtube videos??? Kind of ridiculous...

iondissonance commented 6 years ago

patch qtwebengine and use it. in opensuse tumbleweed it is by default. it is fedora problems

karl69942 commented 6 years ago

I've downloaded every codec under the sun. Vivaldi & Qupzilla both refuse to play HTML5 on youtube & tells me I am missing H.264 / MSE & H.264 .... I have every 264, 265 codec I could possibly find... Patch qtwebengine?? What is that supposed to mean?

iondissonance commented 6 years ago

2361

karl69942 commented 6 years ago

I'm looking at it but I still don't understand what I'm supposed to do...

karl69942 commented 6 years ago

I'm using Fedora not OpenSUSE... How am I supposed to "patch" this thing???

iondissonance commented 6 years ago

WEBENGINE_CONFIG+=use_proprietary_codecs

compile package libqt5-webengine with this qmake5 flag. and all will work.

i don't know how you can do this on fedora, i don't use it.

karl69942 commented 6 years ago

I'm gonna go make dinner, I'm too hungry & frustrated.... Something so simple shouldn't be such a massive hassel.. I just don't understand why its doing this, I've used Fedora for over a year, I've re-installed tons of times and I've NEVER encountered anything like this..

karl69942 commented 6 years ago

Yea... I don't even know where to begin on compiling qt5 webengine.... I guess I'm stuck with using browsers I don't like..

iondissonance commented 6 years ago

you can use browsers where qtwebengine and other forks of blink included in main codebase with already enabled proprietary codecs using, such as vivaldi, chromium and others. in fedora qtwebengine maintains maybe WITHOUT support of using proprietary codecs. it is fedora issue. make a bug in a fedora bugzilla, for example.

karl69942 commented 6 years ago

I have no idea what I did, but I restarted my PC and its working now... I would love to figure out what made it work though. I've been sitting here for 2 hours on the verge of pulling my hair out. Its not working on Vivaldi but its working on Qupzilla & that's good enough for me!

iondissonance commented 6 years ago

qupzilla use system qtwebengine, not include it in its codebase

karl69942 commented 6 years ago

Maybe it was from installing the qt5-qtwebengine package thing? That's like the only thing that changed, I installed that and presto.. very strange. Sorry you have to deal with me freaking out, you guys make a great internet browser. my #1 choice. thank you for the help

karl69942 commented 6 years ago

On a seperate note, I'm curious as to how to get my system theme to apply to Qupzilla & other programs, like it did on Manjaro Linux. I noticed a lot of the other themes for Qupzilla I found on github no longer work, they'll appear in the list once added but won't change. This may not be an issue for you guys though, but if you could point me in the right direction it would be much appreciated. thank you for your time.

ghost commented 6 years ago

...it is fedora problems

Bullshit!

jbuclkey2004 commented 6 years ago

Karl, I've been having EXACTLY the same problem (and EXACTLY the same frustrations) as you, with a newly-installed F27. Re: installing qt5-qtwebengine didn't work for me. Can you think of anything else you may have tried?

nowrep commented 6 years ago

You need to have QtWebEngine built with proprietary codecs, which Fedore apparently doesn't provide.

silvakid commented 6 years ago

On Fedora, you need to install qt5-qtwebengine-freeworld which is on rpmfusion repo!

mahsank commented 6 years ago

For qupzilla, the following should solve the problem for you:

# dnf -y install qt5-qtwebengine-freeworld

After running the above, visit the following page:

https://www.youtube.com/html5

This should provide you info about the supported codecs by the browser.

For vivaldi, go to your vivaldi installation folder (by default it is installed in /opt/vivaldi) and do the following:

# cd /opt/vivaldi/lib; curl -O https://repo.herecura.be/herecura/x86_64/vivaldi-ffmpeg-codecs-62.0.3202.97-1-x86_64.pkg.tar.xz

# xz -cd vivaldi-ffmpeg-codecs-62.0.3202.97-1-x86_64.pkg.tar.xz | tar xf -

You should see a new directory (named opt) in the current working directory. Issue the following command:

# cp opt/vivaldi/libffmpeg.so .

If there is a warning to overwrite the libffmpeg.so file; type y. Restart vivaldi and check the codec support by running the above youtube URL. Everything should work fine now.

The only problem with this approach is that each time you update vivaldi, your custom libffmpeg.so file will be overwritten. So after every vivaldi upgrade, you have to overwrite the default libffmpeg.so with the custom one.