[arch-general] Why no phonon in Qt
Hello, I have removed flash after the latest problem with x86_64 release and I want to get youtube working ASAP. To that end, I downloaded nightly sources of webkit(not wanting to download the entire svn checkout) and built the qt port. However the video element is still missing, as tested on http://html5test.com. Digging into webkit build system, I discovered that it has disabled video/audio element support for qt port because the installed qt does not support phonon. from http://repos.archlinux.org/wsvn/packages/qt/repos/extra-i686/PKGBUILD, phonon support is explicitly disabled during qt build. I searched around but could not find a reason for the same. I really do not want to build(more importantly maintain) my own qt build. So why is phonon support disabled in Qt? -- Regards Shridhar
On Sun, Jun 27, 2010 at 10:53 PM, Shridhar Daithankar <ghodechhap@ghodechhap.net> wrote:
So why is phonon support disabled in Qt?
if memory serves correct from gentoo days it has to do with qt phonon an kde phonon stepping on each others toes... however it might be for different reasons in arch. -- Caleb Cushing http://xenoterracide.blogspot.com
On Monday 28 Jun 2010 at 13:36 Caleb Cushing wrote:
On Sun, Jun 27, 2010 at 10:53 PM, Shridhar Daithankar
<ghodechhap@ghodechhap.net> wrote:
So why is phonon support disabled in Qt?
if memory serves correct from gentoo days it has to do with qt phonon an kde phonon stepping on each others toes... however it might be for different reasons in arch.
No idea really, but a quick query tells me that phonon is provided as a separate package: % pacman -Qs phonon local/phonon 4.4.2-1 The multimedia API for KDE4 local/phonon-gstreamer 4.4.2-1 Phonon Gstreamer backend So I'm guessing that you could rebuild Qt with phonon and remove the standalone phonon package(s) - but that might break other things that this approach is designed to make work. Or alternatively, can you tell webkit to look for the separate phonon that's not provided with Qt when it builds? Pete.
On Monday 28 June 2010 19:11:09 Peter Lewis wrote:
Or alternatively, can you tell webkit to look for the separate phonon that's not provided with Qt when it builds?
Thats not possible. The webkit build system for qt port, looks for qt config only. There is no way to provide it. OK, this can be forced but I am interested in getting it working in a maintainable way) -- Regards Shridhar
On Monday 28 June 2010 19:11:09 Peter Lewis wrote:
if memory serves correct from gentoo days it has to do with qt phonon an kde phonon stepping on each others toes... however it might be for different reasons in arch.
No idea really, but a quick query tells me that phonon is provided as a separate package:
% pacman -Qs phonon local/phonon 4.4.2-1 The multimedia API for KDE4 local/phonon-gstreamer 4.4.2-1 Phonon Gstreamer backend
So I'm guessing that you could rebuild Qt with phonon and remove the standalone phonon package(s) - but that might break other things that this approach is designed to make work.
attached is a pkgbuild diff for qt that builds qt with phonon. I had to remove phonon, phonon-xine and phonon-gstreamer using --nodeps. I also created a symlink /usr/lib/kde4/plugins/phonon_backend pointing to /usr/lib/qt/plugins/phonon_backend/ I also installed gstreamer good/bad/ugly plugins. After this, webkit built the video support and html5test reports mpeg4/h.264 but no webm. I can play videos from tinyvid.tv too(which are ogv format). but this build of webkit crashes way too many times with the NP-Initialize error. So I am not using this for the moment. Youtube still does not work for some reason. I thought h.264 should work with that. juk works so basic phonon support is working but control center disappears after clicking on multimedia. The error logged is symbol lookup error: /usr/lib/kde4/kcm_phonon.so: undefined symbol: _ZNK6Phonon12GlobalConfig19hideAdvancedDevicesEv So I guess things are not fully ok and it would require kdelibs rebuild too. I am now back to webkit bundled with Qt. I guess it will be sometime before things work as expected with a webkit based browser. -- Regards Shridhar
I have removed flash after the latest problem with x86_64 release and I want to get youtube working ASAP.
To that end, I downloaded nightly sources of webkit(not wanting to download the entire svn checkout) and built the qt port. However the video element is still missing, as tested on http://html5test.com.
There are 2 more options you could try too: - use aur/minitube a really nice standalone app for watching YouTube - use a nightly build of Firefox 3.7a/4.0 which supports WebM - its faster and will support html5 + webM on Youtube (but afaik it's only available on some videos) -- damjan
On Tuesday 29 June 2010 00:08:15 Damjan Georgievski wrote:
I have removed flash after the latest problem with x86_64 release and I want to get youtube working ASAP.
To that end, I downloaded nightly sources of webkit(not wanting to download the entire svn checkout) and built the qt port. However the video element is still missing, as tested on http://html5test.com.
There are 2 more options you could try too: - use aur/minitube a really nice standalone app for watching YouTube
But you need to know URL beforehand IIRC. Too much for my wife.
- use a nightly build of Firefox 3.7a/4.0 which supports WebM - its faster and will support html5 + webM on Youtube (but afaik it's only available on some videos) In general I use firefox only when I have to, because it does not integrate well with KDE and I really don't like GTK looks.
-- Regards Shridhar
On 06/28/2010 10:53 PM, Shridhar Daithankar wrote:
In general I use firefox only when I have to, because it does not integrate well with KDE and I really don't like GTK looks.
Try using gtk-qt-engine. DR
On Tuesday 29 June 2010 04:53:19 Shridhar Daithankar wrote:
In general I use firefox only when I have to, because it does not integrate well with KDE and I really don't like GTK looks.
try qtcurve... Bye...Frank
On Sun, Jun 27, 2010 at 10:53 PM, Shridhar Daithankar <ghodechhap@ghodechhap.net> wrote:
I have removed flash after the latest problem with x86_64 release and I want to get youtube working ASAP.
chromium 5 suppport h264 and 6 (if you want to go there) supports webm... I've read KDE 4.5 is supposed to have webkit support in konqueror so maybe that will work too. -- Caleb Cushing http://xenoterracide.blogspot.com
On Tuesday 29 June 2010 01:55:39 Caleb Cushing wrote:
On Sun, Jun 27, 2010 at 10:53 PM, Shridhar Daithankar
<ghodechhap@ghodechhap.net> wrote:
I have removed flash after the latest problem with x86_64 release and I want to get youtube working ASAP.
chromium 5 suppport h264 and 6 (if you want to go there) supports webm... I've read KDE 4.5 is supposed to have webkit support in konqueror so maybe that will work too.
Why do I need yet another GTK browser when I am already tolerating firefox ? :) I also have kde-webkitpart installed so my konqueror and rekonq are at same level of webkit support, i.e. what is supported by Qt4.6. So that path is not a gain for now. -- Regards Shridhar
2010/6/29 Shridhar Daithankar <ghodechhap@ghodechhap.net>:
chromium 5 suppport h264 and 6 (if you want to go there) supports webm... I've read KDE 4.5 is supposed to have webkit support in konqueror so maybe that will work too.
Why do I need yet another GTK browser when I am already tolerating firefox ? :)
I also have kde-webkitpart installed so my konqueror and rekonq are at same level of webkit support, i.e. what is supported by Qt4.6. So that path is not a gain for now.
You have to enable html5 by clicking the apropriate link in http://www.youtube.com/html5. I can see (some) Youtube videos in Chromium that way (Damjan is right, it is not available for all videos).
participants (7)
-
Caleb Cushing
-
Damjan Georgievski
-
David Rosenstrauch
-
Frank Thieme
-
José M. Prieto
-
Peter Lewis
-
Shridhar Daithankar