<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>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        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:Arial;
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-GB link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Currently I am using ffmpeg apis to stream MP4 wirelessly using rtp.
e.g. using url_fopen(&oc->pb, rtp://<destIP>:<port>,
URL_WRONLY). I create an <b><span style='font-weight:bold'>sdp</span></b> <b><span
style='font-weight:bold'>file</span></b> using <b><span style='font-weight:
bold'>avf_sdp_create</span></b>() and on another PC I can use the <b><span
style='font-weight:bold'>sdp</span></b> <b><span style='font-weight:bold'>file</span></b>
(MP4.<b><span style='font-weight:bold'>sdp</span></b>) to view the stream on
VLC. <br>
<br>
What I want to be able to do is receive and decode this stream on another
computer using ffmpeg. I thought I would be able to do this with <b><span
style='font-weight:bold'>av_open_input_file</span></b>(&ic, “MP4.<b><span
style='font-weight:bold'>sdp</span></b>”, NULL, 0, ap) and then <b><span
style='font-weight:bold'>av_find_stream_info</span></b>(ic) however the only
data I have in ic->iformat is the name “<b><span style='font-weight:
bold'>sdp</span></b>”. <br>
<br>
Clearly I am doing something wrong, can anyone advise? I am of the thoughts
that I can only use rtsp with <b><span style='font-weight:bold'>av_open_input_file</span></b>,
if so how can I set this up at the server end? <br>
<br>
Any advice is appreciated. <br>
<br>
Thanks. <br>
<br>
<br>
v=0 <br>
o=- 0 0 IN IP4 127.0.0.1 <br>
s=No Name <br>
c=IN IP4 192.168.0.9 <br>
t=0 0 <br>
a=tool:libavformat 52.64.2 <br>
m=video 5004 RTP/<b><span style='font-weight:bold'>AVP</span></b> 96 <br>
b=AS:405 <br>
a=rtpmap:96 MP4V-ES/90000 <br>
a=fmtp:96 profile-level-id=1 </span></font><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

</div>

</body>

</html>