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 is installed in <install-prefix>/share/metavision/sdk/driver/apps/metavision_raw_info/metavision_raw_info.cpp.

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                80_balls.raw
Duration            6s 284ms 62us
Event encoding      EVT2
Camera generation   3.0
Camera systemID     21
Camera subsystemID  2415920130
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 software or compile the source code as described in this tutorial.

To start the pre-compiled executable based on recorded data, provide the full path to a RAW file (here, we use the file from Metavision Dataset):

Linux

metavision_raw_info -i 80_balls.raw

Windows

metavision_raw_info.exe -i 80_balls.raw

To check for additional options:

Linux

metavision_raw_info -h

Windows

metavision_raw_info.exe -h