[banshee] Add audio profile for Novell's AAC codec



commit 870caf906fac0aa6e8c3cdaa0139086990dfb33b
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Thu Mar 11 08:55:42 2010 -0800

    Add audio profile for Novell's AAC codec

 data/audio-profiles/Makefile.am       |    1 +
 data/audio-profiles/aac-novell.xml.in |   81 +++++++++++++++++++++++++++++++++
 po/POTFILES.in                        |    1 +
 3 files changed, 83 insertions(+), 0 deletions(-)
---
diff --git a/data/audio-profiles/Makefile.am b/data/audio-profiles/Makefile.am
index 8b3ff11..86b9173 100644
--- a/data/audio-profiles/Makefile.am
+++ b/data/audio-profiles/Makefile.am
@@ -1,5 +1,6 @@
 audioprofilesdir = $(pkgdatadir)/audio-profiles
 audioprofiles_in_files = \
+	aac-novell.xml.in \
 	base.xml.in \
 	flac.xml.in \
 	mp3-lame.xml.in \
diff --git a/data/audio-profiles/aac-novell.xml.in b/data/audio-profiles/aac-novell.xml.in
new file mode 100644
index 0000000..e3b7f5e
--- /dev/null
+++ b/data/audio-profiles/aac-novell.xml.in
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="utf-8"?>
+<audio-profiles>
+  <profiles>
+    <profile id="novell-aac">
+      <_name>AAC (Novell Encoder)</_name>
+      <_description>Designed to be the successor of the MP3 format, AAC generally achieves better sound quality than MP3 at many bit rates.</_description>
+      <output-file-extension>m4a</output-file-extension>
+      <mimetype>audio/aac</mimetype>
+      <mimetype>audio/mp4</mimetype>
+      <mimetype>audio/m4a</mimetype>
+      <mimetype>audio/x-aac</mimetype>
+      <mimetype>audio/x-mp4</mimetype>
+      <mimetype>audio/x-m4a</mimetype>
+      <mimetype>taglib/aac</mimetype>
+      <mimetype>taglib/mp4</mimetype>
+      <mimetype>taglib/m4a</mimetype>
+      <pipeline>
+        <process id="gstreamer">
+        <![CDATA[
+            (gst-construct-pipeline
+                "audioconvert"
+                (gst-construct-element "novellaacenc"
+                    "bitrate" (* bitrate 1000)
+                    "profile" profile
+                    "outputformat" outputformat)
+                container)
+        ]]>
+        </process>
+        <variable id="bitrate">
+          <_name>Bitrate</_name>
+          <control-type>combo</control-type>
+          <default-value>128</default-value>
+          <possible-values>
+            <value value="8">8 Kbps</value>
+            <value value="16">16 Kbps</value>
+            <value value="32">32 Kbps</value>
+            <value value="48">48 Kbps</value>
+            <value value="64">64 Kbps</value>
+            <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="256">256 Kbps</value>
+            <value value="320">320 Kbps</value>
+          </possible-values>
+        </variable>
+        <variable id="container">
+          <_name>Container</_name>
+          <output-file-extension>3gp</output-file-extension>
+          <control-type>combo</control-type>
+          <default-value>novellqtmux</default-value>
+          <possible-values>
+            <_value value="novellmp4mux">MPEG-4 ISO</_value>
+            <_value value="novellqtmux">MPEG-4 QuickTime</_value>
+            <_value value="novellgppmux">3GPP</_value>
+          </possible-values>
+        </variable>
+        <variable id="profile">
+          <_name>Profile</_name>
+          <control-type>combo</control-type>
+          <default-value>2</default-value>
+          <possible-values>
+            <_value value="2">Low Complexity</_value>
+            <_value value="4">Long Term Prediction</_value>
+          </possible-values>
+          <advanced/>
+        </variable>
+        <variable id="outputformat">
+          <_name>Output Format</_name>
+          <control-type>combo</control-type>
+          <default-value>0</default-value>
+          <possible-values>
+            <value value="0">RAW</value>
+            <value value="1">ADTS</value>
+          </possible-values>
+          <advanced/>
+        </variable>
+      </pipeline>
+    </profile>
+  </profiles>
+</audio-profiles>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 64c5a20..8f2bd51 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -3,6 +3,7 @@
 # after adding files here.
 [encoding: UTF-8]
 data/addin-xml-strings.cs
+data/audio-profiles/aac-novell.xml.in
 data/audio-profiles/base.xml.in
 data/audio-profiles/flac.xml.in
 data/audio-profiles/mp3-lame.xml.in



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]