view TOOLS/benchmark/test.sh @ 7492:5465cbd5c5ef

Modern versions of OpenSSH listen on localhost to forward the X11 connection (X11UseLocalhost defaults to yes). The following patch permits to consider as non local any DISPLAY environment which port is greater or equal to 10 else mplayer tries a local optimization on a distant X server which doesn't work. patch by Denis.Ducamp@groar.org
author arpi
date Mon, 23 Sep 2002 21:17:30 +0000
parents 351aaf1eff87
children
line wrap: on
line source


echo 'File: ' $1
mplayer -frames 0 -vo null $1 | grep VIDEO

echo -n 'DShow DLL  : '
./test1.sh mplayer $1 -vc divxds -vo null |cut -c 15-23 |xargs echo
echo -n 'VfW DLL    : '
./test1.sh mplayer $1 -vc divx -vo null |cut -c 15-23 |xargs echo
echo -n 'DivX4-YV12 : '
./test1.sh mplayer $1 -vc odivx -vo null |cut -c 15-23 |xargs echo
echo -n 'DivX4-YUY2 : '
./test1.sh mplayer $1 -vc divx4 -vo null |cut -c 15-23 |xargs echo
echo -n 'FFmpeg     : '
./test1.sh mplayer $1 -vc ffdivx -vo null |cut -c 15-23 |xargs echo

echo ""