VideoFormat.toFourcc
uint toFourcc(gstvideo.types.VideoFormat format)Converts a #GstVideoFormat value into the corresponding FOURCC. Only a few YUV formats have corresponding FOURCC values. If format has no corresponding FOURCC value, 0 is returned.
Parameters
format | a #GstVideoFormat video format |
Returns
the FOURCC corresponding to format