how to determin if it is mp3 or wav format of audio from GstCaps * caps from coming rtsp streaming
newcfd at yahoo.com
Thu Feb 9 17:13:43 UTC 2023
thanks for your suggestion. Audio elements are only part of a customized pipeline, I can not change it.
On Wednesday, February 8, 2023, 07:49:38 p.m. EST, Tim-Philipp Müller via gstreamer-devel <gstreamer-devel at lists.freedesktop.org> wrote:
need to set the right audio decoder for it.
If you always want to decode you could also use uridecodebin or
uridecodebin3 with uri=rtsp:// instead of rtspsrc, those elements will
take care of plugging the right depayloader(s) and/or decoder(s) and
then give you the decoded audio/video.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel