Mercurial > mplayer.hg
view TOOLS/mpconsole.sh @ 35147:4d8d26a9d66a
Remove nv12/nv21 decoding from vd_hmblck.
The codecs.conf doesn't list nv12/nv21 in the hmblck section,
so the hmblck is never actually used for decoding them.
Instead these pixel formats are passed through rawnv12/21 (vd_raw).
They can be converted to yv12 by vf_scale.
When swscale support hm12 pixel format, this decoder could be completely
removed.
author | iive |
---|---|
date | Thu, 11 Oct 2012 21:50:18 +0000 |
parents | 305dc504c407 |
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