File Info

This tool allows you to get information about a RAW, DAT or HDF5 event file including:

  • Duration

  • Data encoding type

  • Camera info: sensor generation, ID, serial number

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

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

Expected Output

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

Here is an example of the outcome:


Name                80_balls.hdf5
Path                /path/to/80_balls.raw
Duration            6s 284ms 62us
Integrator          Prophesee
Data encoding       ECF
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 SDK or compile the source code as described in this tutorial.

To start the tool, provide the full path to an event file (here, we use an HDF5 file from Metavision Datasets):


metavision_file_info -i 80_balls.hdf5


metavision_file_info.exe -i 80_balls.hdf5