changeset 2263:351aaf1eff87

scripts
author arpi
date Thu, 18 Oct 2001 21:06:04 +0000
parents 8cae22120633
children 7851375ea156
files TOOLS/benchmark/test-all.sh TOOLS/benchmark/test.sh TOOLS/benchmark/test1.sh
diffstat 3 files changed, 34 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/TOOLS/benchmark/test-all.sh	Thu Oct 18 21:06:04 2001 +0000
@@ -0,0 +1,8 @@
+
+./test.sh /3d/divx/Coyote.Ugly.Sample-highbitrate-atmos.avi
+./test.sh /3d/divx/sample.light.it.up.avi
+./test.sh /3d/divx/405divx_sm_v2[1].avi
+./test.sh /3d/divx/MI2-Trailer.avi
+./test.sh /3b/hannibal.avi
+./test.sh /3b/huge_bands.avi
+./test.sh /3b/Star_Wars_Episode_1.avi
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/TOOLS/benchmark/test.sh	Thu Oct 18 21:06:04 2001 +0000
@@ -0,0 +1,16 @@
+
+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 ""
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/TOOLS/benchmark/test1.sh	Thu Oct 18 21:06:04 2001 +0000
@@ -0,0 +1,10 @@
+
+sync
+sleep 1
+cat $2 >/dev/null
+sleep 2
+$* -benchmark -nosound | grep BENCHMARKs
+$* -benchmark -nosound | grep BENCHMARKs
+$* -benchmark -nosound | grep BENCHMARKs
+# $* -benchmark -nosound | grep BENCHMARKs
+# echo ""