This forum has been archived. All content is frozen. Please use KDE Discuss instead.

xine backend for phonon

Tags: None
(comma "," separated)
niraj2820
Registered Member
Posts
12
Karma
0
OS

xine backend for phonon

Tue Sep 08, 2009 2:12 pm
hi,

I am working on mediaplayer which uses qt4.5 with phonon multimedia framework to display the video. Since phonon uses gstremaer library as its default backend library on the linux platform , so my application is using gstreamer at the backend. Can i change the backend to xine library as even phonon-xine backend is available?

Since i am new to this area , i don't know how to change the default backend library used by phonon to Xine instead of Gstreamer. So if anybody can help, then please help!!


niraj


Open Source , Open Mind!!
Kryten2X4B
Registered Member
Posts
911
Karma
4
OS

Re: xine backend for phonon

Tue Sep 08, 2009 4:54 pm
Someone correct me if I'm wrong, but I thought the point of phonon was that the developer shouldn't need to be concerned about whether gstreamer, xine, vlc or whatever other backends are available.

It's up to the user to configure phonon to use whatever backend he or she prefers, and the app shouldn't work any differently or even need to know. Ideally that is. In reality the different backends behave somewhat differently, but that's probably only because they're not as mature.


OpenSUSE 11.4, 64-bit with KDE 4.6.4
Proud to be a member of KDE forums since 2008-Oct.
niraj2820
Registered Member
Posts
12
Karma
0
OS

Re: xine backend for phonon

Tue Sep 08, 2009 8:12 pm
thanks kryten for replying!!

What i mean is
Actually gstreamer is not as good in seeking and fast forwarding the media as xine . For example u take the kaffiene media player .It has an option to play the video with both using xine backend and using gstreamer backend. When it uses xine it works more smoothly than compared to gstreamer.

So, i just anted to know whether it is possible to switch to xine backend to see the user level performance of my program.


Open Source , Open Mind!!
Kryten2X4B
Registered Member
Posts
911
Karma
4
OS

Re: xine backend for phonon

Tue Sep 08, 2009 9:14 pm
niraj2820 wrote:So, i just anted to know whether it is possible to switch to xine backend to see the user level performance of my program.


I don't know how to do it in your own code, but the easiest way to test how well your program works with either backend is to keep both backends (or four, if you have the vlc and mplayer backends available) installed and switch back and forth using system-settings->Computer administration->multimedia.

I agree about the gstreamer-backend. For me it is currently too buggy to use.


OpenSUSE 11.4, 64-bit with KDE 4.6.4
Proud to be a member of KDE forums since 2008-Oct.
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS

Re: xine backend for phonon

Tue Sep 08, 2009 9:21 pm
Please don't post the same topic in several forum sections - it'll just split the information and make it hard find. Here's my reply in the other topic (which I'll remove now):

You want to change the backend in KDE, or change the backend just for your application? As far as I know, one of the purposes of Phonon is that you (the developer) don't have to care which backend the users uses.


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts
niraj2820
Registered Member
Posts
12
Karma
0
OS

Re: xine backend for phonon

Wed Sep 09, 2009 6:28 am
I want to check the performance of my application on the other backend. I hope now i have made my point clear.


Open Source , Open Mind!!
User avatar
Alec
Registered Member
Posts
565
Karma
1
OS

Re: xine backend for phonon

Mon Sep 21, 2009 12:30 am
niraj2820 wrote:I want to check the performance of my application on the other backend. I hope now i have made my point clear.

You can do that by going into System settings > Computer Administration > Multimedia, and changing it to the other one in the "Backend" tab.


Kryten2X4B wrote:(or four, if you have the vlc and mplayer backends available)

Sorry for being off-topic: there are VLC and MPlayer backends now? Are they going to be in KDE 4.4?


Get problems solved faster - get reply notifications through Jabber!
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: xine backend for phonon

Mon Sep 21, 2009 5:06 am
As far as I know, VLC and MPLayer backends have not been integrated, but they do exist.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Kryten2X4B
Registered Member
Posts
911
Karma
4
OS

Re: xine backend for phonon

Mon Sep 21, 2009 10:25 am
Alec wrote:Sorry for being off-topic: there are VLC and MPlayer backends now? Are they going to be in KDE 4.4?


Not sure if they will be mature enough by then, but they exist. I can't find the webpage right now, but I know I saw a page somewhere where their by-then current status was discussed. As far as I remember, the VLC one was the most mature of the two and I think it was hinted at its possible (the VLC one that is) inclusion in Qt 4.6. This is just from memory though so don't quote me on it...

I guess they can be tried out now already if you want to compile them yourself. Along with phonon itself I suppose.


OpenSUSE 11.4, 64-bit with KDE 4.6.4
Proud to be a member of KDE forums since 2008-Oct.
RealNC
Registered Member
Posts
20
Karma
0

Re: xine backend for phonon

Mon Mar 08, 2010 10:55 am
I would be interested in a way to query the available engines from within the application and chose one. Xine just hangs my application and the only way to avoid that would be to choose anything else but Xine. Telling users to switch the back-end before running the app would be just... lame :P


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]