get_percent:pos Re: [MPlayer-dev-eng] None

Balatoni Denes pnis at coder.hu
Fri May 23 21:00:45 CEST 2003


Hi!

Take a look at the output in practice but iirc it will output
ANS_PERCENT_POS=1892364
ANS_TIME_LENGTH=918234
so it is possible to parse it (works for me btw).
You should look at input/input.c for a listing of all slavemode commands.

bye
Denes

On 2003. május 23. 18.55, shane bradley wrote:
> When you use the slave mode of mplayer, how do u retrieve a value from lets
> say:
>
> get_percent_pos
> get_time_length
>
> I am not sure how the return val is handled....isnt it just writing to
> standard in...so it will just be a character.
>
> All i get is a 'Ans = 0',   I do not know much C so...i am trying to write
> a java interface for mplayer.
>
> BTW is there any documentation on slave option. The documentation that I
> have read is a little sparse on it.
>
> later,
>
> shane Bradley
> Go Canes...
>
> _________________________________________________________________
> Help STOP SPAM with the new MSN 8 and get 2 months FREE*
> http://join.msn.com/?page=features/junkmail
>
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng




More information about the MPlayer-dev-eng mailing list