<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Hello,</p>
<p><br>
</p>
<p>I'm sending an audio in a RTP streaming using gst-launch and I need to encode it with some codecs.</p>
<p><br>
</p>
<p>I was able to do it with opus:</p>
<p><br>
</p>
<p><span>gst-launch-1.0 autoaudiosrc ! audioconvert ! audioresample  ! opusenc ! rtpopuspay ! udpsink host=192.168.1.147 port=5001 ) </span></p>
<p><span><br>
</span></p>
<p><span>gst-launch-1.0 udpsrc port=5001 caps="application/x-rtp" ! rtpopusdepay ! opusdec ! alsasink </span><br>
</p>
<p><span><br>
</span></p>
<p><span>And G711:</span></p>
<p><span><br>
</span></p>
<p><span><span>gst-launch-1.0 autoaudiosrc ! audioconvert ! audioresample  ! alawenc ! rtppcmapay ! udpsink host=192.168.1.147 port=5001                                      </span></span></p>
<p><span><span><br>
</span></span></p>
<p><span><span>gst-launch-1.0 udpsrc port=5001 caps="application/x-rtp" ! rtppcmadepay ! alawdec ! alsasink</span><br>
</span></p>
<p><span><span><br>
</span></span></p>
<p>Now I also need to do it with these codecs:</p>
<p><br>
</p>
<p>G722</p>
<p>MP3</p>
<p>MPEG1/2</p>
<p>MPEG4</p>
<p>MPEG2/4</p>
<p>PCM</p>
<p><br>
</p>
<p>I found in the plugins list that gstreamer has the plugins for all of these codecs. But how can I find the right playbins for each one of them? Is there a documentation of how to change the playbins or a list of playbins for these codecs?</p>
<p><br>
</p>
<p>Any tip will be very helpful,</p>
<p><br>
</p>
<p>Thanks</p>
<p><br>
</p>
<div id="Signature"></div>
</div>
</body>
</html>