X-Git-Url: http://git.maemo.org/git/?p=opencv;a=blobdiff_plain;f=tests%2Fswig_python%2Fhighgui%2FcvCreateFileCaptureYVU9.py;fp=tests%2Fswig_python%2Fhighgui%2FcvCreateFileCaptureYVU9.py;h=6ce1574fa30743d3dcf0b548fee24b75326b4ff6;hp=0000000000000000000000000000000000000000;hb=e4c14cdbdf2fe805e79cd96ded236f57e7b89060;hpb=454138ff8a20f6edb9b65a910101403d8b520643 diff --git a/tests/swig_python/highgui/cvCreateFileCaptureYVU9.py b/tests/swig_python/highgui/cvCreateFileCaptureYVU9.py new file mode 100755 index 0000000..6ce1574 --- /dev/null +++ b/tests/swig_python/highgui/cvCreateFileCaptureYVU9.py @@ -0,0 +1,17 @@ +#! /usr/bin/env python +""" +This script will test highgui's video reading functionality +for RAW YVU9 .avi files +""" + +# pixel format to check +FORMAT = "YVU9" + +# import check routine +import cvCreateFileCapture + +# check video file of format FORMAT, +# the function also exits and returns +# 0,1 or 77 accordingly. + +cvCreateFileCapture.video_ok(FORMAT)