4 echo "sws-test <video-file> <start-pos> <res>"
5 echo "example: sws-test abc.avi 10 160:120"
9 for i
in `seq 0 10` ; do
10 mplayer
-vo png
$1 -ss $2 -frames 3 -sws $i -vf scale
=$3
12 mv 00000002.png sws-
`basename $1`-$2-$3-$i.png
15 #gauss with lowwer variance
16 mplayer
-vo png
$1 -ss $2 -frames 3 -sws 7 -vf scale
=$3:0:50
18 mv 00000002.png sws-
`basename $1`-$2-$3-7-50.png