How to add audio part in a pipeline dynamically?

cfd new newcfd at yahoo.com
Fri Sep 8 16:09:32 UTC 2023


 Or is there a way to find audio decoder element from encoding-name of audio caps?For example: one of my audio caps hasencoding-name=(string)MPAHow do I use the name MPA to find the corresponding audio decoder element in gstreamer?
  Thanks for your help.
  Joe

    On Friday, September 8, 2023, 11:45:43 a.m. EDT, cfd new via gstreamer-devel <gstreamer-devel at lists.freedesktop.org> wrote:  
 
 I tried to add audio part in a rtsp pipeline dynamically withauto audio_bin = gst_parse_bin_from_description( "queue ! decodebin ! audioconvert ! autoaudiosink", TRUE );My problem is I do not want to handle different audio forms manually. Therefore, decodebin is applied here. However, audio_bin can not be linked to the pipeline. Does the pad of decodebin need to be handled?  
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230908/5947765a/attachment.htm>


More information about the gstreamer-devel mailing list