Elecard YUV Viewer Command line tool

# Elecard YUV Viewer Command line tool

June 6, 2019
Features 3 193 views

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

YUV Viewer Command Line tool allows automatic analysis of video arrays. 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;

How to use YUV Viewer 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:

YUVConsole.exe config.xml /inA:inputA.yuv /inB:inputB.yuv /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.

The command line arguments allow re-defining parameters used in a default configuration file. See examples of the arguments below:

 /inA: first input file path (inputA file) /inB: second input file path (inputB file) /out: output files prefix (output file) /sfx: suffix of all output files in a configuration file (adds a suffix to an output file before file extension) /dc use current run directory as default path for files /? advanced help

Sample Config.xml file:

<YUV version="1">
<inputA file="..." type="IYUV(default)/[*Upsampler Type]" filter="None(default)/FieldGen/Median/Sobel" width="auto(default)/..." height="auto(default)/..." bitdepth="8(default)/..." offset="0(default)" step="1(default)"/>
<inputB file="..." type="IYUV(default)/[*Upsampler Type]" offset="0(default)" step="1(default)"/>
<output separator=".(default)/," delimiter=";(default)/," file="..."/>
<range span="all(default)/start - stop"/>
<info>
<difference type="Compare/Subtraction/Temperature/PSNR/PSNR Clip" format="IYUV(default)/YV12" rect_size="16(default/..)" file="..."/>
<data source="A|B" format="IYUV(default)/YV12" file="..."/>
</info>
</YUV>



* Upsampler types that can be used in a configuration file: I444 / I422 / IYUV / NV12 / NV21 / P444 / RGB24 / RGB32 / UYVY (Y422 / UYNV / HDYC) / V210 / V400 / V444 / Y42B / YUY2 (YUNV / V422 / YUYV) / YV12 / YV16 / YVYU.

 The tag is used to configure the input A file type Specifies the type of the YUV data to be analyzed. IYUV is set by default/*Upsampler type filter Selects the preprocessing filter width Specifies the width of the frame for the file to be analyzed height Specifies the height of the frame for the file to be analyzed bitdepth Allows a user to specify values for some metric Types. For several Types, the value is not editable. Available bitdepth types: 8, 9, 10, 11, 12, 13, 14, 15, 16 offset Shifts the position from the first analyzed frame to the specified one in a stream step Coefficient used for calculation of a successive frame number for further analysis. “1” is set by default
 The tag is used to configure the input B file type Defines the format of the raw data (IYUV (by default) /* Upsampler type offset Shifts the position from the first analyzed frame to the specified one in a reference stream step Coefficient used for calculation of a successive frame number for further analysis. “1” is set by default Note: if the VMAF and VMAF phone metrics are enabled, and if input raw file is missing, encoded reference file should be placed in the input 2(B) field.
 The tag is used to configure the output file separator Allows selecting a decimal separator, the “.” sign is set by default delimiter Allows selecting data delimiter “;” sign is set by default file Sets the output file path
 The tag is used to define the range of analyzed frames span Defines the range of frames (all (by default) /start - stop), 'start' - number of the first analyzed frame, 'stop' - number of the last analyzed frame
 The tag is used to output information on quality metrics type Specifies the metric type: PSNR (by default) | APSNR | MSE | MSAD | DELTA | SSIM | NQI | VIF | VQM | VMAF | VMAF phone file Sets the output file path where information on metrics will be saved
 The tag is used to output information on metrics difference type Defines the type of difference (compare/subtraction/temperature/psnr/psnr clip). This is the required parameter for this tag. Its default value should be set. If the value is not set, this tag will be skipped format Defines the format for saving data (IYUV (by default)) rect size A block size used to calculate metrics PSNR/PSNR Clip file Sets the output file path where information on difference will be saved
 The tag is used to save output decoder information on any decoding step source Defines the type of the source for metrics calculation: A | B format Defines the format for saving data (IYUV (by default)) file Sets the output file path where the data will be saved

## Resources

### On the topic

 Product: YUV ViewerStreamEye Studio Category: Features

## Related questions

Supported Formats July 22, 2022

### MPEG-4 vs AVC/H.264 vs MP4. What is the difference?

1 698 views
Supported Formats July 22, 2022

### В чем разница между MPEG-4, AVC/H.264 и MP4?

677 views
Features July 6, 2022

276 views