Mercurial > mplayer.hg
view TOOLS/mpconsole @ 20276:f0f6217f58e2
r20257: Disable loading of file-specific configuration file from the same
directory as the played file. Add a command-line switch to enable it.
r20260: Update x264 option names that changed with r20060
r20264: small grammar fix
r20265: Use American spelling of "gray" instead for British's "grey" for XviD option
r20277: Update x264 option names that changed with r20060
r20279: mention new -use-filedir-conf option in general config description
r20280: remove me=3 leftover (x264)
author | kraymer |
---|---|
date | Tue, 17 Oct 2006 11:21:11 +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