360 Videos decoding


Next

 






































































































360 Videos decoding

Description

The decoding of 360 videos requires the bundle of the TVideoGrabber SDK + Datastead RTSP/RTMP/HTTP/ONVIF Source Filter (v7.8.2.0 or higher).


To enable the decoding of 360° videos, enable the v360_Enabled property.


When v360_MouseAction is activated, the mouse motion controls the point of view, and the mouse wheel controls the angles (zoom), either when the mouse button is down, either when the mouse button is released, depending on the Tv360_MouseAction value.


When moving the mouse, the "quantity of displacement" is controlled by v360_MouseActionPercent (10% by default).

The mouse wheel controls the zoom-in or zoom-out.


To return to the default angles, invoke v360_ResetAnglesToDefault


The point of view can be controled by v360_SetYawPitchRoll or v360_AddYawPitchRoll.


The current point of view is returned by v360_GetYawPitchRoll.


The zoom can be controled directly by invoking v360_SetAngle (v360_fov_Horizontal, Value) or v360_SetAngle (v360_fov_Vertical, Value).


The master angle is the angle from which is calculated the opposite angle to maintain the aspect ratio, by default it is v360_fov_Horizontal but can be changed to v360_fov_Vertical by modifying the v360_MasterAngle property.


The aspect ratio is controled automatically when v360_AspectRatio = -1 (default).

This can be deactivated by setting a value > 0.0 (e.g. set 1.777778 to force a 16:9 aspect ratio, or 2.0 to set a 2:1 aspect ratio, etc...).


Supported stereo formats: (v360_SetStereoFormat)

sf_2DMono,

sf_SideBySide,

sf_TopBottom


Supported projections: (v360_SetProjection)

ipp_Equirectangular,

ipp_Cubemap_3_2,

ipp_Cubemap_6_1,

ipp_Equiangular,

ipp_Flat,

ipp_Dual_fisheye,

ipp_Barrel,

ipp_Cubemap_1_6,

ipp_Stereographic,

ipp_Mercator,

ipp_Ball,

ipp_Hammer,

ipp_Sinusoidal,

ipp_Fisheye,

ipp_Pannini,

ipp_Cylindrical,

ipp_Perspective,

ipp_Tetrahedron,

ipp_Barrel_split,

ipp_Tspyramid,

ipp_Hequirectangular,

ipp_Equisolid,

ipp_Orthographic,

ipp_Octahedron


Supported interpolations: (v360_SetInterpolation)

ipl_Bilinear,

ipl_Nearest,

ipl_Lagrange9,

ipl_Bicubic,

ipl_Lanczos,

ipl_Spline16,

ipl_Gaussian,

ipl_Mitchell