Statistics
| Branch: | Revision:

ffmpeg / mt-work / test.sh @ d375c104

History | View | Annotate | Download (426 Bytes)

1
#!/bin/bash
2

    
3
fn=`basename "$1"`
4
for th in 1 2 3 4; do
5
    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
6
done
7

    
8
./ffmpeg_g -threads 1 -y -t 10 -i "$1" -an -f framecrc "crc/$fn-1-vsync.txt" >/dev/null 2>&1
9
./ffmpeg_g -threads 3 -y -t 10 -i "$1" -an -f framecrc "crc/$fn-3-vsync.txt" >/dev/null 2>&1
10

    
11
md5 "crc/$fn-"[1234].txt
12
echo
13
md5 "crc/$fn-"*vsync.txt