* <para>
* Encoding profiles describe the media types and settings one wishes to use for
* an encoding process. The top-level profiles are commonly
- * #GstEncodingContainerProfile(s) (which contains user-readable name and
- * description along with which container format to use) which references one or
- * more #GstEncodingProfile(s) which indicate which encoding format should be
- * used on each individual streams.
+ * #GstEncodingContainerProfile(s) (which contains a user-readable name and
+ * description along with which container format to use). These, in turn,
+ * reference one or more #GstEncodingProfile(s) which indicate which encoding
+ * format should be used on each individual streams.
* </para>
* <para>
* #GstEncodingProfile(s) can be provided to the 'encodebin' element, which will take
*
* Since: 0.10.32
*
- * Returns: the media format used in the profile.
+ * Returns: the #GstCaps corresponding to the media format used in the profile.
*/
const GstCaps *
gst_encoding_profile_get_format (GstEncodingProfile * profile)
*
* Since: 0.10.32
*
- * Returns: the preset to be used in the profile.
+ * Returns: the name of the #GstPreset to be used in the profile.
*/
const gchar *
gst_encoding_profile_get_preset (GstEncodingProfile * profile)
*
* Since: 0.10.32
*
- * Returns: The number of time the profile is used in its parent
- * container profile. If 0, it is not a mandatory stream
+ * Returns: The number of times the profile is used in its parent
+ * container profile. If 0, it is not a mandatory stream.
*/
guint
gst_encoding_profile_get_presence (GstEncodingProfile * profile)
* Since: 0.10.32
*
* Returns: The restriction #GstCaps to apply before the encoder
- * that will be used in the profile. Does not apply to #GstEncodingContainerProfile.
+ * that will be used in the profile. The fields present in restriction caps are
+ * properties of the raw stream (that is before encoding), such as height and
+ * width for video and depth and sampling rate for audio. Does not apply to
+ * #GstEncodingContainerProfile (since there is no corresponding raw stream).
* Can be %NULL.
*/
const GstCaps *
* @restriction: the restriction to apply
*
* Set the restriction #GstCaps to apply before the encoder
- * that will be used in the profile. Does not apply to #GstEncodingContainerProfile.
+ * that will be used in the profile. See gst_encoding_profile_set_restriction()
+ * for more about restrictions. Does not apply to #GstEncodingContainerProfile.
*
* Since: 0.10.32
*/
* @format: the #GstCaps
* @preset: the preset(s) to use on the encoder, can be #NULL
* @restriction: the #GstCaps used to restrict the input to the encoder, can be
- * NULL.
+ * NULL. See gst_encoding_profile_get_restriction() for more details.
* @presence: the number of time this stream must be used. 0 means any number of
* times (including never)
*
* @format: the #GstCaps
* @preset: the preset(s) to use on the encoder, can be #NULL
* @restriction: the #GstCaps used to restrict the input to the encoder, can be
- * NULL.
+ * NULL. See gst_encoding_profile_get_restriction() for more details.
* @presence: the number of time this stream must be used. 0 means any number of
* times (including never)
*
* $HOME/gstreamer-GST_MAJORMINOR/encoding-profile
*
* Naming convention
- * $(target.category)/$(target.name).gstprof
+ * $(target.category)/$(target.name).gep
*
* Naming restrictions:
* lowercase ASCII letter for the first character
* first character, followed by either lowercase ASCII letters, digits or
* hyphens ('-').
*
- * The @category *should* be one of the existing well-defined categories, like
- * #GST_ENCODING_CATEGORY_DEVICE, but it *can* be a application or user specific
- * category if needed.
+ * The @category <emphasis>should</emphasis> be one of the existing
+ * well-defined categories, like #GST_ENCODING_CATEGORY_DEVICE, but it
+ * <emphasis>can</emphasis> be a application or user specific category if
+ * needed.
*
* Since: 0.10.32
*
/**
* gst_encoding_list_all_targets:
* @categoryname: (allow-none): The category, for ex: #GST_ENCODING_CATEGORY_DEVICE.
- * Can be NULL.
+ * Can be %NULL.
*
* List all available #GstEncodingTarget for the specified category, or all categories
- * if @categoryname is NULL.
+ * if @categoryname is %NULL.
*
* Returns: (transfer full) (element-type GstEncodingTarget): The list of #GstEncodingTarget
*/