Commit d2f8f410 authored by Michael Niedermayer's avatar Michael Niedermayer

flashsv regression test

closes issue5

Originally committed as revision 9912 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 775369e0
...@@ -161,6 +161,10 @@ stddev: 8.50 PSNR:29.52 bytes:7602176 ...@@ -161,6 +161,10 @@ stddev: 8.50 PSNR:29.52 bytes:7602176
1365791 ./tests/data/a-svq1.mov 1365791 ./tests/data/a-svq1.mov
fb0a97094a89d6f379535f615783d00c *./tests/data/out.yuv fb0a97094a89d6f379535f615783d00c *./tests/data/out.yuv
stddev: 10.98 PSNR:27.30 bytes:7602176 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 21f8ff9f1daacd9133683bb4ea0f50a4 *./tests/data/a-mp2.mp2
95712 ./tests/data/a-mp2.mp2 95712 ./tests/data/a-mp2.mp2
83f8df5d5f84480566af548bb037fceb *./tests/data/out.wav 83f8df5d5f84480566af548bb037fceb *./tests/data/out.wav
......
...@@ -87,6 +87,7 @@ else ...@@ -87,6 +87,7 @@ else
do_adpcm_yam=y do_adpcm_yam=y
do_dv=y do_dv=y
do_dv50=y do_dv50=y
do_flashsv=y
fi fi
...@@ -512,6 +513,13 @@ do_video_encoding svq1.mov "" pgmyuv "-an -vcodec svq1 -qscale 3 -pix_fmt yuv410 ...@@ -512,6 +513,13 @@ do_video_encoding svq1.mov "" pgmyuv "-an -vcodec svq1 -qscale 3 -pix_fmt yuv410
do_video_decoding "" "-pix_fmt yuv420p" do_video_decoding "" "-pix_fmt yuv420p"
fi 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 if [ -n "$do_mp2" ] ; then
# mp2 # mp2
......
...@@ -161,6 +161,10 @@ stddev: 3.11 PSNR:38.25 bytes:7602176 ...@@ -161,6 +161,10 @@ stddev: 3.11 PSNR:38.25 bytes:7602176
768407 ./tests/data/a-svq1.mov 768407 ./tests/data/a-svq1.mov
6bc10518bc387c3bdf117997713ee69a *./tests/data/out.yuv 6bc10518bc387c3bdf117997713ee69a *./tests/data/out.yuv
stddev: 3.44 PSNR:37.39 bytes:7602176 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 21f8ff9f1daacd9133683bb4ea0f50a4 *./tests/data/a-mp2.mp2
95712 ./tests/data/a-mp2.mp2 95712 ./tests/data/a-mp2.mp2
83f8df5d5f84480566af548bb037fceb *./tests/data/out.wav 83f8df5d5f84480566af548bb037fceb *./tests/data/out.wav
......
...@@ -481,6 +481,54 @@ ret:-1 st: 0 ts:1.565844 flags:1 ...@@ -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.460008 flags:0
ret:-1 st:-1 ts:-0.645825 flags:1 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 tests/data/a-flv.flv
ret: 0 st: 0 dts:0.000000 pts:0.000000 pos:199 size:10380 flags:1 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 ret: 0 st:-1 ts:-1.000000 flags:0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment