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

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

GStreamer-devel mailing list
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.
Thank you and best regards,
Javiku



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

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

GStreamer-devel mailing list
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
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel