Stereo3D

data class Stereo3D(val type: Stereo3DType, val inverted: Boolean, val view: Stereo3DView, val primaryEye: StereoEye?, val baselineMicrometres: Long?, val horizontalDisparityAdjustment: Rational, val horizontalFieldOfView: Rational?)

How a stream's pictures hold the views of two eyes, as its container states it: in MP4 or MOV through the stereoscopic video box or Apple's video extension box, in Matroska through the track's StereoMode. FFmpeg reads it into the stream's AVStereo3D and splits nothing, so a renderer that draws the picture whole shows both views side by side or one above the other.

Constructors

Link copied to clipboard
constructor(type: Stereo3DType, inverted: Boolean, view: Stereo3DView, primaryEye: StereoEye?, baselineMicrometres: Long?, horizontalDisparityAdjustment: Rational, horizontalFieldOfView: Rational?)

Properties

Link copied to clipboard

The distance between the centres of the camera's two lenses in micrometres, or null when unstated.

Link copied to clipboard

How far to shift the two views against each other, which moves the plane that appears at the screen's depth, from -1 to 1. Zero when the container states none.

Link copied to clipboard

The horizontal field of view in degrees, or null when unstated.

Link copied to clipboard

True when the right or bottom view is the left eye's, the reverse of what type draws.

Link copied to clipboard

The eye whose view to show when drawing in 2D, or null when the container names neither.

Link copied to clipboard

How the two views are packed into each picture.

Link copied to clipboard

Which views the pictures hold.