EncodingProfile.fromDiscoverer

Creates a #GstEncodingProfile matching the formats from the given #GstDiscovererInfo. Streams other than audio or video (eg, subtitles), are currently ignored.

Parameters

info gstpbutils.discoverer_info.DiscovererInfo

The #GstDiscovererInfo to read from

Return Value

Type: gstpbutils.encoding_profile.EncodingProfile

The new #GstEncodingProfile or null.