[MPlayer-dev-eng] New Features
Reimar Döffinger
Reimar.Doeffinger at stud.uni-karlsruhe.de
Fri Aug 26 19:11:01 CEST 2005
Hi,
On Fri, Aug 26, 2005 at 04:14:42PM +0200, oliver.henning at nextiraone.de wrote:
> Slave interface:
> ----------------------
>
> - 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]
Huh? that function is available in CVS, what is the problem with it? Or
did you only test pre7?
> - get_playing 2== paused 1 == playing 0 == not playing
If you don't use -quiet you can parse the statusline output. Doing it
differently is difficult because the main loop is not executed when
MPlayer is paused. And currently MPlayer does not have a not playing
state I think?
> -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)
manually resizing does not preserve aspect unless your windowmanager does
it.
> -move <left>:<top> move MPlayer window
Not sure if those two shouldn't preferably be implemented via the -wid
interface (though I know this is difficult to use from e.g. Java).
> Command line options
> ---------------------------------
>
> -no_window_decoration
Might be nice to have, though there is no guarantee it will work, since
it depends on the window manager.
> -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)
-screenwidth/-screenheight or some of the other options might actually do it...
Greetings,
Reimar Döffinger
More information about the MPlayer-dev-eng
mailing list