[MPlayer-users] slave mode question

Bahadir Yagan bahadir.yagan at mentorsystem.com
Fri Feb 6 12:22:44 CET 2004


Bahadir Yagan wrote:

> Jonas Beskow wrote:
> 
>> Greetings,
>>
>> I want to control mplayer from another program. I'm suspecting that 
>> the slave-option is the way to do it, but I can't find any 
>> documentation about how it works. Specifically, after launching 
>> mplayer as a sub-process to my application, i want to be able to
>>
>> - open a new file
>> - go to a specific position in the movie and freeze the picture
>> - play a movie from one given position to another
>> - prevent mplayer from exiting when it reaches the end of the file
>>
>> I would be much grateful if someone could tell me how to accomplish 
>> this, or point me to other programs/frontends that use mplayer as a 
>> sub-process to acheive similar things!
>>
>> best regards
>> - Jonas
>>

You should pass those commands to the standard input of mplayer process. 
See also the project called mplayerd, a program to control mplayer over 
tcp/ip.

-- 
Bahadır Yağan
Mentor Mühendislik
(312) 266 73 68




More information about the MPlayer-users mailing list