[Mplayer-cvslog] CVS: main/TOOLS mpconsole,NONE,1.1
Arpi of Ize
arpi at mplayer.dev.hu
Thu Jan 17 01:39:30 CET 2002
Update of /cvsroot/mplayer/main/TOOLS
In directory mplayer:/var/tmp.root/cvs-serv25038
Added Files:
mpconsole
Log Message:
console mplayer launcher - by Rich Felker <dalias at aerifal.cx>
--- NEW FILE ---
#!/bin/sh
# Script to run mplayer on the console (fbdev/mga_vid/etc) without
# the console text and/or flashing cursor getting in the way.
# Written by Rich Felker.
trap "tput cnorm ; exit 1" SIGQUIT SIGINT EXIT
res=`fbset | grep geometry | sed 's/^ *//'`
width=`echo "$res" | cut -d' ' -f2`
height=`echo "$res" | cut -d' ' -f3`
tput civis
clear
mplayer -vo mga -screenw "$width" -screenh "$height" "$@" >/dev/null 2>&1
More information about the MPlayer-cvslog
mailing list