VideoFormat.fromString

gstvideo.types.VideoFormat fromString(string format)

Convert the format string to its #GstVideoFormat.

Parameters

formata format string

Returns

the #GstVideoFormat for format or GST_VIDEO_FORMAT_UNKNOWN when the

string is not a known format.