aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-11-03 21:59:21 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-11-03 21:59:21 +0000
commitf3203047ebce0da2c43fb4e61d86c7fe2a94d8d2 (patch)
tree1a3e28daae25bde4e4cafb2a46e6be06d84bf5fa /tests
parente45ccf79be6f157a190c5c9c58e246b5b03c3510 (diff)
downloadffmpeg-f3203047ebce0da2c43fb4e61d86c7fe2a94d8d2.tar.gz
ffv1 regression test
Originally committed as revision 2477 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests')
-rw-r--r--tests/ffmpeg.regression.ref3
-rwxr-xr-xtests/regression.sh11
-rw-r--r--tests/rotozoom.regression.ref3
3 files changed, 17 insertions, 0 deletions
diff --git a/tests/ffmpeg.regression.ref b/tests/ffmpeg.regression.ref
index c47c6c23c2..834fc8a738 100644
--- a/tests/ffmpeg.regression.ref
+++ b/tests/ffmpeg.regression.ref
@@ -56,6 +56,9 @@ stddev: 17.98 bytes:7602176
37a528aa9efc28c5c3cc8191da90e012 *./data/a-flv.flv
57ea0821ec4377e96647adc22717a4ba *./data/out.yuv
stddev: 8.19 bytes:7602176
+0ed9b02681d6d44bf8c390ba6c4f5c66 *./data/a-ffv1.avi
+799d3db687f6cdd7a837ec156efc171f *./data/out.yuv
+stddev: 0.00 bytes:7602176
21f8ff9f1daacd9133683bb4ea0f50a4 *./data/a-mp2.mp2
624d9789f3ac193bbae4af3bd8cb02b7 *./data/out.wav
d056da679e6d6682812fffb28a7f0db6 *./data/a-ac3.rm
diff --git a/tests/regression.sh b/tests/regression.sh
index 941b54bdf6..06b25969a4 100755
--- a/tests/regression.sh
+++ b/tests/regression.sh
@@ -52,6 +52,7 @@ else
do_asv1=y
do_asv2=y
do_flv=y
+ do_ffv1=y
fi
@@ -306,6 +307,16 @@ do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
fi
###################################
+if [ -n "$do_ffv1" ] ; then
+# ffv1 encoding
+file=${outfile}ffv1.avi
+do_ffmpeg $file -y -strict -1 -f pgmyuv -i $raw_src -an -vcodec ffv1 $file
+
+# ffv1 decoding
+do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
+fi
+
+###################################
if [ -n "$do_mp2" ] ; then
# mp2 encoding
file=${outfile}mp2.mp2
diff --git a/tests/rotozoom.regression.ref b/tests/rotozoom.regression.ref
index 6c035cf4c3..bffc429fbe 100644
--- a/tests/rotozoom.regression.ref
+++ b/tests/rotozoom.regression.ref
@@ -56,6 +56,9 @@ stddev: 9.71 bytes:7602176
bee27a404ab6a1b7ab1d3551eb4f1877 *./data/a-flv.flv
86da6ee46d2df190b4a0d72523b14a25 *./data/out.yuv
stddev: 5.29 bytes:7602176
+0db09835ebc3d22f166f30879f3ccc38 *./data/a-ffv1.avi
+dde5895817ad9d219f79a52d0bdfb001 *./data/out.yuv
+stddev: 0.00 bytes:7602176
21f8ff9f1daacd9133683bb4ea0f50a4 *./data/a-mp2.mp2
624d9789f3ac193bbae4af3bd8cb02b7 *./data/out.wav
d056da679e6d6682812fffb28a7f0db6 *./data/a-ac3.rm