Scripting Command MARUI_Recorder

Scripting Command MARUI_Recorder

This command controls MARUI VR/MR video recorder which can record the in-VR action from a thrid-persons’ point of view.

Parameters:

-windowwidth (-ww) <int>
Set / get the width of the Recorder desktop window in pixels.

-windowheight (-wh) <int>
Set / get the height of the Recorder desktop window in pixels.

-width (-w) <int>
Set / get the horizontal rendering resolution of the Recorder in pixels.

-height (-h) <int>
Set / get the vertical rendering resolution of the Recorder in pixels.

-focalLengthX (-fx) <float>
Set / get the horizontal focal length of the Recorder as a multiple of the rendering width.

-focalLengthY (-fy) <float>
Set / get the vertical focal length of the Recorder as a multiple of the rendering height.

-centroidX (-cx) <float>
Set / get the horizontal centroid of the Recorder as a multiple of the rendering width (0.5 = center).

-centroidY (-cy) <float>
Set / get the vertical centroid of the Recorder as a multiple of the rendering height (0.5 = center).

-path (-p) <string>
Set / get the filesystem path where the recording will be stored.

-framerate (-fps) <double>
Set / get the capture framerate in frames-per-second.

-position (-pos) <string: VR device>
Set the position of the recorder to the position of a VR device.
Possible VR device identifiers are “hmd”, “controller_left” and “controller_right”.

-orient (-ort) <string: VR device>
Set the orientation of the recorder to the orientation of a VR device.
Possible VR device identifiers are “hmd”, “controller_left” and “controller_right”.

-videoEncode (-ve) <boolean>
Set / get whether the image sequence is recorded as a video.

-open (-o)
Open recorder window and start recording (if path is set).

-close (-c)
Close recorder window and stop recording.

-attach (-a) <string: vr device>
Attach recorder (position and orientation) to follow a VR device.
Possible deivce identifiers are “left” controller, “right” controller, “third”/”aux” controller, or “off”/”none”.

-vidcapdev (-vcd) <int: camera> <int: video mode>
Enable video capture device for Recorder.

-loadCalibrationFile (-lcf) <string: path>
Load calibration from file.

-pathSuggest (-ps)
Set recording path to default suggestion.

-clapperNextFrame (-cnf)
Make the next recorded frame a “clapper”/”slate” white frame for synchronization.

-displayMenus (-dm) <int>
Whether the recorder should display MARUI menus. (1=true, 0=false).

-saveParams (-sav)
Save parameters to preferences folder.

-loadParams (-lod)
Load parameters from preferences folder.