Skip to content

API > VideoClip


VideoClip⚓︎

VideoClip inherits from Object

A container for video data.

Members⚓︎

Properties⚓︎

Name Description
VideoClip.audioTrackCountProperty Number of audio tracks in the clip.
VideoClip.frameCountProperty The length of the VideoClip in frames. (Read Only).
VideoClip.frameRateProperty The frame rate of the clip in frames/second. (Read Only).
VideoClip.heightProperty The height of the images in the video clip in pixels. (Read Only).
VideoClip.lengthProperty The length of the video clip in seconds. (Read Only).
VideoClip.originalPathProperty The video clip path in the project's assets. (Read Only).
VideoClip.pixelAspectRatioDenominatorProperty Denominator of the pixel aspect ratio (num:den). (Read Only).
VideoClip.sRGBProperty Whether the imported clip contains sRGB color data (Read Only).
VideoClip.widthProperty The width of the images in the video clip in pixels. (Read Only).

Methods⚓︎

Name Description
VideoClip.GetAudioChannelCount(audioTrackIdx) Method The number of channels in the audio track. E.g. 2 for a stereo track.
VideoClip.GetAudioLanguage(audioTrackIdx) Method Get the audio track language. Can be unknown.
VideoClip.GetAudioSampleRate(audioTrackIdx) Method Get the audio track sampling rate in Hertz.

Inherited Members⚓︎

Inherited Properties⚓︎

Name Description
VideoClip.hideFlagsProperty Should the object be hidden, saved with the Scene or modifiable by the user?
VideoClip.nameProperty The name of the object.

Inherited Methods⚓︎

Name Description
VideoClip.GetInstanceID()Method Returns the instance id of the object.

Extra Detail⚓︎

A VideoClip stores the video portion of a movie file using a codec that is appropriate for the target platform. VideoClips are referenced by VideoPlayers to play videos.