faac: Change default AAC Profile to Low Complexity (LC) as this is more widely supported
This commit is contained in:
parent
cf11e3b168
commit
1d08ea9f10
@ -31,10 +31,8 @@
|
|||||||
* framing and needs no container.
|
* framing and needs no container.
|
||||||
*
|
*
|
||||||
* The #GstFaac:profile property determines the AAC profile, where the default
|
* The #GstFaac:profile property determines the AAC profile, where the default
|
||||||
* Main profile is fine for most players and settings,
|
* LC (Low Complexity) profile is most widely used, supported and suitable for
|
||||||
* but in some cases (e.g. hardware platforms)
|
* general use. The other profiles are very rarely used and often not supported.
|
||||||
* a more restricted profile/level may be necessary.
|
|
||||||
* In particular, typical (iTunes) m4a expects LC profile AAC data.
|
|
||||||
*
|
*
|
||||||
* <refsect2>
|
* <refsect2>
|
||||||
* <title>Example launch line</title>
|
* <title>Example launch line</title>
|
||||||
@ -262,7 +260,7 @@ gst_faac_class_init (GstFaacClass * klass)
|
|||||||
8 * 1000, 320 * 1000, 128 * 1000, G_PARAM_READWRITE));
|
8 * 1000, 320 * 1000, 128 * 1000, G_PARAM_READWRITE));
|
||||||
g_object_class_install_property (gobject_class, ARG_PROFILE,
|
g_object_class_install_property (gobject_class, ARG_PROFILE,
|
||||||
g_param_spec_enum ("profile", "Profile", "MPEG/AAC encoding profile",
|
g_param_spec_enum ("profile", "Profile", "MPEG/AAC encoding profile",
|
||||||
GST_TYPE_FAAC_PROFILE, MAIN, G_PARAM_READWRITE));
|
GST_TYPE_FAAC_PROFILE, LOW, G_PARAM_READWRITE));
|
||||||
g_object_class_install_property (gobject_class, ARG_TNS,
|
g_object_class_install_property (gobject_class, ARG_TNS,
|
||||||
g_param_spec_boolean ("tns", "TNS", "Use temporal noise shaping",
|
g_param_spec_boolean ("tns", "TNS", "Use temporal noise shaping",
|
||||||
FALSE, G_PARAM_READWRITE));
|
FALSE, G_PARAM_READWRITE));
|
||||||
@ -302,7 +300,7 @@ gst_faac_init (GstFaac * faac)
|
|||||||
|
|
||||||
/* default properties */
|
/* default properties */
|
||||||
faac->bitrate = 1000 * 128;
|
faac->bitrate = 1000 * 128;
|
||||||
faac->profile = MAIN;
|
faac->profile = LOW;
|
||||||
faac->shortctl = SHORTCTL_NORMAL;
|
faac->shortctl = SHORTCTL_NORMAL;
|
||||||
faac->outputformat = 0; /* RAW */
|
faac->outputformat = 0; /* RAW */
|
||||||
faac->tns = FALSE;
|
faac->tns = FALSE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user