[mythtv-users] Has anyone figured out how to foreground mplayer?
Joseph A. Caputo
jcaputo1 at comcast.net
Fri Jan 28 16:41:34 EST 2005
On Friday 28 January 2005 16:03, Mike Green wrote:
> I am running mythtv 0.16, mythdvd, and mythvideo. No window manager,
just
> launch mythfrontend on bootup via my .xinitrc. I am not using lirc, I
went
> the wireless keyboard with universal learning remote route.
>
> I can run mplayer directly from .xinitrc instead of mythfrontend and
the
> remote works fine. Launching a video from mythdvd or mythvideo
launches
> mplayer fullscreen, but my remote will not work. Alt tab won't work
since
> there is no window manager. My launch command is:
>
> mplayer -fs -zoom -quiet -vo x11 -ao alsa %s
>
> I have tried variations of the -fstype argument (above, fullscreen,
> stays_on_top, etc...).
>
> Is there some sort of app-default property I can set in X or
something?
Is the only problem that your remote isn't working? I'll bet you're
using irxevent to control things, aren't you? MPlayer has built-in
lirc support, so if you set up a .lircrc file for it, then you won't
have to worry about whether the window has focus in order for it to get
LIRC events. I think Jarod might even have a sample MPlayer .lircrc on
his site.
Also, not that it's related, but why are you using "-vo x11" in your
command line? Unless you're using a PVR-350 for output, or some other
video card that doesn't support Xv, you probably want "-vo xv".
Running "mplayer -vo help" will list all available output methods.
Some other good ones might be xvmc (for hardware-accelerated MPEG-2
decoding, if your card has it), gl, gl2, dga, or sdl. Any of those, I
think, will give you hardware-accelerated 2D video scaling; the 'x11'
output method will not, IIUC. By using "-vo x11" you're forcing your
CPU to do the scaling instead of your video card.
-JAC
More information about the mythtv-users
mailing list