mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
faac: add some documentation
This commit is contained in:
parent
f0f80f81d9
commit
ceb6792447
1 changed files with 26 additions and 0 deletions
|
@ -18,6 +18,32 @@
|
||||||
* Boston, MA 02111-1307, USA.
|
* 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
|
#ifdef HAVE_CONFIG_H
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue