RAW Info Application

This application allows you to get information about a RAW file including

  • Duration

  • Event encoding type

  • Camera info: sensor generation, ID, serial number

  • Number of events, first and last timestamps, average event rate

The source code of this sample can be found in <install-prefix>/share/metavision/sdk/driver/apps/metavision_raw_info when installing Metavision SDK from installer or packages. For other deployment methods, check the section Path of Samples.

Expected Output

The application reads a RAW file and prints information about the file and its data to the console.

Here is an example of the outcome:


Name                80_balls.raw
Path                /path/to/80_balls.raw
Duration            6s 284ms 62us
Integrator          Prophesee
Plugin name         hal_plugin_gen3_fx3
Event encoding      EVT2
Camera generation   3.0
Camera systemID     21
Camera serial       0000ffff


Type of event       Number of events    First timestamp     Last timestamp      Average event rate
CD                  4588809             54                  6284062             730.2 Kev/s

How to start

You can directly execute pre-compiled binary installed with Metavision Intelligence or compile the source code as described in this tutorial.

To start the pre-compiled executable, provide the full path to a RAW file (here, we use the file from Metavision Datasets):


metavision_raw_info -i 80_balls.raw


metavision_raw_info.exe -i 80_balls.raw