diff options
author | Måns Rullgård <mans@mansr.com> | 2010-03-07 19:25:58 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-03-07 19:25:58 +0000 |
commit | d211b29e05fe69a8f21d1b56df1bab7865f60f48 (patch) | |
tree | b1945cb8bf2261cf1bd254286c700a8418952ee4 /tests/lavf-regression.sh | |
parent | 1e79771c310e3b22984f1cc989afd4434bfcc2c4 (diff) | |
download | ffmpeg-d211b29e05fe69a8f21d1b56df1bab7865f60f48.tar.gz |
regtest: place image sequence outputs in separate directories
Originally committed as revision 22282 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests/lavf-regression.sh')
-rwxr-xr-x | tests/lavf-regression.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/lavf-regression.sh b/tests/lavf-regression.sh index 3f4a677bb3..6e489a6f35 100755 --- a/tests/lavf-regression.sh +++ b/tests/lavf-regression.sh @@ -27,12 +27,14 @@ do_streamed_images() do_image_formats() { - file=${outfile}lavf%02d.$1 + outfile="$datadir/images/$1/" + mkdir -p "$outfile" + file=${outfile}%02d.$1 $echov $ffmpeg -t 0.5 -y -qscale 10 -f image2 -vcodec pgmyuv -i $raw_src $2 $3 -flags +bitexact -sws_flags +accurate_rnd+bitexact $target_path/$file $ffmpeg -t 0.5 -y -qscale 10 -f image2 -vcodec pgmyuv -i $raw_src $2 $3 -flags +bitexact -sws_flags +accurate_rnd+bitexact $target_path/$file - do_md5sum ${outfile}lavf02.$1 >> $logfile + do_md5sum ${outfile}02.$1 >> $logfile do_ffmpeg_crc $file $3 -i $target_path/$file - wc -c ${outfile}lavf02.$1 >> $logfile + wc -c ${outfile}02.$1 >> $logfile } do_audio_only() |