Arbitrary channel count with rtpl16depay

Tim Müller tim at centricular.com
Sat Jan 11 12:03:02 UTC 2020


On Fri, 2020-01-10 at 19:18 -0600, James Cowdery wrote:

Hi James,

> I'm receiving an arbitrary number of audio channels over RTP and then
> using audioconvert to mix down to stereo for playout.
> For a channel count of 9, rtpl16depay can't match one of the
> predefined layouts (steeo, 5.1 etc.) so it reports "Unknown channel
> order '(NULL)' for 9 channels" This then causes "WARNING **:
> Unpositioned audio channel position flag not set but no channel
> positions present". The pipeline works but I'd like to suppress the
> warnings. I'm using Python bindings (PyGObject) and argv at Gst.Init
> doesn't seem to be parsed so can't get rid of them with --quiet. 
> 
> The layouts are hard-coded in. I'm guessing there must be an easy
> workaround but I've struggled to find it. I need a general solution
> that works for any number of input channels. Here is the pipeline:
> (snip)

Would it be enough / help in your case if rtpL16depay set the channel
positions to NONE (unpositioned)?

Cheers
 Tim


-- 
Tim Müller, Centricular Ltd - http://www.centricular.com



More information about the gstreamer-devel mailing list