GNOME Bugzilla – Bug 776236
FDK-AAC plugin does not expose LATM/LOAS transmux support
Last modified: 2018-11-03 14:02:01 UTC
FDK-AAC does support LATM/LOAS muxing, but gstreamer plugin does not. LATM/LOAS mux is widelly used worldwide in ISDB-T DTV.
Are you planning to work on this?
Yes. I'm trying to generate a compliant ISDB-T Transport Stream (MPEG2-TS).
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;
Does it work, what is missing? Does the resulting stream work fine through aacparse?
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/497.