aboutsummaryrefslogtreecommitdiffstats
path: root/tests/codec-regression.sh
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-11-30 00:13:54 +0100
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-12-05 20:05:44 +0100
commit61b1d85c1f1074d9ce56bb482de99d0f03c7a161 (patch)
tree9b241080276dec60d0a1118c760498de6020b6ea /tests/codec-regression.sh
parentc66bd78e3dbbc9b6e709f74745179bdd13d2160f (diff)
downloadffmpeg-61b1d85c1f1074d9ce56bb482de99d0f03c7a161.tar.gz
Add tests for several encoders.
More specifically, PNG, v210, zlib and zmbv codecs. zmbv needs vf_scale to be able to produce PAL8. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'tests/codec-regression.sh')
-rwxr-xr-xtests/codec-regression.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/codec-regression.sh b/tests/codec-regression.sh
index 7a71e47273..c0f8d3ddb9 100755
--- a/tests/codec-regression.sh
+++ b/tests/codec-regression.sh
@@ -268,6 +268,11 @@ do_video_encoding dnxhd-720p-10bit.dnxhd "-s hd720 -b 90M -pix_fmt yuv422p10 -vf
do_video_decoding "" "-s cif -pix_fmt yuv420p"
fi
+if [ -n "$do_mpng" ] ; then
+do_video_encoding mpng.avi "-an -vcodec png"
+do_video_decoding "" "-pix_fmt yuv420p"
+fi
+
if [ -n "$do_prores" ] ; then
do_video_encoding prores.mov "-vcodec prores"
do_video_decoding "" "-pix_fmt yuv420p"
@@ -309,11 +314,26 @@ do_video_encoding rgb.avi "-an -vcodec rawvideo -pix_fmt bgr24"
do_video_decoding "" "-pix_fmt yuv420p"
fi
+if [ -n "$do_v210" ] ; then
+do_video_encoding v210.avi "-an -vcodec v210"
+do_video_decoding "" "-pix_fmt yuv420p"
+fi
+
if [ -n "$do_yuv" ] ; then
do_video_encoding yuv.avi "-an -vcodec rawvideo -pix_fmt yuv420p"
do_video_decoding "" "-pix_fmt yuv420p"
fi
+if [ -n "$do_zlib" ] ; then
+do_video_encoding zlib.avi "-an -vcodec zlib"
+do_video_decoding "" "-pix_fmt yuv420p"
+fi
+
+if [ -n "$do_zmbv" ] ; then
+do_video_encoding zmbv.avi "-an -vcodec zmbv"
+do_video_decoding "" "-pix_fmt yuv420p"
+fi
+
if [ -n "$do_mp2" ] ; then
do_audio_encoding mp2.mp2
do_audio_decoding