Gentoo Archives: gentoo-desktop

From: Duncan <1i5t5.duncan@×××.net>
To: gentoo-desktop@l.g.o
Subject: [gentoo-desktop] Re: phonon
Date: Sat, 19 Nov 2011 15:35:20
Message-Id: pan.2011.11.19.15.34.19@cox.net
In Reply to: [gentoo-desktop] phonon by Dominique Michel
1 Dominique Michel posted on Sat, 19 Nov 2011 14:35:18 +0100 as excerpted:
2
3 > I am using fvwm with fvwm-crystal. I use a few kde apps like kate or
4 > kaffeine. I am also running jack all the time as sound server.
5 >
6 > The only one program I get trouble with this setup is kaffeine. When the
7 > sound is working fine with the old kaffeine version for kde3, it doesn't
8 > work at all with kaffeine for kde4. The problem seam to come from
9 > kaffeine and phonon.
10
11 > Do you know if the kde guys (the upstream for phonon for what I know) do
12 > have any plan to solve this mess?
13
14 The problem with qt-phonon was that the qt guys decided to use it for
15 multimedia, then just as quickly (but after making it a part of qt4)
16 decided it wasn't really what they needed for the mobile side and went
17 with qt-multimedia instead. So it kind of got dropped as far as
18 continued improvements go, but they had to continue shipping it since it
19 was now part of the qt4 api.
20
21 Of course, then nokia dropped much of their previous Linux/Qt-based-
22 mobile emphasis and went with MS... kind of leaving the mobile-targeted
23 qt-multimedia up in the air. <shrug>
24
25 Qt5 is under development, but I honestly haven't the foggiest what
26 they're doing with multimedia there. Perhaps they'll fully drop phonon.
27 OTOH, perhaps now that the money angle isn't driving it to the same
28 extent and any further platform ports will be purely community driven,
29 perhaps they'll drop qt-multimedia (or keep the name but integrate
30 phonon) and refocus on the desktop.
31
32 Perhaps the best that has come out of the whole mess, is that qt itself
33 is now fully free, sponsored by the qt-foundation, which was in turn
34 setup by nokia, but is fully community governed and steered, now, with
35 the nokia sponsored devs and other community devs now on the same footing
36 -- it's a purely contributions based meritocracy now.
37
38 Meanwhile, while kde-5 is already under development, they're making this
39 one a MUCH more incremental upgrade and AFAIK will keep kde-phonon. Time
40 will tell whether they learned the lessons of the kde3 -> kde4 upgrade or
41 whether they're simply making a bunch more empty promises that will be
42 out like yesterday's bathwater. One thing I know for sure is that they
43 have about zero credibility left to lose at this point, so one way or
44 another, it'll get better: they either pay attention to their users or
45 they'll end up much like xfree86 did when xorg took off.
46
47 But... phonon /should/ be able to be run independently of kde, since that
48 was the idea from the start, both for kde-phonon, and with qt-phonon.
49 For me, however, kde4, now USE=-semantic-desktop and without akonadi,
50 nepomuk, etc (I migrated to claws-mail for mail and run a separate
51 instance of it for my feed-reader so no kdepim to pull in akonadi at all,
52 and I was thus able to kill semantic-desktop entirely), is still my
53 desktop of choice, so I'm running phonon with it and thus will be about
54 zero help in trying to run it independently. But I believe I can still
55 be of help, see below. =:^)
56
57 > Do you know any solution that will let me to have sound from kaffeine
58 > into jack when not running kde?
59
60 I *STRONGLY* recommend that you try smplayer, instead. Back in the kde3
61 era I swore by kaffeine myself, but back when I last tried the kde4
62 kaffeine alpha, back in the kde 4.2/4.3 era when kde and gentoo were
63 dropping kde3 support (with qt3 support already long gone upstream), it
64 was a castrated wimp of its former self, with barely the basics working,
65 non of its former power. Maybe it has improved since then, but I found
66 something even better, for me at least, and haven't looked back.
67
68 I went looking for something else, and stumbled upon the qt-4 based
69 smplayer. For me, smplayer had all the configurability and power of
70 kaffeine for kde3, if not more, and I've been using it ever since. =:^)
71 As mentioned it's qt4 based, and can skin to look like a kde app if
72 desired. However, because it's only qt4, not kde4, it doesn't require
73 any of the kde4 infrastructure, including the phonon that's giving you so
74 much problems.
75
76 But still a couple of caveats, that might or might not affect your
77 usage. First, smplayer is (as the name implies) mplayer based, not xine-
78 based as is kaffeine. I was originally a bit leery of that as I'd had
79 problems with mplayer back in the day, but the problems seem to have been
80 worked out and at least via smplayer, mplayer seems to be fine, now.
81 =:^) Second, while smplayer appears to have tv-tuner-card functionality
82 similar to that of kaffeine, I don't have such a device, so have no idea
83 how it compares in that regard. All I know is that it /more/ than
84 exceeded my expectations in regard to playing computer and dvd media, and
85 is if anything, even more configurable, hotkeys, etc, than kaffeine was.
86
87 So... I HIGHLY recommend that you try smplayer. I certainly haven't
88 looked back at kaffeine since I did. Hopefully you'll be as happy with
89 it as I've been. =:^)
90
91
92 Meanwhile, back to phonon, if it's still needed after you try smplayer...
93 I had some problems with phonon-xine too. As you mention, it's
94 deprecated and doesn't get a lot of love, these days. There's other
95 backends, however.
96
97 phonon-vlc is the one I use. Of course, that means installing yet
98 another media player, but phonon-vlc works well, here. (At least on my
99 main machine, however, smplayer still works better than vlc, tho. But on
100 my netbook with its much lower resolution and Intel based graphics, I had
101 some problems with the various smplayer video backends, and vlc seems to
102 bypass them so works better, there.)
103
104 The upstream default phonon-backend is phonon-gstreamer, probably because
105 so many distributions ship gnome by default, thus making gstreamer the
106 best integrated phonon-backend for them. But as with mplayer, I had
107 problems with gstreamer back in the day, and haven't had it on my system
108 since. Very likely, again just like mplayer, the problems are long
109 worked out and gstreamer would be fine, but as I'm sure you know, gentoo's
110 build-from-sources approach tends to encourage the good security practice
111 of only installing what you actually use, and I've simply never needed to
112 try gstreamer since I had those problems, as there have always been other
113 working alternatives.
114
115 So if you need to keep phonon, do try one of the other backends, either
116 phonon-gstreamer or phonon-vlc, depending on what fits in best on your
117 system. Either one is likely to work better than the deprecated phonon-
118 xine. I know phonon-vlc has solved my problems here, and when others
119 have reported problems with their backend (mostly on the kde lists, a
120 couple of which I'm a regular on) and I suggested switching, some of them
121 chose phonon-gstreamer and reported back that it solved their problems.
122 But OTOH, I've had a couple people who were on the gstreamer backend
123 report problems, that went away when they switched to a different one.
124 But there's at least the three to choose from, so if one has problems, do
125 try another. I've never had anyone that reported failure with all three
126 backends, tho that was in the kde context, and your problem may not be
127 the backend, but phonon/kde4 itself. Still, it's worth giving the
128 different backends a try, if you still need phonon after giving smplayer
129 a try, anyway.
130
131 --
132 Duncan - List replies preferred. No HTML msgs.
133 "Every nonfree program has a lord, a master --
134 and if you use the program, he is your master." Richard Stallman

Replies

Subject Author
Re: [gentoo-desktop] Re: phonon Dominique Michel <dominique.michel@××××××.ch>