Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Howto use a single session only of mplayer :
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
mikepb78
Apprentice
Apprentice


Joined: 27 Feb 2003
Posts: 171
Location: London

PostPosted: Tue Apr 15, 2003 12:06 am    Post subject: Howto use a single session only of mplayer : Reply with quote

You know that nice feature of xmms that always for only one instance. Well here is how you do it for divx/avi/svcds etc..

1)Xmms-mplayer :
Make avi/mpeg etc.. default to xmms and install then xmms-mplayer from
here.

And now when you click on movies it will run in the one instance of xmms only and therefore the one instance of mplayer. :) Cool or what.

NOTE : Xmms-mplayer is still very much beta code BUT is it awsome :). avi-xmms plugin could also work like this, but is does not support as many file formats and does not have the performance of mplayer.

2) Kmplayer
Kmplayer should also be able to do the same with its dcop interface and when 0.7.4 comes out there will be some nice lots of nice improvements. Here is how to use the dcop interface of kmplayer :

Code:
 Thanks to the KMediaPlayer::Player interface, KMPlayer can be controlled by DCOP. Eg. to open a movie, run
dcop kmplayer-<pid> KMediaPlayer openURL <your movie file>


It should be easy for the author of kmplayer to mimic the behaviour of xmms where can force only one instance of kmplayer.

Kmplayer also allows for embedded playback inside of konqueror while file browsing.

Pornview
Pornview is a file explorer that plays movies in an embedded pane. The new beta version of Pornview uses mplayer or xine for playback.

NOTE : The mplayer command interface has a "run" function, which does not seem to be enabled as yet, this should could also allow for the same kind of functionality.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum