[Bug 751605] audio: Add proper support for non-interleaved / planar audio

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Feb 14 15:17:29 UTC 2018


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

--- Comment #8 from George Kiagiadakis <gkiagia at tolabaki.gr> ---
So, I have pretty much completed what I had in mind. I also went ahead and
changed the libav decoders to output the decoder's native layout instead of
interleaving internally.

https://gitlab.collabora.com/gkiagia/gst-plugins-base/commits/planar_audio
https://gitlab.collabora.com/gkiagia/gst-libav/commits/planar_audio

These address all 3 related tickets: this one, plus:
https://bugzilla.gnome.org/show_bug.cgi?id=705986
https://bugzilla.gnome.org/show_bug.cgi?id=705977


I also tried to do this for the libav encoders, only to realize later that the
base class (GstAudioEncoder) cannot support non-interleaved layouts easily,
because it uses a GstAdapter to cut the input into pieces sized to match the
implementation's preferences. I am not planning to continue working on this
atm, but I left the code in these branches for anyone who wishes to pick it
up...

https://gitlab.collabora.com/gkiagia/gst-plugins-base/commits/planar_audio_next
https://gitlab.collabora.com/gkiagia/gst-libav/commits/planar_audio_next


The only thing that remains here is to iterate through every other element in
the tree and remove the "non-interleaved" string from its static caps (like I
did with adder), or otherwise fix the element to support this layout properly
and through GstAudioMeta, as I'm pretty sure things will not just work
otherwise.

-- 
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