Audio decode

Jerry Geis jerry.geis at gmail.com
Thu Jul 11 12:59:02 UTC 2019


Part of my pipe does mulawdec and looks like this... (this works for some
audio)

location=rtsp://192.168.1.111 name=d d. ! rtph264depay ! h264parse
config-interval=-1 ! queue ! m. d. ! rtppcmudepay ! mulawdec !
audioresample ! audioconvert ! audiorate ! avenc_aac bitrate=96000
compliance=-2 ! aacparse ! queue ! m.

I have ran into a different audio source that comes in as:
caps = application/x-rtp, media=(string)audio, payload=(int)97,
clock-rate=(int)44100, encoding-name=(string)MPEG4-GENERIC,
encoding-params=(string)1, profile-level-id=(string)41,
streamtype=(string)5, mode=(string)AAC-hbr, objecttype=(string)64,
constantduration=(string)1024, sizelength=(string)13,
indexlength=(string)3, indexdeltalength=(string)3,
config=(string)12100000000000000000000000000000, ssrc=(uint)1770025223

Is it possible to have one pipeline that decodes either ? mulawdec and also
this MPEG4-GENERIC type ? How do I do that ?   if one pipeline does not
work for both - what is the correct entry for this mpeg4-generic?

Thanks,

Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190711/93728560/attachment.html>


More information about the gstreamer-devel mailing list