mvexportutils module¶
-
mvexportutils.
run
(args, suppresswindow=True)¶ Run an external program, returning an (exit_code, (stdout, stderr)) tuple, where stdout and stderr are strings whose contents match those of the standard output and standard error file handles, respectively.
args is a sequence of program arguments, the program to execute being the first itsem in the sequence.
-
mvexportutils.
runAsynchronous
(args, suppresswindow=True, stdoutcallback=None, stderrcallback=None)¶ Run an external program, returning an (exit_code, (stdout, stderr)) tuple, where stdout and stderr are strings whose contents match those of the standard output and standard error file handles, respectively.
args is a sequence of program arguments, the program to execute being the first itsem in the sequence.
stdoutcallback and stderrcallback are 2-tuples of the form (func, data). The callback function is called as func(line, data) where line is the next line extracted from the respective pipe. Each callback function is processed within its own thread.
-
mvexportutils.
videoDuration
(kwargs)¶ Returns the duration of the input image files in seconds.