[MPlayer-dev-eng] Interfacing with MPlayer
danchr at daimi.au.dk
Thu May 22 22:37:19 CEST 2003
On Thursday, May 22, 2003, at 10:07 PM, shane bradley wrote:
> I am writing a java application for mplayer. Most people are saying
> why use java....I am doing this has a grad project of sorts. I use
> Mplayer as an engine of sorts.
> My question are this:
> 1) I use slave mode to interface with mplayer(props to mplayer for
> that), I can run the commands that I need with that. The only problem
> is how do I retrieve the current time and total length of file. I am
> reading standard in, is there some way to pipe just the time out?
> 2) Also is there a way to get the info of a song, such as Artist,
> Genre...etc. with Mplayer?
> 3) Another thing, is there a way to start Mplayer without the info
> that comes up every time you start the app?
Total length and metainformation can be retrieved by passing MPlayer
the "-identify" flag. AFAIK the answer to 3) is no; "-quiet" will calm
it down a bit, but other than that, there's nothing you can do.
> shane Bradley
> Go Canes...
> STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
More information about the MPlayer-dev-eng