On Fri, 2020-10-02 at 09:19 -0500, Blondin wrote:
Hi,
> gst-launch-1.0 -vvv audiotestsrc ! audio/x-raw,rate=44100,channels=2
> ! voaacenc bitrate=128000 ! aacparse ! queue ! shmsink
> socket-path=/tmp/output_a wait-for-connection=true
Try
.. ! aacparse ! audio/mpeg,stream-format=adts ! shmsink
and then
> gst-launch-1.0 shmsrc socket-path=/tmp/output_a ! capssetter
> caps=audio/mpeg ! aacparse ! decodebin ! audioconvert ! autoaudiosink
shmsrc .. ! decodebin ! ...
(ADTS is typefindable, "raw" AAC not so much).
Alternatively you can also set proper/full AAC caps on the capsetter
caps (with stream-format field and codec_data and all that).
Cheers
Tim
--
Tim Müller, Centricular Ltd -
http://www.centricular.com_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel