H - run program in automated mode
/S - set output video width and height in form of WIDTHxHEIGHT, for example: /H320x240
/F - set output video FPS. For example: /F15
/N - do not capture sound
/T - set path to temporary folder to store intermediate files. For example: /T"c:\temp\"
/V - set part of video codec name so program will search codec in list of available codecs and will select this codec to compress final video. For example: /VDivX
/C - conversion mode. (1 - realtime (default), 2 - frame by frame conversion without sound). For example: /C or /C1
/A - don't auto close conversion - user will be required to click "Stop" or conversion can be stopped using global timeout parameter (see /G parameter)
/G - global timeout in seconds.For example /G200 - auto-stop conversion after 200 seconds. /G equal to /G600 (stop conversion after 600 seconds)
/P or /PN - force "play" button every N seconds for example /P3 - force play button every 3 seconds. /P = /P10 (force play every 10 seconds)
/L"filename" - write log file to filename. /L uses default filename = {APPDATA}\SWF To Video Scout\Log.txt
/K"customcaption" - set custom caption for conversion wizard UI window (Developer License is required for this parameter)
Example:
// convert first 120 seconds of SWF into MPEG video with 300x300 dimensions and 15 FPS using built-in
// MPEG conversion, write log file into default log file location
SWFToVideoScout.exe "C:\My Flash Movies\gollum.swf" "C:\Converted\gollum.mpg" /H /S300x300 /V#MPEG /L /F15 /G120
Log File Constants
Program writes a log file (check /L command line parameter)
Following error names are used to indicate errors in a log file:
ERROR_OK - conversion successfull
ERROR_POST_PROCESSING_ABORTED - post-processing aborted by user clicked "Cancel" button
ERROR_CAN_NOT_COPY_INTERMEDIATE_FILES - can not copy intermediate files into final video file
ERROR_DLL_REQUIRED_NOT_FOUND - not able to find filter ascapscout.ax or not installed
ERROR_CONVERSION_STOPPED_BY_GLOBAL_TIMEOUT - conersion will continue but it was stopped by global timeout timer (see /G command line parameter)
ERROR_LARGE_OUTPUT_SIZE_DECREASED_TO_SCREEN - conversion will continue but output video dimensions were decreased to fit the screen
ERROR_SOURCE_FILE_IS_ZERO_SIZE - conversion can not be done as input file is zero size
没有评论:
发表评论