API reference - Ricoh Theta

Option fileFormat

Definitions
Type object

Description: Image format used in shooting. See supported values.

Examples:

{
    "type": "jpeg",
    "width": 11008,
    "height": 5504
}
{
    "type": "raw+",
    "width": 6720,
    "height": 3360
}
{
    "type": "mp4",
    "width": 3840,
    "height": 1920,
    "_codec": "H.264/MPEG-4 AVC",
    "_frameRate": 30
}
Property Type Required Description
type enum (of string) yes File type
width integer yes Width dimension
height integer yes Height dimension
_codec enum (of string) no Codec of a video file. “H.265/HEVC” is Theta A1 only.
_frameRate integer no Frame rate of a video file
_dualTrack boolean no When outputting fisheye video, whether to output to two video tracks in one file, or to output to two files. Theta Z1 only.

type

Definitions
Type enum (of string)

Description: File type

Must be one of:

width

Definitions
Type integer

Description: Width dimension

height

Definitions
Type integer

Description: Height dimension

_codec

Definitions
Type enum (of string)

Description: Codec of a video file. “H.265/HEVC” is Theta A1 only.

Must be one of:

_frameRate

Definitions
Type integer

Description: Frame rate of a video file

_dualTrack

Definitions
Type boolean
Default false

Description: When outputting fisheye video, whether to output to two video tracks in one file, or to output to two files. Theta Z1 only.