Elecard Stream Analyzer Command line tool
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
- Sample Config.xml file
- List of commands
- Notes on the Command line rules
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 |
<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="..."/>
<headers 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>
</headers>
</info>
</SA>
<input/> | The tag is used to configure the input file |
file | Sets the input file path |
<output/> | 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 |
<info/> | The tag is used to define the type/-s of information for output |
<stream/> | 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 |
<message/> | 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 |
<tr101290/> | 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 |
<headers/> | 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.