public Gst.ClockTime get_duration ();
public unowned Gst.Structure get_misc ();
public Gst.DiscovererResult get_result ();
+ public bool get_seekable ();
public Gst.DiscovererStreamInfo get_stream_info ();
public GLib.List<Gst.DiscovererStreamInfo> get_stream_list ();
public GLib.List<Gst.MiniObject> get_streams (GLib.Type streamtype);
public bool is_image ();
public bool is_interlaced ();
}
+ [CCode (cheader_filename = "gst/pbutils/pbutils.h")]
+ public class EncodingAudioProfile : Gst.EncodingProfile {
+ [CCode (has_construct_function = false)]
+ public EncodingAudioProfile (Gst.Caps format, string? preset, Gst.Caps? restriction, uint presence);
+ }
+ [CCode (cheader_filename = "gst/pbutils/pbutils.h")]
+ public class EncodingContainerProfile : Gst.EncodingProfile {
+ [CCode (has_construct_function = false)]
+ public EncodingContainerProfile (string? name, string? description, Gst.Caps format, string? preset);
+ public bool add_profile (owned Gst.EncodingProfile profile);
+ public bool contains_profile (Gst.EncodingProfile profile);
+ public unowned GLib.List<Gst.EncodingProfile> get_profiles ();
+ }
+ [CCode (ref_function = "gst_encoding_profile_ref", unref_function = "gst_encoding_profile_unref", cheader_filename = "gst/pbutils/pbutils.h")]
+ public class EncodingProfile : Gst.MiniObject {
+ public static Gst.EncodingProfile find (string targetname, string profilename, string category);
+ public unowned string get_description ();
+ public unowned Gst.Caps get_format ();
+ public Gst.Caps get_input_caps ();
+ public unowned string get_name ();
+ public uint get_presence ();
+ public unowned string get_preset ();
+ public unowned Gst.Caps get_restriction ();
+ public unowned string get_type_nick ();
+ public bool is_equal (Gst.EncodingProfile b);
+ public unowned Gst.EncodingProfile @ref ();
+ public void set_description (string description);
+ public void set_format (Gst.Caps format);
+ public void set_name (string name);
+ public void set_presence (uint presence);
+ public void set_preset (string preset);
+ public void set_restriction (Gst.Caps restriction);
+ public void unref ();
+ }
+ [CCode (cheader_filename = "gst/pbutils/pbutils.h")]
+ public class EncodingTarget : Gst.MiniObject {
+ [CCode (has_construct_function = false)]
+ public EncodingTarget (string name, string category, string description, GLib.List<Gst.EncodingProfile> profiles);
+ public bool add_profile (owned Gst.EncodingProfile profile);
+ public unowned string get_category ();
+ public unowned string get_description ();
+ public unowned string get_name ();
+ public Gst.EncodingProfile get_profile (string name);
+ public unowned GLib.List<Gst.EncodingProfile> get_profiles ();
+ public static Gst.EncodingTarget load (string name, string category) throws GLib.Error;
+ public static Gst.EncodingTarget load_from_file (string filepath) throws GLib.Error;
+ public bool save () throws GLib.Error;
+ public bool save_to_file (string filepath) throws GLib.Error;
+ }
+ [CCode (cheader_filename = "gst/pbutils/pbutils.h")]
+ public class EncodingVideoProfile : Gst.EncodingProfile {
+ [CCode (has_construct_function = false)]
+ public EncodingVideoProfile (Gst.Caps format, string? preset, Gst.Caps? restriction, uint presence);
+ public uint get_pass ();
+ public bool get_variableframerate ();
+ public void set_pass (uint pass);
+ public void set_variableframerate (bool variableframerate);
+ }
[Compact]
[CCode (type_id = "GST_TYPE_INSTALL_PLUGINS_CONTEXT", cheader_filename = "gst/pbutils/pbutils.h")]
public class InstallPluginsContext {
[CCode (cheader_filename = "gst/pbutils/pbutils.h")]
public delegate void InstallPluginsResultFunc (Gst.InstallPluginsReturn result);
[CCode (cheader_filename = "gst/pbutils/pbutils.h")]
+ public const string ENCODING_CATEGORY_CAPTURE;
+ [CCode (cheader_filename = "gst/pbutils/pbutils.h")]
+ public const string ENCODING_CATEGORY_DEVICE;
+ [CCode (cheader_filename = "gst/pbutils/pbutils.h")]
+ public const string ENCODING_CATEGORY_ONLINE_SERVICE;
+ [CCode (cheader_filename = "gst/pbutils/pbutils.h")]
+ public const string ENCODING_CATEGORY_STORAGE_EDITING;
+ [CCode (cheader_filename = "gst/pbutils/pbutils.h")]
public const int PLUGINS_BASE_VERSION_MAJOR;
[CCode (cheader_filename = "gst/pbutils/pbutils.h")]
public const int PLUGINS_BASE_VERSION_MICRO;
[CCode (cheader_filename = "gst/pbutils/pbutils.h")]
public static unowned string codec_utils_mpeg4video_get_profile ([CCode (array_length_pos = 1.9)] uchar[] vis_obj_seq);
[CCode (cheader_filename = "gst/pbutils/pbutils.h")]
+ public static GLib.List<Gst.EncodingTarget> encoding_list_all_targets (string categoryname);
+ [CCode (cheader_filename = "gst/pbutils/pbutils.h")]
+ public static GLib.List<string> encoding_list_available_categories ();
+ [CCode (cheader_filename = "gst/pbutils/pbutils.h")]
public static Gst.InstallPluginsReturn install_plugins_async ([CCode (array_length = false)] string[] details, Gst.InstallPluginsContext? ctx, Gst.InstallPluginsResultFunc func);
[CCode (cheader_filename = "gst/pbutils/pbutils.h")]
public static bool install_plugins_installation_in_progress ();
<parameter name="len" type="guint"/>
</parameters>
</function>
+ <function name="encoding_list_all_targets" symbol="gst_encoding_list_all_targets">
+ <return-type type="GList*"/>
+ <parameters>
+ <parameter name="categoryname" type="gchar*"/>
+ </parameters>
+ </function>
+ <function name="encoding_list_available_categories" symbol="gst_encoding_list_available_categories">
+ <return-type type="GList*"/>
+ </function>
<function name="install_plugins_async" symbol="gst_install_plugins_async">
<return-type type="GstInstallPluginsReturn"/>
<parameters>
<parameter name="info" type="GstDiscovererInfo*"/>
</parameters>
</method>
+ <method name="get_seekable" symbol="gst_discoverer_info_get_seekable">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="info" type="GstDiscovererInfo*"/>
+ </parameters>
+ </method>
<method name="get_stream_info" symbol="gst_discoverer_info_get_stream_info">
<return-type type="GstDiscovererStreamInfo*"/>
<parameters>
</struct>
<struct name="GstDiscovererVideoInfoClass">
</struct>
+ <struct name="GstEncodingAudioProfile">
+ <method name="new" symbol="gst_encoding_audio_profile_new">
+ <return-type type="GstEncodingAudioProfile*"/>
+ <parameters>
+ <parameter name="format" type="GstCaps*"/>
+ <parameter name="preset" type="gchar*"/>
+ <parameter name="restriction" type="GstCaps*"/>
+ <parameter name="presence" type="guint"/>
+ </parameters>
+ </method>
+ </struct>
+ <struct name="GstEncodingAudioProfileClass">
+ </struct>
+ <struct name="GstEncodingContainerProfile">
+ <method name="add_profile" symbol="gst_encoding_container_profile_add_profile">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="container" type="GstEncodingContainerProfile*"/>
+ <parameter name="profile" type="GstEncodingProfile*"/>
+ </parameters>
+ </method>
+ <method name="contains_profile" symbol="gst_encoding_container_profile_contains_profile">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="container" type="GstEncodingContainerProfile*"/>
+ <parameter name="profile" type="GstEncodingProfile*"/>
+ </parameters>
+ </method>
+ <method name="get_profiles" symbol="gst_encoding_container_profile_get_profiles">
+ <return-type type="GList*"/>
+ <parameters>
+ <parameter name="profile" type="GstEncodingContainerProfile*"/>
+ </parameters>
+ </method>
+ <method name="new" symbol="gst_encoding_container_profile_new">
+ <return-type type="GstEncodingContainerProfile*"/>
+ <parameters>
+ <parameter name="name" type="gchar*"/>
+ <parameter name="description" type="gchar*"/>
+ <parameter name="format" type="GstCaps*"/>
+ <parameter name="preset" type="gchar*"/>
+ </parameters>
+ </method>
+ </struct>
+ <struct name="GstEncodingContainerProfileClass">
+ </struct>
+ <struct name="GstEncodingProfile">
+ <method name="find" symbol="gst_encoding_profile_find">
+ <return-type type="GstEncodingProfile*"/>
+ <parameters>
+ <parameter name="targetname" type="gchar*"/>
+ <parameter name="profilename" type="gchar*"/>
+ <parameter name="category" type="gchar*"/>
+ </parameters>
+ </method>
+ <method name="get_description" symbol="gst_encoding_profile_get_description">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="profile" type="GstEncodingProfile*"/>
+ </parameters>
+ </method>
+ <method name="get_format" symbol="gst_encoding_profile_get_format">
+ <return-type type="GstCaps*"/>
+ <parameters>
+ <parameter name="profile" type="GstEncodingProfile*"/>
+ </parameters>
+ </method>
+ <method name="get_input_caps" symbol="gst_encoding_profile_get_input_caps">
+ <return-type type="GstCaps*"/>
+ <parameters>
+ <parameter name="profile" type="GstEncodingProfile*"/>
+ </parameters>
+ </method>
+ <method name="get_name" symbol="gst_encoding_profile_get_name">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="profile" type="GstEncodingProfile*"/>
+ </parameters>
+ </method>
+ <method name="get_presence" symbol="gst_encoding_profile_get_presence">
+ <return-type type="guint"/>
+ <parameters>
+ <parameter name="profile" type="GstEncodingProfile*"/>
+ </parameters>
+ </method>
+ <method name="get_preset" symbol="gst_encoding_profile_get_preset">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="profile" type="GstEncodingProfile*"/>
+ </parameters>
+ </method>
+ <method name="get_restriction" symbol="gst_encoding_profile_get_restriction">
+ <return-type type="GstCaps*"/>
+ <parameters>
+ <parameter name="profile" type="GstEncodingProfile*"/>
+ </parameters>
+ </method>
+ <method name="get_type_nick" symbol="gst_encoding_profile_get_type_nick">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="profile" type="GstEncodingProfile*"/>
+ </parameters>
+ </method>
+ <method name="is_equal" symbol="gst_encoding_profile_is_equal">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="a" type="GstEncodingProfile*"/>
+ <parameter name="b" type="GstEncodingProfile*"/>
+ </parameters>
+ </method>
+ <method name="set_description" symbol="gst_encoding_profile_set_description">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="profile" type="GstEncodingProfile*"/>
+ <parameter name="description" type="gchar*"/>
+ </parameters>
+ </method>
+ <method name="set_format" symbol="gst_encoding_profile_set_format">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="profile" type="GstEncodingProfile*"/>
+ <parameter name="format" type="GstCaps*"/>
+ </parameters>
+ </method>
+ <method name="set_name" symbol="gst_encoding_profile_set_name">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="profile" type="GstEncodingProfile*"/>
+ <parameter name="name" type="gchar*"/>
+ </parameters>
+ </method>
+ <method name="set_presence" symbol="gst_encoding_profile_set_presence">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="profile" type="GstEncodingProfile*"/>
+ <parameter name="presence" type="guint"/>
+ </parameters>
+ </method>
+ <method name="set_preset" symbol="gst_encoding_profile_set_preset">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="profile" type="GstEncodingProfile*"/>
+ <parameter name="preset" type="gchar*"/>
+ </parameters>
+ </method>
+ <method name="set_restriction" symbol="gst_encoding_profile_set_restriction">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="profile" type="GstEncodingProfile*"/>
+ <parameter name="restriction" type="GstCaps*"/>
+ </parameters>
+ </method>
+ </struct>
+ <struct name="GstEncodingProfileClass">
+ </struct>
+ <struct name="GstEncodingTarget">
+ <method name="add_profile" symbol="gst_encoding_target_add_profile">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="target" type="GstEncodingTarget*"/>
+ <parameter name="profile" type="GstEncodingProfile*"/>
+ </parameters>
+ </method>
+ <method name="get_category" symbol="gst_encoding_target_get_category">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="target" type="GstEncodingTarget*"/>
+ </parameters>
+ </method>
+ <method name="get_description" symbol="gst_encoding_target_get_description">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="target" type="GstEncodingTarget*"/>
+ </parameters>
+ </method>
+ <method name="get_name" symbol="gst_encoding_target_get_name">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="target" type="GstEncodingTarget*"/>
+ </parameters>
+ </method>
+ <method name="get_profile" symbol="gst_encoding_target_get_profile">
+ <return-type type="GstEncodingProfile*"/>
+ <parameters>
+ <parameter name="target" type="GstEncodingTarget*"/>
+ <parameter name="name" type="gchar*"/>
+ </parameters>
+ </method>
+ <method name="get_profiles" symbol="gst_encoding_target_get_profiles">
+ <return-type type="GList*"/>
+ <parameters>
+ <parameter name="target" type="GstEncodingTarget*"/>
+ </parameters>
+ </method>
+ <method name="load" symbol="gst_encoding_target_load">
+ <return-type type="GstEncodingTarget*"/>
+ <parameters>
+ <parameter name="name" type="gchar*"/>
+ <parameter name="category" type="gchar*"/>
+ <parameter name="error" type="GError**"/>
+ </parameters>
+ </method>
+ <method name="load_from_file" symbol="gst_encoding_target_load_from_file">
+ <return-type type="GstEncodingTarget*"/>
+ <parameters>
+ <parameter name="filepath" type="gchar*"/>
+ <parameter name="error" type="GError**"/>
+ </parameters>
+ </method>
+ <method name="new" symbol="gst_encoding_target_new">
+ <return-type type="GstEncodingTarget*"/>
+ <parameters>
+ <parameter name="name" type="gchar*"/>
+ <parameter name="category" type="gchar*"/>
+ <parameter name="description" type="gchar*"/>
+ <parameter name="profiles" type="GList*"/>
+ </parameters>
+ </method>
+ <method name="save" symbol="gst_encoding_target_save">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="target" type="GstEncodingTarget*"/>
+ <parameter name="error" type="GError**"/>
+ </parameters>
+ </method>
+ <method name="save_to_file" symbol="gst_encoding_target_save_to_file">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="target" type="GstEncodingTarget*"/>
+ <parameter name="filepath" type="gchar*"/>
+ <parameter name="error" type="GError**"/>
+ </parameters>
+ </method>
+ </struct>
+ <struct name="GstEncodingTargetClass">
+ </struct>
+ <struct name="GstEncodingVideoProfile">
+ <method name="get_pass" symbol="gst_encoding_video_profile_get_pass">
+ <return-type type="guint"/>
+ <parameters>
+ <parameter name="prof" type="GstEncodingVideoProfile*"/>
+ </parameters>
+ </method>
+ <method name="get_variableframerate" symbol="gst_encoding_video_profile_get_variableframerate">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="prof" type="GstEncodingVideoProfile*"/>
+ </parameters>
+ </method>
+ <method name="new" symbol="gst_encoding_video_profile_new">
+ <return-type type="GstEncodingVideoProfile*"/>
+ <parameters>
+ <parameter name="format" type="GstCaps*"/>
+ <parameter name="preset" type="gchar*"/>
+ <parameter name="restriction" type="GstCaps*"/>
+ <parameter name="presence" type="guint"/>
+ </parameters>
+ </method>
+ <method name="set_pass" symbol="gst_encoding_video_profile_set_pass">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="prof" type="GstEncodingVideoProfile*"/>
+ <parameter name="pass" type="guint"/>
+ </parameters>
+ </method>
+ <method name="set_variableframerate" symbol="gst_encoding_video_profile_set_variableframerate">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="prof" type="GstEncodingVideoProfile*"/>
+ <parameter name="variableframerate" type="gboolean"/>
+ </parameters>
+ </method>
+ </struct>
+ <struct name="GstEncodingVideoProfileClass">
+ </struct>
<boxed name="GstInstallPluginsContext" type-name="GstInstallPluginsContext" get-type="gst_install_plugins_context_get_type">
<method name="free" symbol="gst_install_plugins_context_free">
<return-type type="void"/>
</parameters>
</signal>
</object>
+ <constant name="GST_ENCODING_CATEGORY_CAPTURE" type="char*" value="capture"/>
+ <constant name="GST_ENCODING_CATEGORY_DEVICE" type="char*" value="device"/>
+ <constant name="GST_ENCODING_CATEGORY_ONLINE_SERVICE" type="char*" value="online-service"/>
+ <constant name="GST_ENCODING_CATEGORY_STORAGE_EDITING" type="char*" value="storage-editing"/>
<constant name="GST_PLUGINS_BASE_VERSION_MAJOR" type="int" value="0"/>
<constant name="GST_PLUGINS_BASE_VERSION_MICRO" type="int" value="31"/>
<constant name="GST_PLUGINS_BASE_VERSION_MINOR" type="int" value="10"/>
- <constant name="GST_PLUGINS_BASE_VERSION_NANO" type="int" value="1"/>
+ <constant name="GST_PLUGINS_BASE_VERSION_NANO" type="int" value="3"/>
</namespace>
</api>