how to determin if it is mp3 or wav format of audio from GstCaps * caps from coming rtsp streaming

cfd new newcfd at yahoo.com
Thu Feb 9 17:13:43 UTC 2023


 
Hi, Tim,
   thanks for your suggestion. Audio elements are only part of a customized pipeline, I can not change it.
   Cheers,
   Joe
    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.
Cheers Tim  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230209/b5ab07c7/attachment.htm>


More information about the gstreamer-devel mailing list