Mercurial > mplayer.hg
view TOOLS/mpconsole @ 14874:3d383a0ea7fa
1.159: fix missing check against lame_init_params that was leading to video only files on low (under 32) audio bitrates
1.161: MEncoder multiple files patch by Oded Shimon (ods15)
1.162: Have OSS audio out fall back to s16ne instead of u8 if...
author | kraymer |
---|---|
date | Tue, 01 Mar 2005 17:43:01 +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