Skip to content

PlayerVideoCodec

property, read-only

Delphi
property PlayerVideoCodec: string read GetVideoCodec;
C++Builder
__property System::UnicodeString PlayerVideoCodec = {read=GetVideoCodec};
C#
public string PlayerVideoCodec { get; }
VB.NET
Public ReadOnly Property PlayerVideoCodec As String
C++/Qt
wchar_t *GetPlayerVideoCodec ();

Returns the name of the video codec currently used by the player, if any.

When the clip is played through the built-in Media Foundation source (e.g. when LAV Filters are not installed), this property returns the codec of the video stream and the GPU that decodes it, e.g. "VP9 (Nvidia GPU)", "H264 (Intel GPU)", "HEVC (CPU)" (checked again at the first frames).

During a recording with a Media Foundation encoder entry of VideoCompressors, or with the built-in MP4 writer, it returns the codec of the encoder, e.g. "VP9 (Intel GPU)", "H264 (CPU)".

The clip must have been opened by OpenPlayer.