A container for video data.
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.
audioTrackCount | Number of audio tracks in the clip. |
frameCount | The length of the VideoClip in frames. (Read Only). |
frameRate | The frame rate of the clip in frames/second. (Read Only). |
height | The height of the images in the video clip in pixels. (Read Only). |
length | The length of the video clip in seconds. (Read Only). |
originalPath | The video clip path in the project's assets. (Read Only). |
pixelAspectRatioDenominator | Denominator of the pixel aspect ratio (num:den). (Read Only). |
pixelAspectRatioNumerator | Numerator of the pixel aspect ratio (num:den). (Read Only). |
sRGB | Whether the imported clip contains sRGB color data (Read Only). |
width | The width of the images in the video clip in pixels. (Read Only). |
GetAudioChannelCount | The number of channels in the audio track. E.g. 2 for a stereo track. |
GetAudioLanguage | Get the audio track language. Can be unknown. |
GetAudioSampleRate | Get the audio track sampling rate in Hertz. |