<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 style="margin-right: 0px; margin-left: 0px; font-size: 12px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);">
<span style="color: rgb(0, 0, 0);">Hello,</span></p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 12px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);">
<br>
</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 12px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);">
<span style="color: rgb(0, 0, 0);">How to generate mpeg TS stream (RTP payload type 33) with raw audio without using any audio encoder such as AAC? I need to feed raw PCM audio into mpegtsmux and RTP </span><span style="color: rgb(0, 0, 0); font-family: Menlo; font-size: 11px;">rtpmp2tpay</span><span style="color: rgb(0, 0, 0);">.
 I am getting pipeline link error if I:</span></p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 12px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);">
<span style="color: rgb(0, 0, 0);"><br>
</span></p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 12px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);">
gst-launch-1.0 autoaudiosrc ! audioconvert ! capsfilter caps = "audio/x-lpcm,width=16,channels=2,rate=48000" ! filesink location = "audiofile.raw"</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 12px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);">
<br>
</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 12px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);">
<span style="color: rgb(0, 0, 0);">Looks like </span><span style="color: rgb(0, 0, 0);">audio/x-lpcm is not included in the supported media type list:</span></p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 12px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(228, 175, 10);">
<a href="https://gstreamer.freedesktop.org/documentation/plugin-development/advanced/media-types.html" id="LPlnk541537" previewremoved="true"><span style="color: rgb(0, 0, 0);">https://gstreamer.freedesktop.org/documentation/plugin-development/advanced/media-types.html</span></a></p>
<br>
<p style="margin-right: 0px; margin-left: 0px; font-size: 12px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);">
<span style="color: rgb(0, 0, 0);">Do I have to create a new audio/x-lpcm media type? considering possible issues to link with existing elements.</span></p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 12px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);">
<br>
</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 12px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);">
<span style="color: rgb(0, 0, 0);">Is it feasible to create my own plugin to convert audio/x-raw to audio/x-lpcm and then link to mpegtsmux?</span></p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 12px; line-height: normal; font-family: 'Helvetica Neue'; color: rgb(69, 69, 69);">
<br>
</p>
<p style="margin-right: 0px; margin-left: 0px; line-height: normal;"><span style="color: rgb(69, 69, 69); font-family: 'Helvetica Neue'; font-size: 12px;"><span style="color: rgb(0, 0, 0);">Or should I use appsrc or </span></span><font color="#454545" face="Helvetica Neue"><span style="font-size: 12px;"><span style="color: rgb(0, 0, 0);">appsink
 method to do that?</span></span></font></p>
<p style="margin-right: 0px; margin-left: 0px; line-height: normal;"><font color="#454545" face="Helvetica Neue"><span style="font-size: 12px;"><br>
</span></font></p>
<p style="margin-right: 0px; margin-left: 0px; line-height: normal;"><font color="#454545" face="Helvetica Neue"><span style="font-size: 12px;"><span style="color: rgb(0, 0, 0);">Thanks and appreciate any feedback.</span></span></font></p>
<p style="margin-right: 0px; margin-left: 0px; line-height: normal;"><font color="#454545" face="Helvetica Neue"><span style="font-size: 12px;"><br>
</span></font></p>
<p style="margin-right: 0px; margin-left: 0px; line-height: normal;"><font color="#454545" face="Helvetica Neue"><span style="font-size: 12px;"><span style="color: rgb(0, 0, 0);">Charles</span></span></font></p>
<p style="margin-right: 0px; margin-left: 0px; line-height: normal;"><br>
</p>
<p style="margin-right: 0px; margin-left: 0px; line-height: normal;"></p>
</div>
</body>
</html>