MovieSalsa Operation Design Guide Rev 1.0 It is desired to have an automated method for generating time-lapse movies in the background. This is the primary operation mode. There may be more than one movie being generated at a time. The plan is to have two executables. The first executable is MovieSalsa -- the actual time lapse creator. The second is a scheduler that calls MovieSalsa. The MovieSalsa executable has four modes of operation. 1) Manual Mode – no command line options provided. User can open a setup file, start from scratch, save a setup file, and create a time-lapse movie. No /F command line parameter. 2) Open setup file – Provide /F command line parameter. No /A parameter. All other parameters ignored. 3) Visible Automation Mode – command line given to the setup file to run automatically. No interaction allowed. Provide /F and /A command line parameters. 4) Invisible Automation Mode – command line given to the setup file to run automatically. /I command-line parameter provided to run invisibly. Provide /F and /A command line parameters. In automation modes, command line parameters are: /I =Invisible Mode (do not bother the desktop). Otherwise, show the movie being generated but nothing else. /A=Automate /S=”01/01/2003 12:33:45” – Start Time to override time in Setup File. /E=”01/01/2003 12:44:56” – End Time to override time in Setup File. /F=”setup.txt” – Setup File Path (quotes are optional) /IP=”c:\images\” – Input File Path to override from Setup File. /IF="*.jpg" - Input File Filter to override from setup File. /OP=”c:\myoutput.avi” – Output File Path to override in Setup File. /PGS=”c:\encode.bat …” – Post-Generation Shell override The Setup File will contain the following parameters (Key=VarType, (example), notes: DeleteOldImages=BOOLEAN, True=Delete older Images. See DeleteOldImagesHours DeleteOldImagesHours=DOUBLE, (72), time in hours Direction=Long, (1, -1), Direction of movie (1=forward, -1=Backwards) DuplicateCount=LONG, ,Maximum number of the same image that will be used when ImageIntervalOption=1 ImageFilter=STRING, (*.jpg), same format as directory filter ImageIntervalOption=LONG, (0,1), 0=Use all, 1=Set interval to ImagesPerHour ImagesPerHour=DOUBLE, (120), Set ImageIntervalOption to 1 MovieFPS=DOUBLE, (24), movie output frames per second MovieSizeHeight=LONG, (240), height in pixels MovieSizeOption=LONG, (0,1), 0=Use first image as guide, 1=Set to MovieSizeWidthxMovieSizeHeight MovieSizeWidth=LONG, (320), width in pixels OutputAVIPath=STRING, (c:\mymovie.avi), String to path/filename PostGenerationShell=STRING, , optional shell to command prompt, empty means don’t shell. StartTimeAbsolute=DOUBLE, , date/time in Microsoft’s representation of date/time StartTimeOption=LONG, (0,1,2,3,4,5), 0=Now, 1=Now minus StartTimeRelative, 2=StartTimeToday,3=StartTimeAbsolute,4=Sunrise+StartTimeSunriseRelative,5=Sunset+StartTimeSunsetRelative StartTimeRelative=DOUBLE, (3), time in hours StartTimeSunriseRelative=DOUBLE, , time in hours StartTimeSunsetRelative=DOUBLE, , time in hours StartTimeToday=DOUBLE, ,seconds since midnight/86400 StillDirectory=STRING, (c:\images\), may or may not end with backslash character StopTimeAbsolute=DOUBLE, , date/time in Microsoft’s representation of date/time StopTimeOption=LONG, (0,1,2,3,4,5), 0=Now, 1=Now minus StopTimeRelative, 2=StopTimeToday,3=StopTimeAbsolute,4=Sunrise+StopTimeSunriseRelative,5=Sunset+StopTimeSunsetRelative StopTimeRelative=DOUBLE, , time in hours StopTimeSunriseRelative=DOUBLE, , time in hours StopTimeSunsetRelative=DOUBLE, , time in hours StopTimeToday=DOUBLE, ,seconds since midnight/86400 TimeOption=LONG, (0,1), 0=All times, 1=Use start to stop time TimeStampOption=LONG, (0,1), 0=Use File System stamp, 1=From filename as YYMMDDHHMMSS.* [Compress] section, settings for the compression option Batch file tags: