aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-08-04 20:35:50 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-08-04 20:35:50 +0000
commitd2f8f410bc3fb4e3b590f2c1db21f1982d734658 (patch)
treea939c62e69d37425713f06265d0b4bab34ad8f46
parent775369e028e59523cd8e52df2c4aef6e56a259b4 (diff)
downloadffmpeg-d2f8f410bc3fb4e3b590f2c1db21f1982d734658.tar.gz
flashsv regression test
closes issue5 Originally committed as revision 9912 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--tests/ffmpeg.regression.ref4
-rwxr-xr-xtests/regression.sh8
-rw-r--r--tests/rotozoom.regression.ref4
-rw-r--r--tests/seek.regression.ref48
4 files changed, 64 insertions, 0 deletions
diff --git a/tests/ffmpeg.regression.ref b/tests/ffmpeg.regression.ref
index 18d7f5e2f1..6e1a5a40c0 100644
--- a/tests/ffmpeg.regression.ref
+++ b/tests/ffmpeg.regression.ref
@@ -161,6 +161,10 @@ stddev: 8.50 PSNR:29.52 bytes:7602176
1365791 ./tests/data/a-svq1.mov
fb0a97094a89d6f379535f615783d00c *./tests/data/out.yuv
stddev: 10.98 PSNR:27.30 bytes:7602176
+7f1f97c37bfff641d0f137f9774c0112 *./tests/data/a-flashsv.flv
+14685499 ./tests/data/a-flashsv.flv
+0f8637e9b861230aff9894825af83720 *./tests/data/out.yuv
+stddev: 2.84 PSNR:39.04 bytes:7602176
21f8ff9f1daacd9133683bb4ea0f50a4 *./tests/data/a-mp2.mp2
95712 ./tests/data/a-mp2.mp2
83f8df5d5f84480566af548bb037fceb *./tests/data/out.wav
diff --git a/tests/regression.sh b/tests/regression.sh
index e1446c5a1b..bdb687d4c0 100755
--- a/tests/regression.sh
+++ b/tests/regression.sh
@@ -87,6 +87,7 @@ else
do_adpcm_yam=y
do_dv=y
do_dv50=y
+ do_flashsv=y
fi
@@ -513,6 +514,13 @@ do_video_decoding "" "-pix_fmt yuv420p"
fi
###################################
+if [ -n "$do_flashsv" ] ; then
+# svq1
+do_video_encoding flashsv.flv "" pgmyuv "-an -vcodec flashsv "
+do_video_decoding "" "-pix_fmt yuv420p"
+fi
+
+###################################
if [ -n "$do_mp2" ] ; then
# mp2
do_audio_encoding mp2.mp2 "-ar 44100"
diff --git a/tests/rotozoom.regression.ref b/tests/rotozoom.regression.ref
index c73dbcc614..d1b2b9e294 100644
--- a/tests/rotozoom.regression.ref
+++ b/tests/rotozoom.regression.ref
@@ -161,6 +161,10 @@ stddev: 3.11 PSNR:38.25 bytes:7602176
768407 ./tests/data/a-svq1.mov
6bc10518bc387c3bdf117997713ee69a *./tests/data/out.yuv
stddev: 3.44 PSNR:37.39 bytes:7602176
+e0b42dde0cc71c294664da94721395ac *./tests/data/a-flashsv.flv
+12368839 ./tests/data/a-flashsv.flv
+a63d4e3ea1f0b0c0d44821da9e09b8f4 *./tests/data/out.yuv
+stddev: 0.67 PSNR:51.57 bytes:7602176
21f8ff9f1daacd9133683bb4ea0f50a4 *./tests/data/a-mp2.mp2
95712 ./tests/data/a-mp2.mp2
83f8df5d5f84480566af548bb037fceb *./tests/data/out.wav
diff --git a/tests/seek.regression.ref b/tests/seek.regression.ref
index f732c74a63..fc2c3ec58f 100644
--- a/tests/seek.regression.ref
+++ b/tests/seek.regression.ref
@@ -481,6 +481,54 @@ ret:-1 st: 0 ts:1.565844 flags:1
ret:-1 st:-1 ts:0.460008 flags:0
ret:-1 st:-1 ts:-0.645825 flags:1
----------------
+tests/data/a-flashsv.flv
+ret: 0 st: 0 dts:0.000000 pts:0.000000 pos:199 size:240780 flags:1
+ret: 0 st:-1 ts:-1.000000 flags:0
+ret: 0 st: 0 dts:0.000000 pts:0.000000 pos:199 size:240780 flags:1
+ret: 0 st:-1 ts:1.894167 flags:1
+ret: 0 st: 0 dts:0.800000 pts:0.800000 pos:4820523 size:245529 flags:1
+ret: 0 st: 0 ts:0.788000 flags:0
+ret: 0 st: 0 dts:0.800000 pts:0.800000 pos:4820523 size:245529 flags:1
+ret:-1 st: 0 ts:-0.317000 flags:1
+ret:-1 st:-1 ts:2.576668 flags:0
+ret: 0 st:-1 ts:1.470835 flags:1
+ret: 0 st: 0 dts:1.440000 pts:1.440000 pos:8811872 size:253019 flags:1
+ret: 0 st: 0 ts:0.365000 flags:0
+ret: 0 st: 0 dts:0.400000 pts:0.400000 pos:2387438 size:241071 flags:1
+ret:-1 st: 0 ts:-0.741000 flags:1
+ret:-1 st:-1 ts:2.153336 flags:0
+ret: 0 st:-1 ts:1.047503 flags:1
+ret: 0 st: 0 dts:1.040000 pts:1.040000 pos:6302761 size:248908 flags:1
+ret: 0 st: 0 ts:-0.058000 flags:0
+ret: 0 st: 0 dts:0.000000 pts:0.000000 pos:199 size:240780 flags:1
+ret: 0 st: 0 ts:2.836000 flags:1
+ret: 0 st: 0 dts:1.960000 pts:1.960000 pos:12114602 size:254233 flags:1
+ret: 0 st:-1 ts:1.730004 flags:0
+ret: 0 st: 0 dts:1.760000 pts:1.760000 pos:10843511 size:253928 flags:1
+ret: 0 st:-1 ts:0.624171 flags:1
+ret: 0 st: 0 dts:0.600000 pts:0.600000 pos:3598850 size:243415 flags:1
+ret: 0 st: 0 ts:-0.482000 flags:0
+ret: 0 st: 0 dts:0.000000 pts:0.000000 pos:199 size:240780 flags:1
+ret: 0 st: 0 ts:2.413000 flags:1
+ret: 0 st: 0 dts:1.960000 pts:1.960000 pos:12114602 size:254233 flags:1
+ret: 0 st:-1 ts:1.306672 flags:0
+ret: 0 st: 0 dts:1.320000 pts:1.320000 pos:8053620 size:252181 flags:1
+ret: 0 st:-1 ts:0.200839 flags:1
+ret: 0 st: 0 dts:0.200000 pts:0.200000 pos:1187811 size:238542 flags:1
+ret: 0 st: 0 ts:-0.905000 flags:0
+ret: 0 st: 0 dts:0.000000 pts:0.000000 pos:199 size:240780 flags:1
+ret: 0 st: 0 ts:1.989000 flags:1
+ret: 0 st: 0 dts:1.960000 pts:1.960000 pos:12114602 size:254233 flags:1
+ret: 0 st:-1 ts:0.883340 flags:0
+ret: 0 st: 0 dts:0.920000 pts:0.920000 pos:5559227 size:247287 flags:1
+ret:-1 st:-1 ts:-0.222493 flags:1
+ret:-1 st: 0 ts:2.672000 flags:0
+ret: 0 st: 0 ts:1.566000 flags:1
+ret: 0 st: 0 dts:1.560000 pts:1.560000 pos:9572141 size:254223 flags:1
+ret: 0 st:-1 ts:0.460008 flags:0
+ret: 0 st: 0 dts:0.480000 pts:0.480000 pos:2870244 size:242355 flags:1
+ret:-1 st:-1 ts:-0.645825 flags:1
+----------------
tests/data/a-flv.flv
ret: 0 st: 0 dts:0.000000 pts:0.000000 pos:199 size:10380 flags:1
ret: 0 st:-1 ts:-1.000000 flags:0