Function

GstVideo-1.0GstVideovideo_convert_sample

  • Converts a raw video buffer into the specified output caps.

    The output caps can be any raw video formats or any image formats (jpeg, png, ...).

    The width, height and pixel-aspect-ratio can also be specified in the output caps.

    Parameters

    Returns Sample

    The converted Gst.Sample, or null if an error happened (in which case err will point to the GLib.Error).