mirror of
https://github.com/mpv-player/mpv
synced 2024-12-24 07:33:46 +01:00
scripts
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2264 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
9efe559634
commit
946d610032
8
TOOLS/benchmark/test-all.sh
Executable file
8
TOOLS/benchmark/test-all.sh
Executable file
@ -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
|
16
TOOLS/benchmark/test.sh
Executable file
16
TOOLS/benchmark/test.sh
Executable file
@ -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 ""
|
10
TOOLS/benchmark/test1.sh
Executable file
10
TOOLS/benchmark/test1.sh
Executable file
@ -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 ""
|
Loading…
Reference in New Issue
Block a user