non-interleaved to interleaved after AAC decoding (audioconvert?)

Nicolas Dufresne nicolas at ndufresne.ca
Thu Jun 10 14:12:19 UTC 2021


Le jeudi 10 juin 2021 à 05:51 -0500, Javiku via gstreamer-devel a écrit :
> Hello,
> I am programming an AAC pipeline in C and I would like to connect the
> decoder (avdec_aac) to a sink (pulsesink), but their caps are unfortunately
> not compatible. The avdec_aac outputs non-interleaved data and the pulsesink
> only accepts interleaved data. My current assumption is that I need the
> audioconvert element between them to accomplish that task because I have
> seen pipelines where that element has non-interleaved audio data at the
> input and interleaved data at the output. But given that just adding the
> element as such does not  automatically make the trick, I would like to know
> the instructions I need to configure it properly and make it work as
> desired.

Placing audioconvert filter properly in between is sufficient. Check your code.

  ... ! avec_aac ! audioconvert ! pulsesink

> Thank you and best regards,
> Javiku
> 
> 
> 
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




More information about the gstreamer-devel mailing list