[Bug 776236] FDK-AAC plugin does not expose LATM/LOAS transmux support

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Dec 20 15:55:10 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=776236

--- Comment #3 from Rafael Diniz <rafael at riseup.net> ---
I did a first patch towards LOAS support in the encoder.
https://github.com/rafael2k/gst-plugins-bad/commit/38ecd8b83b22b9676800c175f2b1523f9a1a35dc

Also pasted here:

index 5e67d80..c20d4fb 100644
--- a/ext/fdkaac/gstfdkaacenc.c
+++ b/ext/fdkaac/gstfdkaacenc.c
@@ -133,7 +133,7 @@ static GstStaticPadTemplate src_template =
GST_STATIC_PAD_TEMPLATE ("src",
         "mpegversion = (int) 4, "
         "rate = (int) { " SAMPLE_RATES " }, "
         "channels = (int) {1, 2, 3, 4, 5, 6, 8}, "
-        "stream-format = (string) { adts, adif, raw }, "
+        "stream-format = (string) { adts, adif, loas, raw }, "
         "base-profile = (string) lc, " "framed = (boolean) true")
     );

@@ -281,6 +281,9 @@ gst_fdkaacenc_set_format (GstAudioEncoder * enc,
GstAudioInfo * info)
       } else if (strcmp (str, "adif") == 0) {
         GST_DEBUG_OBJECT (self, "use ADIF format for output");
         transmux = 1;
+      } else if (strcmp (str, "loas") == 0) {
+        GST_DEBUG_OBJECT (self, "use LOAS format for output");
+        transmux = 10;
       } else if (strcmp (str, "raw") == 0) {
         GST_DEBUG_OBJECT (self, "use RAW format for output");
         transmux = 0;

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list