diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-08-30 19:44:02 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-08-30 19:44:02 +0000 |
commit | 8fce2707e89e57259a1628debcc9a1fff3ade78a (patch) | |
tree | fb61927c9faadd52bdd83a34b99fd64adf25ca96 /tests | |
parent | 95ae72b7e063cb02aa17c7f0c7d759844a37e526 (diff) | |
download | ffmpeg-8fce2707e89e57259a1628debcc9a1fff3ade78a.tar.gz |
regression tests for dv
Originally committed as revision 4541 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ffmpeg.regression.ref | 4 | ||||
-rwxr-xr-x | tests/regression.sh | 11 | ||||
-rw-r--r-- | tests/rotozoom.regression.ref | 4 |
3 files changed, 19 insertions, 0 deletions
diff --git a/tests/ffmpeg.regression.ref b/tests/ffmpeg.regression.ref index b313decf69..bd5f1980f1 100644 --- a/tests/ffmpeg.regression.ref +++ b/tests/ffmpeg.regression.ref @@ -127,6 +127,10 @@ de8eac1454746a37eae0b1ff88c0f849 *./data/a-snow53.avi 3535414 ./data/a-snow53.avi 799d3db687f6cdd7a837ec156efc171f *./data/out.yuv stddev: 0.00 PSNR:99.99 bytes:7602176 +6f80191e31d7ebe1aebde0a7b8a6d12c *./data/a-dv.dv +7200000 ./data/a-dv.dv +5d4e7b87003931ed0de6b02538e4e5d1 *./data/out.yuv +stddev: 9.25 PSNR:28.80 bytes:7602176 b5b6275f58f012de73644bbaa9080097 *./data/a-svq1.mov 1383999 ./data/a-svq1.mov ccc201054669e94717022bb4f2aea4ce *./data/out.yuv diff --git a/tests/regression.sh b/tests/regression.sh index d29220b4e9..80e28feb5a 100755 --- a/tests/regression.sh +++ b/tests/regression.sh @@ -77,6 +77,7 @@ else do_svq1=y do_snow=y do_adpcm_yam=y + do_dv=y fi @@ -462,6 +463,16 @@ do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst fi ################################### +if [ -n "$do_dv" ] ; then +# dv encoding +file=${outfile}dv.dv +do_ffmpeg $file -dct_algo 2 -y -f pgmyuv -i $raw_src -s pal -an $file + +# dv decoding +do_ffmpeg $raw_dst -y -i $file -f rawvideo -s cif $raw_dst +fi + +################################### if [ -n "$do_svq1" ] ; then # svq1 encoding file=${outfile}svq1.mov diff --git a/tests/rotozoom.regression.ref b/tests/rotozoom.regression.ref index 824e6ba05e..dd087403cf 100644 --- a/tests/rotozoom.regression.ref +++ b/tests/rotozoom.regression.ref @@ -127,6 +127,10 @@ d0a8bdb25d7ed641eab0debcac396eb7 *./data/a-snow53.avi 2725842 ./data/a-snow53.avi dde5895817ad9d219f79a52d0bdfb001 *./data/out.yuv stddev: 0.00 PSNR:99.99 bytes:7602176 +feb77e60f0d3c4cb6856a949cf135f21 *./data/a-dv.dv +7200000 ./data/a-dv.dv +8d6956ba685c53e97dd2a7501d2fe917 *./data/out.yuv +stddev: 3.33 PSNR:37.66 bytes:7602176 920c610ec324b772d882b0717e375943 *./data/a-svq1.mov 768683 ./data/a-svq1.mov 89b1946242e6998e05fc9a6e09668edd *./data/out.yuv |