Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

regtest: place image sequence outputs in separate directories

Originally committed as revision 22282 to svn://svn.ffmpeg.org/ffmpeg/trunk
  • Loading branch information...
commit d211b29e05fe69a8f21d1b56df1bab7865f60f48 1 parent 1e79771
Mans Rullgard mansr authored
8 tests/lavf-regression.sh
View
@@ -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()
6 tests/ref/lavf/bmp
View
@@ -1,3 +1,3 @@
-71f4d64a6b3c71f43a4eff526f84841c *./tests/data/lavf/lavf02.bmp
-./tests/data/lavf/lavf%02d.bmp CRC=0xe6c71946
-304182 ./tests/data/lavf/lavf02.bmp
+71f4d64a6b3c71f43a4eff526f84841c *./tests/data/images/bmp/02.bmp
+./tests/data/images/bmp/%02d.bmp CRC=0xe6c71946
+304182 ./tests/data/images/bmp/02.bmp
6 tests/ref/lavf/jpg
View
@@ -1,3 +1,3 @@
-d56c19d41e9754939ea0f15d09bc4a32 *./tests/data/lavf/lavf02.jpg
-./tests/data/lavf/lavf%02d.jpg CRC=0xb8bc5a32
-31763 ./tests/data/lavf/lavf02.jpg
+d56c19d41e9754939ea0f15d09bc4a32 *./tests/data/images/jpg/02.jpg
+./tests/data/images/jpg/%02d.jpg CRC=0xb8bc5a32
+31763 ./tests/data/images/jpg/02.jpg
6 tests/ref/lavf/pcx
View
@@ -1,3 +1,3 @@
-2df1d747fba23d03b6ff9c91b8b465c9 *./tests/data/lavf/lavf02.pcx
-./tests/data/lavf/lavf%02d.pcx CRC=0x6da01946
-364147 ./tests/data/lavf/lavf02.pcx
+2df1d747fba23d03b6ff9c91b8b465c9 *./tests/data/images/pcx/02.pcx
+./tests/data/images/pcx/%02d.pcx CRC=0x6da01946
+364147 ./tests/data/images/pcx/02.pcx
6 tests/ref/lavf/pgm
View
@@ -1,3 +1,3 @@
-388f5c51a678ca6a52cc006095c12f08 *./tests/data/lavf/lavf02.pgm
-./tests/data/lavf/lavf%02d.pgm CRC=0x418d2963
-101391 ./tests/data/lavf/lavf02.pgm
+388f5c51a678ca6a52cc006095c12f08 *./tests/data/images/pgm/02.pgm
+./tests/data/images/pgm/%02d.pgm CRC=0x418d2963
+101391 ./tests/data/images/pgm/02.pgm
6 tests/ref/lavf/ppm
View
@@ -1,3 +1,3 @@
-16d5dadf0b362fc8ba3cb676c5dde985 *./tests/data/lavf/lavf02.ppm
-./tests/data/lavf/lavf%02d.ppm CRC=0x6da01946
-304143 ./tests/data/lavf/lavf02.ppm
+16d5dadf0b362fc8ba3cb676c5dde985 *./tests/data/images/ppm/02.ppm
+./tests/data/images/ppm/%02d.ppm CRC=0x6da01946
+304143 ./tests/data/images/ppm/02.ppm
6 tests/ref/lavf/sgi
View
@@ -1,3 +1,3 @@
-7054acafd275e51cec28d4518e213081 *./tests/data/lavf/lavf02.sgi
-./tests/data/lavf/lavf%02d.sgi CRC=0x6da01946
-308151 ./tests/data/lavf/lavf02.sgi
+7054acafd275e51cec28d4518e213081 *./tests/data/images/sgi/02.sgi
+./tests/data/images/sgi/%02d.sgi CRC=0x6da01946
+308151 ./tests/data/images/sgi/02.sgi
6 tests/ref/lavf/tga
View
@@ -1,3 +1,3 @@
-c0305c53e6d79d4ed9f35f04f671246c *./tests/data/lavf/lavf02.tga
-./tests/data/lavf/lavf%02d.tga CRC=0xe6c71946
-304172 ./tests/data/lavf/lavf02.tga
+c0305c53e6d79d4ed9f35f04f671246c *./tests/data/images/tga/02.tga
+./tests/data/images/tga/%02d.tga CRC=0xe6c71946
+304172 ./tests/data/images/tga/02.tga
6 tests/ref/lavf/tiff
View
@@ -1,3 +1,3 @@
-b3299346a8959553a437e486d8f3bf76 *./tests/data/lavf/lavf02.tiff
-./tests/data/lavf/lavf%02d.tiff CRC=0x6da01946
-307131 ./tests/data/lavf/lavf02.tiff
+b3299346a8959553a437e486d8f3bf76 *./tests/data/images/tiff/02.tiff
+./tests/data/images/tiff/%02d.tiff CRC=0x6da01946
+307131 ./tests/data/images/tiff/02.tiff
Please sign in to comment.
Something went wrong with that request. Please try again.