Mercurial > mplayer.hg
view TOOLS/mpconsole @ 24416:bc46e44e1f69
DOCS/tech/colorspaces.txt says I420 and IYUV are the same, so add IYUV at the
same place. It can't break anything worse than it is now (i.e. not working/supported
at all) and hopefully triggers a bug report so it gets fixed if it's wrong ;-)
author | reimar |
---|---|
date | Wed, 12 Sep 2007 17:59:31 +0000 |
parents | a818bbab1525 |
children |
line wrap: on
line source
#!/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=`PATH="$PATH:/usr/sbin" 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