![]() ![]() The list of tags below are each attached to a specific Matroska element, and can be used to look up the corresponding track or attachment. Tags are used to identify the meaning of each track. Track numbers vary based on the camera mode and set of enabled tracks. ![]() Identifying the tracks is needed when working with third-party tools to read a Matroska file. It may be necessary to identify which track contains Color, Depth, IR, and so on. If IMU data is extracted from the file without using the playback API, the data will be in binary form. ![]() The -vsync 0 parameter forces ffmpeg to extract frames as-is instead of trying to match a framerate of 30 fps, 15 fps, or 5 fps. If the recording doesn't contain a color track, -map 0:0 would be used. The -map 0:1 parameter will extract track index 1, which for most recordings will be depth. Tools such as ffmpeg or the mkvinfo command from the MKVToolNix toolkit can be used to view and extract informationįor example, the following command will extract the depth track as a sequence of 16-bit PNGs to the same folder: ffmpeg -i output.mkv -map 0:1 -vsync 0 depth%04d.png Track NameĬustom structure, see IMU sample structure below. mkv container format can be found on the Matroska Website. The recording file contains tracks for storing Color, Depth, IR images, and IMU. To record sensor data, the Matroska (.mkv) container format is used, which allows for multiple tracks to be stored using a wide range of codecs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |