AVPro Video Class Reference  1.6.12
RenderHeads.Media.AVProVideo.IMediaInfo Interface Reference
Inheritance diagram for RenderHeads.Media.AVProVideo.IMediaInfo:
RenderHeads.Media.AVProVideo.BaseMediaPlayer

Public Member Functions

float GetDurationMs ()
 Returns media duration in milliseconds More...
 
int GetVideoWidth ()
 Returns video width in pixels More...
 
int GetVideoHeight ()
 Returns video height in pixels More...
 
float GetVideoFrameRate ()
 Returns the frame rate of the media. More...
 
float GetVideoDisplayRate ()
 Returns the current achieved display rate in frames per second More...
 
bool HasVideo ()
 Returns true if the media has a visual track More...
 
bool HasAudio ()
 Returns true if the media has a audio track More...
 
int GetAudioTrackCount ()
 Returns the number of audio tracks contained in the media More...
 
string GetCurrentAudioTrackId ()
 Returns the current audio track identification More...
 
int GetCurrentAudioTrackBitrate ()
 Returns the current audio track bitrate More...
 
int GetVideoTrackCount ()
 Returns the number of video tracks contained in the media More...
 
string GetCurrentVideoTrackId ()
 Returns the current video track identification More...
 
int GetCurrentVideoTrackBitrate ()
 Returns the current video track bitrate More...
 
string GetPlayerDescription ()
 Returns the a description of which playback path is used internally. More...
 
bool PlayerSupportsLinearColorSpace ()
 Whether this MediaPlayer instance supports linear color space If it doesn't then a correction may have to be made in the shader More...
 
bool IsPlaybackStalled ()
 Checks if the playback is in a stalled state More...
 
float[] GetTextureTransform ()
 The affine transform of the texture as an array of six floats: a, b, c, d, tx, ty. More...
 

Member Function Documentation

int RenderHeads.Media.AVProVideo.IMediaInfo.GetAudioTrackCount ( )

Returns the number of audio tracks contained in the media

Implemented in RenderHeads.Media.AVProVideo.BaseMediaPlayer.

int RenderHeads.Media.AVProVideo.IMediaInfo.GetCurrentAudioTrackBitrate ( )

Returns the current audio track bitrate

Implemented in RenderHeads.Media.AVProVideo.BaseMediaPlayer.

string RenderHeads.Media.AVProVideo.IMediaInfo.GetCurrentAudioTrackId ( )

Returns the current audio track identification

Implemented in RenderHeads.Media.AVProVideo.BaseMediaPlayer.

int RenderHeads.Media.AVProVideo.IMediaInfo.GetCurrentVideoTrackBitrate ( )

Returns the current video track bitrate

Implemented in RenderHeads.Media.AVProVideo.BaseMediaPlayer.

string RenderHeads.Media.AVProVideo.IMediaInfo.GetCurrentVideoTrackId ( )

Returns the current video track identification

Implemented in RenderHeads.Media.AVProVideo.BaseMediaPlayer.

float RenderHeads.Media.AVProVideo.IMediaInfo.GetDurationMs ( )

Returns media duration in milliseconds

Implemented in RenderHeads.Media.AVProVideo.BaseMediaPlayer.

string RenderHeads.Media.AVProVideo.IMediaInfo.GetPlayerDescription ( )

Returns the a description of which playback path is used internally.

This can for example expose whether CPU or GPU decoding is being performed For Windows the available player descriptions are: "DirectShow" - legacy Microsoft API but still very useful especially with modern filters such as LAV "MF-MediaEngine-Software" - uses the Windows 8.1 features of the Microsoft Media Foundation API, but software decoding "MF-MediaEngine-Hardware" - uses the Windows 8.1 features of the Microsoft Media Foundation API, but GPU decoding Android just has "MediaPlayer" macOS / tvOS / iOS just has "AVfoundation"

Implemented in RenderHeads.Media.AVProVideo.BaseMediaPlayer.

float [] RenderHeads.Media.AVProVideo.IMediaInfo.GetTextureTransform ( )

The affine transform of the texture as an array of six floats: a, b, c, d, tx, ty.

Implemented in RenderHeads.Media.AVProVideo.BaseMediaPlayer.

float RenderHeads.Media.AVProVideo.IMediaInfo.GetVideoDisplayRate ( )

Returns the current achieved display rate in frames per second

Implemented in RenderHeads.Media.AVProVideo.BaseMediaPlayer.

float RenderHeads.Media.AVProVideo.IMediaInfo.GetVideoFrameRate ( )

Returns the frame rate of the media.

Implemented in RenderHeads.Media.AVProVideo.BaseMediaPlayer.

int RenderHeads.Media.AVProVideo.IMediaInfo.GetVideoHeight ( )

Returns video height in pixels

Implemented in RenderHeads.Media.AVProVideo.BaseMediaPlayer.

int RenderHeads.Media.AVProVideo.IMediaInfo.GetVideoTrackCount ( )

Returns the number of video tracks contained in the media

Implemented in RenderHeads.Media.AVProVideo.BaseMediaPlayer.

int RenderHeads.Media.AVProVideo.IMediaInfo.GetVideoWidth ( )

Returns video width in pixels

Implemented in RenderHeads.Media.AVProVideo.BaseMediaPlayer.

bool RenderHeads.Media.AVProVideo.IMediaInfo.HasAudio ( )

Returns true if the media has a audio track

Implemented in RenderHeads.Media.AVProVideo.BaseMediaPlayer.

bool RenderHeads.Media.AVProVideo.IMediaInfo.HasVideo ( )

Returns true if the media has a visual track

Implemented in RenderHeads.Media.AVProVideo.BaseMediaPlayer.

bool RenderHeads.Media.AVProVideo.IMediaInfo.IsPlaybackStalled ( )

Checks if the playback is in a stalled state

Implemented in RenderHeads.Media.AVProVideo.BaseMediaPlayer.

bool RenderHeads.Media.AVProVideo.IMediaInfo.PlayerSupportsLinearColorSpace ( )

Whether this MediaPlayer instance supports linear color space If it doesn't then a correction may have to be made in the shader

Implemented in RenderHeads.Media.AVProVideo.BaseMediaPlayer.