faac: add some documentation
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Sat, 5 Sep 2009 19:35:19 +0000 (21:35 +0200)
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Tue, 8 Sep 2009 20:32:27 +0000 (22:32 +0200)
ext/faac/gstfaac.c

index 1e04ff4..7b81d65 100644 (file)
  * Boston, MA 02111-1307, USA.
  */
 
+/**
+ * SECTION:element-faac
+ * @seealso: faad
+ *
+ * faac encodes raw audio to AAC (MPEG-4 part 10) streams.
+ *
+ * The #GstFaac:outputformat property determines whether or not the
+ * AAC data needs additional framing provided by a container
+ * (such as Matroska or Quicktime).
+ * This is required for raw data, whereas ADTS formatted AAC already provides
+ * framing and needs no container.
+ *
+ * The #GstFaac:profile property determines the AAC profile, where the default
+ * Main profile is fine for most players and settings,
+ * but in some cases (e.g. hardware platforms)
+ * a more restricted profile/level may be necessary.
+ * In particular, typical (iTunes) m4a expects LC profile AAC data.
+ *
+ * <refsect2>
+ * <title>Example launch line</title>
+ * <programlisting>
+ * gst-launch audiotestsrc wave=sine num-buffers=100 ! audioconvert ! faac ! matroskamux ! filesink location=sine.mkv
+ * </programlisting>
+ * </refsect2>
+ */
+
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif