summaryrefslogtreecommitdiff
path: root/data/audio-profiles/aac.xml.in
blob: 63c76c72968b5fca54198d09a374185cc8053447 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?xml version="1.0" encoding="utf-8"?>
<audio-profiles>
  <profiles>
    <profile id="faac-aac">
      <_name>Advanced Audio Coding (AAC)</_name>
      <_description>Proprietary and standardized format that is superior to MP3, but not as popular.</_description>
      <output-file-extension>m4a</output-file-extension>
      <mimetype>audio/x-m4a</mimetype>
      <mimetype>audio/mp4</mimetype>
      <mimetype>taglib/mp4</mimetype>
      <pipeline>
        <process id="gstreamer">
        <![CDATA[
            (gst-construct-pipeline 
                "audioconvert" 
                (gst-construct-element "faac"
                    "bitrate" (* 1024 bitrate)
                    "outputformat" 1)
                "ffmux_mp4")
        ]]>
        </process>
        <variable id="bitrate">
          <_name>Bitrate</_name>
          <control-type>combo</control-type>
          <default-value>128</default-value>
          <possible-values>
            <value value="96">96 Kbps</value>
            <value value="128">128 Kbps</value>
            <value value="160">160 Kbps</value>
            <value value="192">192 Kbps</value>
            <value value="320">320 Kbps</value>
          </possible-values>
        </variable>
      </pipeline>
    </profile>
  </profiles>
</audio-profiles>