No sound play with aac codec

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

No sound play with aac codec

Blondin
hello all,

I launch this first pipeline

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

This pipeline below don't work .. Can you help me to configure this audio
pipeline ?

gst-launch-1.0 shmsrc socket-path=/tmp/output_a ! capssetter caps=audio/mpeg
! aacparse ! decodebin ! audioconvert ! autoaudiosink

regards





--
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: No sound play with aac codec

Tim Müller
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