diff --git a/TOOLS/benchmark/test-all.sh b/TOOLS/benchmark/test-all.sh new file mode 100755 index 0000000000..0c889843c4 --- /dev/null +++ b/TOOLS/benchmark/test-all.sh @@ -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 diff --git a/TOOLS/benchmark/test.sh b/TOOLS/benchmark/test.sh new file mode 100755 index 0000000000..e83eba86aa --- /dev/null +++ b/TOOLS/benchmark/test.sh @@ -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 "" diff --git a/TOOLS/benchmark/test1.sh b/TOOLS/benchmark/test1.sh new file mode 100755 index 0000000000..4459bff3cb --- /dev/null +++ b/TOOLS/benchmark/test1.sh @@ -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 ""