VideoFormat.codec Property

Module: VideoFormat

Type: string

Definition

Identifies the video codec used to compress or decompress the video frames, represented by a FOURCC (Four-Character Code)

The codec is crucial for understanding the video format’s compatibility and requirements for playback or editing.

codec: str

Exceptions

An error has occurred during Devices Library execution.
String get codec => getCodec();
set codec(String value) => setCodec(value);

Exceptions

An error has occurred during Devices Library execution.
public string codec
{
    get => Getcodec();
    set => Setcodec(ref value);
}

Exceptions

An error has occurred during Devices Library execution.
public String getCodec() throws DevicesException
public void setCodec(String codec) throws DevicesException

Exceptions

An error has occurred during Devices Library execution.
int id3DevicesVideoFormat_GetCodec (ID3_DEVICES_VIDEO_FORMAT hVideoFormat, char * codec, int * codecSize)
int id3DevicesVideoFormat_SetCodec (ID3_DEVICES_VIDEO_FORMAT hVideoFormat, const char * codec)

Returns

int
An error code.
See id3DevicesError file for the list of possible error codes.