Elecard Stream Analyzer Command line tool

# Elecard Stream Analyzer Command line tool

October 30, 2018
Features 3 956 views

Elecard Stream Analyzer functionality is available in console version, so you can run the tool from the command line.

Stream Analyzer Command Line tool allows saving analytical data available via Stream Analyzer into a text file in CSV format with a few lines of commands. You can customize a sequence of commands to perform your specific tasks and automate your routine tasks.

Using this tool you'll be able to:

• Analyze the whole array of video files automatically;
• Address specific and complex challenges with a few lines of commands;
• Retrieve submitted results as a text file in CSV format for easy viewing in Excel;
• Customize a sequence of commands to perform your specific tasks;
• Accelerate and automate your regular tasks;
• Get access to most of Stream Analyzer functionality and resources through Stream Analyzer Console.

How to use Stream Analyzer Command line tool

Get to the command prompt by clicking Start->Run and type 'cmd'. Then enter the command to start the application first and proceed with the command line options. In general, the syntax is as follows:

SAConsole.exe config.xml /in:input.ts /out:output

Note: you should not relocate the <product> console without all the other applications of the product contained in the installation pack, otherwise the console application will not start.

 in input file path out output files prefix file path path to the file config path path to the config file sfx suffix of all output files in the config dc use the current run directory as default path for files

Sample Config.xml file:

<SA version="1">
<input file="..."/>
<output storage="union(default)/split" separator=";(default)/," delimiter=".(default)/," file="..."/>
<range start="(default: from file begin)" stop="(default: to file end)" mode="hex(default)/dec"/>
<info>
<stream full="on(default)/off" file="..."/>
<message details="on(default)/off" file="..."/>
<tr101290 details="on(default)/off" file="..."/>
<condition parameter="name" comparison="full/substring(default)">
<range value="min-max"/>
<equal value="value"/>
<less value="min"/>
<more value="max"/>
<not value="value"/>
</condition>
</info>
</SA>

 The tag is used to configure the input file file Sets the input file path
 The tag is used to configure the input file storage Save output information into split or union storage (union(default)/split) separator Defines the symbol/string to separate the output data (;(default)/,)) delimiter Delimits the fractional part with floating point (.(default)/,)) file Sets the output file path
 The tag is used to define the type/-s of information for output
 The tag is used to output general information about the analyzed stream full Contains information on data (on(default)/off) file Sets the path for the output stream information
 The tag is used to output messages that appear during analysis details Contains information on message tree data (on(default)/off) file Sets the output file path where the messages will be saved
 The tag is used to output TR101290 error that appear during analysis details Contains information on message TR101290 error (on(by default)/off) file Sets the output file path where the messages will be saved
 The tag is used to define the output headers information details Contains full information on header data (on(default)/off) file Sets the path to the output file with the headers information

Notes on the Command line rules

1. Parameters with default value are not required and can be omitted.

2. Rules for input and output file names:

• parameter /in:<file path> in the command line overwrites the value of the tag <input> in the configuration file;
• parameter /out:<file path> in the command line overwrites the value of the tag <output> in the configuration file;
• if <output> tag is missing (or not specified), output file names are formed from input file names plus suffix (if the latter is specified);
• if output file for a tag/section is not specified, the output file name for the tag/section is formed from the name specified in the <output/> tag plus suffix depeding on the name of the tag/section, e.g. ".message.csv", ".header.csv", etc.

## Resources

### On the topic

 Product: Stream Analyzer Category: Features

## Related questions

Features June 8, 2022

### What’s new in Elecard StreamEye Studio 2022

1 254 views
Features April 20, 2021

### What’s new in Elecard StreamEye Studio 2021

4 949 views
Features March 19, 2021

4 776 views