view TOOLS/mpconsole @ 26815:fd3b28579cee

r26675: update paragraphs related to x264, and update its checkout command r26729: MPlayer uses Subversion, not GIT, 10L to me, and thanks to Mizda for spotting this r26287: remove excessive space character r26451: As of r19025, the "above link" refers to an article, not a guide. r26452: Refer to where encoding quality is described. r26453: typo: crahes --> crashes r26474: add better information about inverse-telecining with vf_filmdint r26711: Consistency fix: all DVD encoding examples had ":aspect=16/9" option, so put r26258: fix typo: lavcoptc --> lavcopts
author voroshil
date Wed, 21 May 2008 17:12:57 +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