# Format Sony Multicam

### Format Sony Multicam<img src="https://cdn.prod.website-files.com/67008ba73b4fd0346790d085/6793ddab4a8305b25a7bfa09_25.Format%20Sony%20Multicam.svg" alt="" data-size="line">

The Format Sony Multicam tool is alternative approach to organizing video data recorded using a Sony RX0 II camera system, rather than using the [Organize Videos](/theia3d-documentation/theia3d-dropdown-menus/tools-menu/organize-videos.md) tool. This tool can be used to quickly organize a dataset based on the video timecodes rather than the C000# trial IDs appended upon downloading, which is particularly useful for cases where the C000# trial IDs are misaligned between cameras for the same trial recording.

To use this tool, the raw video data must be recorded using the Sony RX0 II camera system, and should be downloaded using the options: *Add the Camera Label (prefix)* and *Do not add the Shooting Date/Time*. The raw video files must be accompanied by a data specific CSV file, which can have any name, however it must be the only .csv file within the directory alongside the video files. The data spec .csv file must have a header row of: *Trial,SubjectId,Type,Action,CalibrationId*. Each subsequent row should contain the relevant information under each header column that corresponds to the trial.&#x20;

For example, a data collection consisting of the following recordings in this order:

* subject 1, walk
* subject 1, run
* subject 2, walk
* subject 2, run
* calibration
* subject 3, walk
* subject 3, run

would require a data specific CSV  as follows:

```
Trial,SubjectId,Type,Action,CalibrationId
1,N/A,Calibration,N/A,N/A
2,S0001,Motion,Walk,1
3,S0001,Motion,Run,1
4,S0002,Motion,Walk,1
5,S0002,Motion,Run,1
6,N/A,Calibration,N/A,N/A
7,S0003,Motion,Walk,2
8,S0003,Motion,Run,2
```

If your video data and CSV  file meet these requirements, you can use the Format Sony Multicam tool by clicking on the tool in the [Tools Menu](/theia3d-documentation/theia3d-dropdown-menus/tools-menu.md) dropdown. A dialog with these requirements must be acknowledged, as shown below.

<figure><img src="https://cdn.prod.website-files.com/67008ba73b4fd0346790d085/6793e3dadb5115f891ea9adb_6793e3d62407cf352bfa9c96_format-sony-multicam-dialog.webp" alt=""><figcaption></figcaption></figure>

When prompted, select the directory containing your raw video files and CSV  file, which will be organized into a data structure meeting the Theia3D [Video Data ](/theia3d-documentation/data-formats/video-data.md)specification. Continuing with the above example dataset, the resulting data structure would be:

<pre><code><strong>/Chessboard
</strong>    /Calibration
<strong>        /001
</strong>            /[cam ID folders]
            /…
        /002
            /…
    /S0001
        /Walk
            /001
            /…
        /Run
            /001
            /…
    /S0002
        /Walk
            /001
            /…
        /Run
            /001
            /…
    /S0003
        /Walk
            /001
            /…
        /Run
            /001
            /…
</code></pre>

After successful formatting of the data, an additional file *changelog.csv* is created which documents the mapping of raw video files to the organized file structure.

{% hint style="info" %}
**Data specific** CSV **notes:**

* Header row is required.
* As shown, calibration trials should have N/A for SubjectID, Action, and CalibrationId column entries.
* CalibrationId does not impact the organized data structure.
  {% endhint %}

{% embed url="<https://youtu.be/9Mcl6Wp9sl4>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.theiamarkerless.com/theia3d-documentation/theia3d-dropdown-menus/tools-menu/format-sony-multicam.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
