---
title: "resample"
canonical: "https://help.vicon.com/space/ShogunPost121/1253736920/resample"
format: markdown
---
# Description

This command enables you to resample captured data to a different timecode standard and/or frame rate. For all objects in the scene which have keys, `resample` creates a new set of keys based on the original data, which has a key at each frame of the play range.

## Functional area

System

# Command syntax

## Syntax

> Macro (scroll-tablelayout)

|  |
| --- |
| `resample "rateType" fps [-ignoreGaps] [-includeUnlabeledMarkers]` |

### Arguments

| Name | Type | Required | Comments |
| --- | --- | --- | --- |
| `rateType` | string | no | The required timecode standard |
| `fps` | int or float | no | The required frame rate in fps |

If the arguments are omitted, the command resamples using the current rate. This is useful if you have already changed the rate. 

### Flags

> Macro (scroll-tablelayout)

| Name | Flag arguments | Argument type | Exclusive to | Comments |
| --- | --- | --- | --- | --- |
| `ignoreGaps` | — | — | — | Specifies that gaps are not preserved. (If omitted, gaps are preserved.) |
| `includeUnlabeledMarkers` | — | — | — | Specifies that unlabeled markers are included in the resampled data. (If omitted, unlabeled markers are not included.) |

> Macro (scroll-pagebreak)

## Return value

void

## Examples

```plaintext
resample "PAL" 100;

```