view TOOLS/mpconsole @ 27127:71a085d7aa71

r25605: properties to get and set angle r25663: add support for per protocol and per extension playback profile loading r25947: Add windows cp1256 encoding for arabic, fixes bug #1007 r26067: Check glyph bounding box before rasterizing and complain if it is too large. r26649: Fix some not entirely correct and misleading messages. r26762: Add a new suboption to -vo xv and -vo xvmc that allows ... r26795: Add support for AppleIR Remote as an input under Linux systems.
author kraymer
date Mon, 30 Jun 2008 12:39:37 +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