[MPlayer-dev-eng] get_percent_pos and get_time_length problem

shane bradley sb_mplayer at hotmail.com
Sat Oct 25 00:16:16 CEST 2003


where do u get a list of the possible slave mode commands? For example, get_time_length and get_percent_pos.

How do u use them? I have been looking for something like that with my application. 



Ben Nemec wrote:

> I'm having some trouble with get_percent_pos and get_time_length in slave
> mode.  I'll start with get_time_length.  Is there a reason that I would
> continue to get 0 for the answer when I'm playing an mp3?  It has worked
> with the wma and avi files that I have tried, but the plain mp3 keeps
> saying the length is 0.  This has happened with at least two different
> mp3s.  Get_percent_pos works fine as long as I don't seek to any other
> location in the file.  As soon as I seek to a different location (by using
> seek xx 1) get_percent_pos returns 100 all the time.  Are these bugs in
> mplayer, or am I doing something wrong?  Thanks, you guys are great.
>
> -Ben_______________________________________________
>
>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