File to Video
This tool allows to generate an AVI video from a RAW, DAT or HDF5 event file.
The source code of this tool can be found in <install-prefix>/share/metavision/sdk/core/cpp_samples/metavision_file_to_video
when installing Metavision SDK from installer or packages. For other deployment methods, check the page
Path of Samples.
Expected Output
The tool reads data from an event file, generates an AVI video of 30 fps and saves it to the chosen path.
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 based on recorded data, provide the path to an event file (here, we use the HDF5 event file
spinner.hdf5
from our Sample Recordings) and the path to the output video:
Linux
metavision_file_to_video -i spinner.hdf5 -o spinner.avi
Windows
metavision_file_to_video.exe -i spinner.hdf5 -o spinner.avi
To check for additional options:
Linux
metavision_file_to_video -h
Windows
metavision_file_to_video.exe -h