<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Bookman Old Style";
panose-1:2 5 6 4 5 5 5 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Bookman Old Style";
color:windowtext;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Bookman Old Style";
color:blue;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Bookman Old Style"><span
style='font-size:11.0pt;font-family:"Bookman Old Style"'>Hi,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Bookman Old Style"><span
style='font-size:11.0pt;font-family:"Bookman Old Style"'> I
am facing a problem streaming in an audio stream over RTP into VLC and playing
it.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Bookman Old Style"><span
style='font-size:11.0pt;font-family:"Bookman Old Style"'>My goal is streaming
L16 format audio out of my embedded device on rtp. I do this using gstreamer as
follows<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'>gst-launch filesrc location=heart_dirumble.wav !
wavparse ! audioconvert ! audio/x-raw-int, endianess=4321, signed=true,
width=16, depth=16, rate=11025, channels=2 ! rtpL16pay ! udpsink
host=192.168.0.166 port=1234<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Bookman Old Style"><span
style='font-size:11.0pt;font-family:"Bookman Old Style"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Bookman Old Style"><span
style='font-size:11.0pt;font-family:"Bookman Old Style"'>I made a sdp file as
below<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Bookman Old Style"><span
style='font-size:11.0pt;font-family:"Bookman Old Style"'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>v=0<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>o=root 1 1 IN IP4
192.168.0.174<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>s= audio dev<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>t=0 0<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>m=audio 1234 RTP/AVP 97<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'>a=rtpmap:97 L16/11025/2</span></font><font size=2
face="Bookman Old Style"><span style='font-size:11.0pt;font-family:"Bookman Old Style"'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Bookman Old Style"><span
style='font-size:11.0pt;font-family:"Bookman Old Style"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Bookman Old Style"><span
style='font-size:11.0pt;font-family:"Bookman Old Style"'>When I open this sdp
file with VLC, it fails to do so and ends up saying “VLC can’t
recognize the input format. Please look at log”<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Bookman Old Style"><span
style='font-size:11.0pt;font-family:"Bookman Old Style"'>The messages log rolls
with messages like these: <i><span style='font-style:italic'>Nothing to play
for <o:p></o:p></span></i></span></font></p>
<p class=MsoNormal><i><font size=2 face="Bookman Old Style"><span
style='font-size:11.0pt;font-family:"Bookman Old Style";font-style:italic'>Rtsp:///
the sdp file.<o:p></o:p></span></font></i></p>
<p class=MsoNormal><i><font size=2 face="Bookman Old Style"><span
style='font-size:11.0pt;font-family:"Bookman Old Style";font-style:italic'>Cannot
peek<o:p></o:p></span></font></i></p>
<p class=MsoNormal><i><font size=2 face="Bookman Old Style"><span
style='font-size:11.0pt;font-family:"Bookman Old Style";font-style:italic'>.<o:p></o:p></span></font></i></p>
<p class=MsoNormal><i><font size=2 face="Bookman Old Style"><span
style='font-size:11.0pt;font-family:"Bookman Old Style";font-style:italic'>.<o:p></o:p></span></font></i></p>
<p class=MsoNormal><i><font size=2 face="Bookman Old Style"><span
style='font-size:11.0pt;font-family:"Bookman Old Style";font-style:italic'>.cannot
peek<o:p></o:p></span></font></i></p>
<p class=MsoNormal><i><font size=2 face="Bookman Old Style"><span
style='font-size:11.0pt;font-family:"Bookman Old Style";font-style:italic'>No
suitable demux module for sdp <o:p></o:p></span></font></i></p>
<p class=MsoNormal><i><font size=2 face="Bookman Old Style"><span
style='font-size:11.0pt;font-family:"Bookman Old Style";font-style:italic'>Could
not create RTSP Session: Invalid SDP line:<o:p></o:p></span></font></i></p>
<p class=MsoNormal><font size=2 face="Bookman Old Style"><span
style='font-size:11.0pt;font-family:"Bookman Old Style"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Bookman Old Style"><span
style='font-size:11.0pt;font-family:"Bookman Old Style"'>This keeps repeating.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Bookman Old Style"><span
style='font-size:11.0pt;font-family:"Bookman Old Style"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Bookman Old Style"><span
style='font-size:11.0pt;font-family:"Bookman Old Style"'>I tried another sdp
file<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>v=0<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>o=root 1 1 IN IP4
192.168.0.166<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>s= audio dev<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>t=0 0<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>m=audio 1234 RTP/AVP 96<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'>a=rtpmap:96 mpa-robust/90000<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Bookman Old Style"><span
style='font-size:11.0pt;font-family:"Bookman Old Style"'>VLC seems to identify
mpa-robust and tries to convert the incoming stream to mpeg format and crashes
mid way. There is no audio. Nonetheless it identifies that there is some
payload of type 96. This confirms that the device successfully streams some
data to VLC.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Bookman Old Style"><span
style='font-size:11.0pt;font-family:"Bookman Old Style"'>But what I really want
VLC to do is identify the L16 format which is an established AVP (audio video
profile) format and play it out.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Bookman Old Style"><span
style='font-size:11.0pt;font-family:"Bookman Old Style"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Bookman Old Style"><span
style='font-size:11.0pt;font-family:"Bookman Old Style"'>I am guessing I just
have to get the sdp file right. Any suggestions?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Bookman Old Style"><span
style='font-size:11.0pt;font-family:"Bookman Old Style"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>N.Kartik<o:p></o:p></span></font></p>
</div>
</body>
</html>