diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-12-14 01:42:00 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-12-14 01:42:00 +0000 |
commit | 7ebfc0ea630e38a9c9653cdc9fe46f8b00e915a9 (patch) | |
tree | 4d99bbf321f7947c990d171ecf0deb1f9a4de730 /tests | |
parent | d55f7b6521016250c2f22397454c05fc8ace600a (diff) | |
download | ffmpeg-7ebfc0ea630e38a9c9653cdc9fe46f8b00e915a9.tar.gz |
error concealment regression test
Originally committed as revision 2606 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ffmpeg.regression.ref | 3 | ||||
-rwxr-xr-x | tests/regression.sh | 11 | ||||
-rw-r--r-- | tests/rotozoom.regression.ref | 3 |
3 files changed, 17 insertions, 0 deletions
diff --git a/tests/ffmpeg.regression.ref b/tests/ffmpeg.regression.ref index cc6738eb1f..211d907743 100644 --- a/tests/ffmpeg.regression.ref +++ b/tests/ffmpeg.regression.ref @@ -38,6 +38,9 @@ stddev: 10.18 bytes:7145472 b3f1425e266569d5d726b88eadc13dd4 *./data/a-mpeg4-adv.avi fb61365b22c947adbaeab74478579020 *./data/out.yuv stddev: 7.31 bytes:7602176 +25ec5ab399fd4db0c8aaea78cb692611 *./data/a-error-mpeg4-adv.avi +bd441fc1e2fb9a3c0bdc9c5f1ed25ef0 *./data/out.yuv +stddev: 13.57 bytes:7602176 328ebd044362116e274739e23c482ee7 *./data/a-mpeg1b.mpg 41b3baa7d8c17202e6577947ac37cad0 *./data/out.yuv stddev: 6.32 bytes:6842368 diff --git a/tests/regression.sh b/tests/regression.sh index d410da3a30..0a895f6f45 100755 --- a/tests/regression.sh +++ b/tests/regression.sh @@ -53,6 +53,7 @@ else do_asv2=y do_flv=y do_ffv1=y + do_error=y fi @@ -244,6 +245,16 @@ do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst fi ################################### +if [ -n "$do_error" ] ; then +# damaged mpeg4 +file=${outfile}error-mpeg4-adv.avi +do_ffmpeg $file -y -qscale 7 -4mv -mbd 2 -part -ps 250 -error 10 -aic -f pgmyuv -i $raw_src -an -vcodec mpeg4 $file + +# damaged mpeg4 decoding +do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst +fi + +################################### if [ -n "$do_mpeg1b" ] ; then # mpeg1 file=${outfile}mpeg1b.mpg diff --git a/tests/rotozoom.regression.ref b/tests/rotozoom.regression.ref index f5f2a09fdd..5173c00a46 100644 --- a/tests/rotozoom.regression.ref +++ b/tests/rotozoom.regression.ref @@ -38,6 +38,9 @@ stddev: 4.20 bytes:7145472 742ffadf3c309d2c4ac888a6a0905bf9 *./data/a-mpeg4-adv.avi b02f71e91e9368ce94814ab3d74f91ba *./data/out.yuv stddev: 4.97 bytes:7602176 +f2888ab759ac28aba85a16d3d54b80d0 *./data/a-error-mpeg4-adv.avi +93ab926aad2e658a5bb00c25b7cefdab *./data/out.yuv +stddev: 5.22 bytes:7602176 671802a2c5078e69f7f422765ea87f2a *./data/a-mpeg1b.mpg 71e80b8ff8da567f1bbff000cd925627 *./data/out.yuv stddev: 4.07 bytes:6842368 |