LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 05-21-2016, 07:06 PM   #1
athenian200
LQ Newbie
 
Registered: Feb 2007
Posts: 28

Rep: Reputation: 12
QupZilla 1.8.9 won't playback YouTube videos even with all the GStreamer plugins installed.


I've tried emerging QupZilla a number of times now, and everything I can find on this issue suggests that it's an issue with not having enough GStreamer plugins.

I can verify that QupZilla works with ordinary HTML5 videos like this one: http://camendesign.com/code/video_fo...body/test.html

But YouTube, Dailymotion, and any other major video website I try fails with some kind of "encountered a problem" message and a bunch of fake static displayed as if you tried to play an out-of-region video. All the player controls work and I know HTML5 video works. But nothing will play back on YouTube.

I've emerged every GStreamer plugin I can think of, but the problem just isn't getting any better. I just can't find the functionality needed to play YouTube videos, and I've recompiled QupZilla 15 times already after poking around and trying to add libraries that might be helpful to it.

Last edited by athenian200; 05-22-2016 at 12:46 AM.
 
Old 05-21-2016, 09:19 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,981

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
gst-libav ?? maybe? Wild guess.
 
Old 05-22-2016, 12:45 AM   #3
athenian200
LQ Newbie
 
Registered: Feb 2007
Posts: 28

Original Poster
Rep: Reputation: 12
There's nothing by that name specifically, but I have gst-plugins-libav-1.6.3 which I assume is the same thing. Actually, I found a list of plugins I've already installed...

media-libs/fontconfig-2.11.1-r2
media-libs/freetype-2.5.5
media-libs/gst-plugins-bad-0.10.23-r3
media-libs/gst-plugins-base-0.10.36-r2
media-libs/gst-plugins-base-1.6.3
media-libs/gst-plugins-good-0.10.31-r1
media-libs/gst-plugins-ugly-1.6.3
media-libs/gstreamer-0.10.36-r2
media-libs/gstreamer-1.6.3
media-libs/harfbuzz-1.1.3
media-libs/libjpeg-turbo-1.4.2
media-libs/libogg-1.3.1
media-libs/libpng-1.6.19
media-libs/libvorbis-1.3.4
media-libs/libvpx-1.4.0
media-libs/mesa-11.0.6
media-libs/x264-0.0.20140308
media-plugins/gst-plugins-libav-1.6.3
media-plugins/gst-plugins-meta-0.10-r10
media-plugins/gst-plugins-vp8-0.10.23-r3
media-plugins/gst-plugins-x264-1.6.3
media-video/libav-11.3

Browsers are one of the toughest things to build from source, IMO. They have a tendency to be missing a lot of important functionality unless you know exactly what you're doing and how to tell it to use some specific library rather than just compiling itself without support for something basic because it's technically not a dependency. I've never had good luck with this.. sigh. I don't even know where to start figuring out what the developers intended for me to do here to get this working.

I'm still just getting "An error occurred. Please try again later." no matter what I pull in to try and make it work.
 
Old 05-22-2016, 05:38 PM   #4
athenian200
LQ Newbie
 
Registered: Feb 2007
Posts: 28

Original Poster
Rep: Reputation: 12
Well, I don't know exactly what libraries I needed, but I did find the core of my problem. It was twofold.

The first problem is that I kept recompiling the Qt5 version of QtWebKit every time I installed a new library, but QupZilla was using a version of Qt4 that I wasn't even touching. So I did something I'm probably not supposed to do, and modified the QupZilla ebuild to use Qt5 instead of Qt4, and manually overrode the checksum verification with the --digest flag. This actually made the application look a lot better in terms of font rendering, etc, and the developers specifically recommend using the latest version of QtWebKit you can get your hands on.

That only solved half the problem, though. I tried adding "gstreamer" to my USE flags, and it told me that QtWebKit it could only support one of "multimedia," "gstreamer," or "gstreamer010," but not all three at once. I'd had multimedia in the USE flags before, and that was preventing it from using GStreamer. So I rebuilt QtWebKit one more time after removing "multimedia" and adding "gstreamer," and now YouTube videos work.

But seriously, this was tough to figure out. You essentially have to know that QtWebKit can be built against one of three mutually exclusive multimedia frameworks, and that QupZilla only works properly when QtWebKit is configured with one of those options. How many people out there know that? Probably not many.
 
Old 05-23-2016, 01:33 AM   #5
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Ant that's why you should probably report it at bugs.gentoo.org, so that A) it can get improved and B) people having the same problem can actually find the info.

One suggestion: it seems to me like you directly edited the ebuild. If you don't want it to get replaced on the next sync, you should create a local overlay and put your modded copy in it, so that it doesn't get touched by portage sync.
 
1 members found this post helpful.
Old 05-23-2016, 04:36 PM   #6
athenian200
LQ Newbie
 
Registered: Feb 2007
Posts: 28

Original Poster
Rep: Reputation: 12
Sorry, it just didn't occur to me that this was a bug. I just thought this application was so picky and ridiculous that you just had to mess with it a lot to get it working. I'm so used to doing stuff like this that I just take it for granted that things will go wrong and I'll have to go through logs and swap out packages hoping to get the right cocktail of dependencies.

Incidentally, I did discover that there's a combination of USE flags you can use that prevent you from having to edit the ebuild... the combination is:

gstreamer qt5 -qt4

You have to explicitly tell Portage to favor Qt5 over Qt4 before it will actually use Qt5 to build the package. I'll get over there and see if the Gentoo developers think this is worth their time. Thanks.
 
Old 05-23-2016, 10:08 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,981

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
Thanks for the update and solution.

You asked who knew? This is the reason for linux users to put down questions and answers here. Someone else will maybe learn as you and I have here.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Youtube videos pause after a few seconds of playback, any browser! Dman58 Linux - General 4 12-04-2012 04:58 PM
Most YouTube videos and Facebook games won't play. LinuxLiker Linux - Software 13 04-19-2012 08:54 AM
[SOLVED] gstreamer-plugins-base conflicts with gstreamer-plugins-good Raveolution Linux - Software 14 11-17-2009 12:24 PM
libdv.so.4 is needed by (installed) gstreamer-plugins-0.8.1-1 borrrden Linux - Software 3 06-10-2004 03:43 AM
libdv.so.4 is needed by (installed) gstreamer-plugins-0.8.1-1 borrrden Linux - General 1 06-06-2004 12:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 03:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration