diff options
Diffstat (limited to 'mt-work/test.sh')
-rw-r--r-- | mt-work/test.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mt-work/test.sh b/mt-work/test.sh new file mode 100644 index 0000000000..a88a35bfe6 --- /dev/null +++ b/mt-work/test.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +fn=`basename "$1"` +for th in 1 2 3 4; do + time ./ffmpeg_g -threads $th -flags2 +fast -vsync 0 -y -t 30 -i "$1" -an -f framecrc "crc/$fn-$th.txt" >/dev/null 2>&1 +done + +./ffmpeg_g -threads 1 -y -t 10 -i "$1" -an -f framecrc "crc/$fn-1-vsync.txt" >/dev/null 2>&1 +./ffmpeg_g -threads 3 -y -t 10 -i "$1" -an -f framecrc "crc/$fn-3-vsync.txt" >/dev/null 2>&1 + +md5 "crc/$fn-"[1234].txt +echo +md5 "crc/$fn-"*vsync.txt |