File Info Application

This application allows you to get information about a RAW 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 application can be found in <install-prefix>/share/metavision/sdk/driver/apps/metavision_file_info when installing Metavision SDK from installer or packages. For other deployment methods, check the page Path of Samples.

Expected Output

The application 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 pre-compiled executable, provide the full path to a file (here, we use a file from Metavision Datasets):


metavision_file_info -i 80_balls.hdf5


metavision_file_info.exe -i 80_balls.hdf5