# RAW to Video Application¶

This application allows to generate an AVI video from a RAW file.

The source code is installed in <install-prefix>/share/metavision/sdk/core/apps/metavision_raw_to_video/metavision_raw_to_video.cpp, and it shows how to use Metavision SDK Driver API to generate an AVI video from a RAW file.

## Expected Output¶

The application reads data from a RAW file, generates an AVI video and saves is to the chosen path.

## 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) and the full path to the output video:

Linux

metavision_raw_to_video -i spinner.raw -o spinner.avi


Windows

metavision_raw_to_video.exe -i spinner.raw -o spinner.avi


metavision_raw_to_video -h

metavision_raw_to_video.exe -h