![]() Registered Member ![]()
|
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!!
|
![]() Registered Member ![]()
|
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. |
![]() Registered Member ![]()
|
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!!
|
![]() Registered Member ![]()
|
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. |
![]() Administrator ![]()
|
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):
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 |
![]() Registered Member ![]()
|
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!!
|
![]() Registered Member ![]()
|
You can do that by going into System settings > Computer Administration > Multimedia, and changing it to the other one in the "Backend" tab.
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!
|
![]() Administrator ![]()
|
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] |
![]() Registered Member ![]()
|
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. |
![]() Registered Member ![]()
|
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
![]() |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]