regression tests for dv

Originally committed as revision 4541 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2005-08-30 19:44:02 +00:00
parent 95ae72b7e0
commit 8fce2707e8
3 changed files with 19 additions and 0 deletions

View File

@ -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

View File

@ -77,6 +77,7 @@ else
do_svq1=y
do_snow=y
do_adpcm_yam=y
do_dv=y
fi
@ -461,6 +462,16 @@ do_ffmpeg $file -y -strict -2 -f pgmyuv -i $raw_src -an -vcodec snow -pred 1 -qp
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

View File

@ -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