AW: [MPlayer-dev-eng] New Features

oliver.henning at nextiraone.de oliver.henning at nextiraone.de
Fri Aug 26 16:42:23 CEST 2005


> > - get_time_pos    current position as time in 1/10th second 
> precision
> >   [get_percent_pos is not precise enough as 1% of a long movie can 
> > mean time resolution of 1 minute or more]
> 
> It's that unprecise because it's just an estimate anyways.

I saw in the code that the percent_pos is calculated by division of
frames. Would it not be possible to divide that by the fps value of the
video to get the time?

> > -fit   <width>:<height>  rescale the image to fit into the 
> given width
> > and height, preserving aspect ratio (just like manually 
> resizing the 
> > MPlayer window with the mouse)
> 
> That's not easily possible with the current libvo interface.
> Beside, AFAIK it is not even possible to reconfigure some 
> modules because of the limitations of the underlying system.

But if I manually resize the window with the mouse, the image is
rescaled. How is that done?> 

> Tell your WM, it's not the job of MPlayer to tell the WM what 
> it should do.

It would have one advantage though: a plattform-indepent way to do it. I
use with JAVA, so I could really use it.

Thanks for the resonse. I will familiarize myself with the code and see
what I can do...

Oliver




More information about the MPlayer-dev-eng mailing list