Command Line Interface¶
Switches are processed in the order they appear in the command line.
The command line interface, the customizable main menu and Event Commands features are built with a shared command system.
There is a special mode where only the MediaInfo window is shown using -mediainfo , this is useful for Windows File Explorer integration with an app like Open++.
StaxRip C:\Movie\VTS_01_1.VOB C:\Movie 2\VTS_01_2.VOB
StaxRip -LoadTemplate:DVB C:\Movie\capture.mpg -StartEncoding -Standby
StaxRip -ShowMessageBox:”main text…”,”text …”,info
Adds a filter at the end of the script.
templateName: Name of the template to be loaded after the job was added. Empty to load no template.
Adds a job to the job list.
Clears the job list.
value: Copies the text to the clipboard. The text may contain macros.
Copies a string to the clipboard.
dir: Directory in which to delete files.
filter: Example: ‘.txt .log’
Deletes files in a given directory.
batchScript: Batch script code to be executed. Macros are solved as well as passed in as environment variables.
interpretOutput: Interprets each output line as StaxRip command.
Saves a batch script as bat file and executes it. Macros are solved as well as passed in as environment variables.
commandLines: One or more command lines to be executed or if batch mode is used content of the batch file. Macros are solved as well as passed in as environment variables.
waitForExit: This will halt the main thread until the command line returns.
showProcessWindow: Redirects the output of command line apps to the process window.
asBatch: Alternative mode that creats a BAT file to execute.
Executes command lines separated by a line break line by line. Macros are solved and passed as environment variables.
scriptCode: PowerShell script code to be executed.
Executes PowerShell script code.
filepath: Filepath to a PowerShell script, the path may contain macros.
Executes a PowerShell script.
Changes the video encoders settings.
Loads a audio or video profile.
Loads the source file.
Loads a template.
Shows the Metadata Information for MKV file including HDR10 data.
View the Metadata of any Selected File
topic: Name Of the help topic To be opened.
Opens a given help topic In the help browser.
Filepath: Filepath To a mp3, wav Or wmv sound file.
Plays a mp3, wav Or wmv sound file.
Shows a dialog allowing to reset various settings.
Generates a Short Gif Based on Input data.
Adds the Remaining HDR10 Metadata to MKV file.
Generate Thumbnails Using MTN Engine
Creates Very High Quality Animations in the Form of PNG.
Saves the current project.
Saves the current project.
Saves the current project as template.
path: The path may contain macros.
Saves the current project at the specified path.
Sets the target video bitrate in Kbps.
Sets a filter replacing a existing filter of same category.
Sets the project option ‘Hide dialogs asking to demux, source filter etc.’
Sets the bitrate according to the compressibility.
Sets the target file size in MB.
Sets the file path of the target file.
Sets the target image size.
Sets the target image size by pixels (width x height).
Dialog to manage external applications.
Dialog to manage audio profiles.
Shows a dialog to generate thumbnails.
Shows a command prompt with the temp directory of the current project.
Dialog to crop borders.
Allows to use StaxRip’s demuxing GUIs independently.
Dialog to manage encoder profiles.
A Event Command allows to define a command to be executed on a defined event. Furthermore criteria can be defined to execute the command only if certain criteria is matched.
Shows a file browser to open a project file.
Dialog to configure AviSynth filter profiles.
Dialog to edit filters.
Dialog to configure filter setup profiles.
Shows a dialog to add a hardcoded subtitle.
url: URL or local file to be shown in the internet explorer powered help browser.
Opens a given URL or local file in the help browser.
Dialog to manage batch jobs.
Shows LAV Filters video decoder configuration
Shows the log file with the built in log file viewer.
filepath: The filepath may contain macros.
Shows media info on a given file.
Presents MediaInfo of all files in a folder in a list view.
mainInstruction: Main instruction may contain macros.
content: Content may contain macros.
MsgIcon: None, Error, Question, Warning, Info
Shows a message box.
Dialog to manage Muxer profiles.
Dialog to open source files.
Dialog to configure project options.
Shows the powershell with aliases for all tools staxrip includes.
Dialog to preview or cut the video.
Shows the settings dialog.
Compare and extract images for video comparisons.
Shuts PC down.
Puts PC in standby mode.
Crops borders automatically.
Starts the compressibility check.
Creates a job and runs the job list.
Runs all active jobs of the job list.
Crops borders automatically until the proper aspect ratio is found.
name: Tool name as shown in the app manage dialog.
Starts a tool by name as shown in the app manage dialog.
header: Header is optional.
message: Message is optional and may contain macros.
Writes a log message to the process window.