PPT To Video Scout tutorial: automated conversion of powerpoint (PPT) presentations into AVI, WMV video using command-line interface of PPT To Video Scout
This page provides information on command-line interface parameters of PPT To Video Scout. Command-line interface can be used to automate conversion of Powerpoint presentations into video using PPT To Video Scout.
First download and install PPT To Video Scout
TRIAL VERSION: the command line automation works in trial version, the only exception is the reminder text in output video files.
IMPORTANT: To use the command line interface automation in registered version you have to purchase one of the following license types:
Command Line License – allow to use the command line automation on one single workstation (click here to buy now online via secure server)
For more information about licensing options for PPT To Video Scout please visit https://bytescout.com/buy/purchase.html
Command Line interface parameters:
/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 “next slide” button every N seconds for example /P3 – force play button every 3 seconds. /P = /P10 (force “next slide” every 10 seconds)
/L”filename” – write log file to filename. /L uses default filename = {APPDATA}SWF To Video ScoutLog.txt
/K”customcaption” – set custom caption for conversion wizard UI window (Developer License is required for this parameter)
FOR REGISTERED USERS ONLY (WORKS IN FULL VERSION ONLY):
/1 – sets registration name through the command line. For example: /1″MyLicensedName”
/2 – sets registration serial through the command line. For example: /2″XBA-2329-JXN3-34″
Example #1 – converting PPT to WMV:
// convert first 120 seconds of PPT into WMV video with 300×300 dimensions and 15 FPS using built-in
// MPEG conversion, write log file into default log file location
// /P parameter is used to set default slide advance time so slides are changed automatically every 10 seconds or earlier if slide advance time is less than 10 seconds
PPTToVideoScout.exe “C:My PresentationSample.ppt” “C:ConvertedSamplePresentation.wmv” /H /S300x300 /V#WMV /L /F15 /G120 /P10
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
ERROR_POWERPOINT_NOT_INSTALLED – powerpoint not installed
ERROR_CAN_NOT_INITIALIZE_POWERPOINT – can not initialize powerpoint during conversion
ERROR_CAN_NOT_OPEN_POWERPOINT_DOCUMENT – can not oper powerpoint document
Read more about licensing options for command-line interface of PPT To Video Scout