diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2006-05-13 17:16:58 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2006-05-13 17:16:58 +0000 |
commit | 307eb248794057e86028a6468ddf257c915151cc (patch) | |
tree | 27fefe5001d337f593c27f180e0f60d12ccb9ec9 /tests | |
parent | d634aa2095b878f01877c4702a655bb0ecc2645a (diff) | |
download | ffmpeg-307eb248794057e86028a6468ddf257c915151cc.tar.gz |
add MPEG-2 intra vlc support
Originally committed as revision 5372 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ffmpeg.regression.ref | 8 | ||||
-rwxr-xr-x | tests/regression.sh | 14 | ||||
-rw-r--r-- | tests/rotozoom.regression.ref | 8 |
3 files changed, 30 insertions, 0 deletions
diff --git a/tests/ffmpeg.regression.ref b/tests/ffmpeg.regression.ref index aff2d6791d..483761379a 100644 --- a/tests/ffmpeg.regression.ref +++ b/tests/ffmpeg.regression.ref @@ -7,6 +7,10 @@ a60d3fb60982786b9761a07c24664e9c *./data/a-mpeg2.mpg 747312 ./data/a-mpeg2.mpg f5b8b9c2a5e162b6c01d6b299d03b117 *./data/out.yuv stddev: 7.69 PSNR:30.39 bytes:7602176 +218ef56c1909d66e77c87cd98c9868e8 *./data/a-mpeg2ivlc.mpg +737935 ./data/a-mpeg2ivlc.mpg +f5b8b9c2a5e162b6c01d6b299d03b117 *./data/out.yuv +stddev: 7.69 PSNR:30.39 bytes:7602176 a34af358ee5b5dab19d37ee29f1927b2 *./data/a-mpeg2.mpg 748099 ./data/a-mpeg2.mpg 555f76a5df78088411b83f5faf334762 *./data/out.yuv @@ -19,6 +23,10 @@ stddev: 7.69 PSNR:30.39 bytes:7602176 820348 ./data/a-mpeg2thread.mpg 6b820ffc74de50cc863b41d51f72c22b *./data/out.yuv stddev: 7.64 PSNR:30.45 bytes:7602176 +a88c3fc28a6e62351c1b71235e7916a7 *./data/a-mpeg2threadivlc.mpg +810646 ./data/a-mpeg2threadivlc.mpg +6b820ffc74de50cc863b41d51f72c22b *./data/out.yuv +stddev: 7.64 PSNR:30.45 bytes:7602176 edb3e58ea66de2e9b32713daf9b5c3f1 *./data/a-mpeg2reuse.mpg 2119706 ./data/a-mpeg2reuse.mpg 1dab2eaca5320fe01afbe9596b2bd6cc *./data/out.yuv diff --git a/tests/regression.sh b/tests/regression.sh index 2df2d8044f..d032fe43d8 100755 --- a/tests/regression.sh +++ b/tests/regression.sh @@ -179,6 +179,13 @@ do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -vcodec mpeg2video -f mpeg1v # mpeg2 decoding do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst +# mpeg2 encoding using intra vlc +file=${outfile}mpeg2ivlc.mpg +do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -vcodec mpeg2video -f mpeg1video -flags2 +ivlc $file + +# mpeg2 decoding +do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst + # mpeg2 encoding file=${outfile}mpeg2.mpg do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -vcodec mpeg2video -idct int -dct int -f mpeg1video $file @@ -203,6 +210,13 @@ do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -vcodec mpeg2video -f mpeg1v # mpeg2 decoding do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst +# mpeg2 encoding interlaced using intra vlc +file=${outfile}mpeg2threadivlc.mpg +do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -vcodec mpeg2video -f mpeg1video -bf 2 -flags +ildct+ilme -flags2 +ivlc -threads 2 $file + +# mpeg2 decoding +do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst + # mpeg2 encoding interlaced file=${outfile}mpeg2reuse.mpg do_ffmpeg $file -y -sameq -me_threshold 256 -mb_threshold 1024 -i ${outfile}mpeg2thread.mpg -vcodec mpeg2video -f mpeg1video -bf 2 -flags +ildct+ilme -threads 4 $file diff --git a/tests/rotozoom.regression.ref b/tests/rotozoom.regression.ref index e4d5dcfa0b..bd737b5875 100644 --- a/tests/rotozoom.regression.ref +++ b/tests/rotozoom.regression.ref @@ -7,6 +7,10 @@ f0310ea9b9a4f37c1a4dd0d4985a3f81 *./data/a-mpeg2.mpg 199396 ./data/a-mpeg2.mpg 94581e9516461557b194aeefaaba3835 *./data/out.yuv stddev: 4.97 PSNR:34.18 bytes:7602176 +356a07f0872b371acb2eebd9b0225786 *./data/a-mpeg2ivlc.mpg +198603 ./data/a-mpeg2ivlc.mpg +94581e9516461557b194aeefaaba3835 *./data/out.yuv +stddev: 4.97 PSNR:34.18 bytes:7602176 374bd257b96328935926b350b0c5cada *./data/a-mpeg2.mpg 198338 ./data/a-mpeg2.mpg f464b420ae24c1e453df8d3e5ef9140d *./data/out.yuv @@ -19,6 +23,10 @@ stddev: 4.98 PSNR:34.16 bytes:7602176 183955 ./data/a-mpeg2thread.mpg 38441603e2201ddb01632ba3411a6bb8 *./data/out.yuv stddev: 4.76 PSNR:34.56 bytes:7602176 +0c414c53b9418e6566680ed1d85d5a3b *./data/a-mpeg2threadivlc.mpg +183095 ./data/a-mpeg2threadivlc.mpg +38441603e2201ddb01632ba3411a6bb8 *./data/out.yuv +stddev: 4.76 PSNR:34.56 bytes:7602176 c9f6617461caee57ccb6d438761527c8 *./data/a-mpeg2reuse.mpg 396729 ./data/a-mpeg2reuse.mpg b10aec71132301cad001070e8ad46b7d *./data/out.yuv |